Skip to content

Commit

Permalink
update: fix issue on pipeline about CodegenLoader class and file ge…
Browse files Browse the repository at this point in the history
…nerations
  • Loading branch information
= committed Jan 31, 2025
1 parent ac651db commit 1c468eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/src/core/utils/gen/localization/codegen_loader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import 'dart:ui' show Locale;
/// - `frFR`: French translations.
/// - `esES`: Spanish translations.
///
// ignore_for_file: lines_longer_than_80_chars
class CodegenLoader {
const CodegenLoader();

Expand All @@ -33,8 +34,7 @@ class CodegenLoader {
'switch_language': 'Switch language',
'applications': 'Applications',
'welcome_title': 'Welcome to the Future of Blockchain with Pactus!',
'welcome_description':
'Where the future of blockchain unfolds with trust and transparency in every transaction. Join us in shaping a decentralized revolution!',
'welcome_description': 'Where the future of blockchain unfolds with trust and transparency in every transaction. Join us in shaping a decentralized revolution!',
'start_button_text': 'Get Started',
};
static const Map<String, dynamic> frFR = {
Expand All @@ -44,8 +44,7 @@ class CodegenLoader {
'switch_language': 'Changer de langue',
'applications': 'Applications',
'welcome_title': 'Bienvenue dans le futur de la Blockchain avec Pactus!',
'welcome_description':
'Là où lavenir de la blockchain se dévoile avec confiance et transparence dans chaque transaction. Rejoignez-nous pour façonner une révolution décentralisée!',
'welcome_description': 'Là où lavenir de la blockchain se dévoile avec confiance et transparence dans chaque transaction. Rejoignez-nous pour façonner une révolution décentralisée!',
'start_button_text': 'Commencer',
};
static const Map<String, dynamic> esES = {
Expand All @@ -55,8 +54,7 @@ class CodegenLoader {
'switch_language': 'Cambiar idioma',
'applications': 'Applications',
'welcome_title': 'Bienvenido al futuro de la cadena de bloques con Pactus!',
'welcome_description':
'Donde el futuro de la cadena de bloques se desarrolla con confianza y transparencia en cada transacción. Únase a nosotros para dar forma a una revolución descentralizada!',
'welcome_description': 'Donde el futuro de la cadena de bloques se desarrolla con confianza y transparencia en cada transacción. Únase a nosotros para dar forma a una revolución descentralizada!',
'start_button_text': 'Empezar',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Future<void> _generateCodegenLoaderFile(
..writeln('/// - `frFR`: French translations.')
..writeln('/// - `esES`: Spanish translations.')
..writeln('///')
..writeln('// ignore_for_file: lines_longer_than_80_chars')
..writeln('class CodegenLoader {')
..writeln(' const CodegenLoader();')
..writeln()
Expand Down

0 comments on commit 1c468eb

Please sign in to comment.