Skip to content

Commit

Permalink
chore: flutter, dart bump, fix crash caused localization context (#231)
Browse files Browse the repository at this point in the history
* chore: flutter, dart bump, fix crash

* update Spanish localization
  • Loading branch information
minikin authored Feb 7, 2024
1 parent c69de9a commit 55b76b6
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 31 deletions.
2 changes: 0 additions & 2 deletions catalyst_voices/lib/app/view/app_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ final class AppContent extends StatelessWidget {

@override
Widget build(BuildContext context) {
final l10n = context.l10n;
return BlocListener<AuthenticationBloc, AuthenticationState>(
listener: (context, state) {},
child: MaterialApp.router(
Expand All @@ -29,7 +28,6 @@ final class AppContent extends StatelessWidget {
supportedLocales: VoicesLocalizations.supportedLocales,
localeListResolutionCallback: basicLocaleListResolution,
routerConfig: _routeConfig(context),
title: l10n.homeScreenText,
theme: ThemeData(
brightness: Brightness.dark,
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
catalyst_voices_assets:
Expand Down
4 changes: 2 additions & 2 deletions catalyst_voices/packages/catalyst_voices_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions catalyst_voices/packages/catalyst_voices_blocs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
bloc: ^8.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ class VoicesLocalizationsEs extends VoicesLocalizations {
String get emailErrorText => '[email protected]';

@override
String get passwordLabelText => 'Password';
String get passwordLabelText => 'Contraseña';

@override
String get passwordHintText => 'My1SecretPassword';
String get passwordHintText => 'Mi1ContraseñaSecreta';

@override
String get passwordErrorText => 'Password must be at least 8 characters long';
String get passwordErrorText => 'La contraseña debe tener al menos 8 caracteres';

@override
String get loginTitleText => 'Login';
String get loginTitleText => 'Acceso';

@override
String get loginButtonText => 'Login';
String get loginButtonText => 'Acceso';

@override
String get loginScreenErrorMessage => 'Credenciales incorrectas';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"@@locale": "es",
"loginScreenUsernameLabelText": "Nombre de usuario",
"loginScreenPasswordLabelText": "Contraseña",
"emailLabelText": "Email",
"emailHintText": "[email protected]",
"emailErrorText": "[email protected]",
"passwordLabelText": "Contraseña",
"passwordHintText": "Mi1ContraseñaSecreta",
"passwordErrorText": "La contraseña debe tener al menos 8 caracteres",
"loginTitleText": "Acceso",
"loginButtonText": "Acceso",
"loginScreenErrorMessage": "Credenciales incorrectas",
"loginScreenLoginButtonText": "Acceso",
"homeScreenLoginButtonText": "Catalyst Voices - Inicio 🇪🇸"
"homeScreenText": "Catalyst Voices"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
sdk: ">=3.2.6 <4.0.0"

dependencies:
equatable: ^2.0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
catalyst_voices_models:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: none

environment:
sdk: '>=3.2.1 <4.0.0'
flutter: 3.16.5
flutter: 3.16.9

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.2.3 <4.0.0"
flutter: 3.16.5
sdk: ">=3.2.6 <4.0.0"
flutter: 3.16.9

dependencies:
equatable: ^2.0.5
Expand Down
2 changes: 1 addition & 1 deletion catalyst_voices/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: none

environment:
sdk: '>=3.2.1 <4.0.0'
flutter: 3.16.5
flutter: 3.16.9

dependencies:
animations: ^2.0.11
Expand Down
4 changes: 2 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ command:
workspaceChangelog: true
bootstrap:
environment:
sdk: '>=3.2.5 <4.0.0'
flutter: 3.16.8
sdk: '>=3.2.6 <4.0.0'
flutter: 3.16.9
dependencies:
bloc_concurrency: ^0.2.2
bloc: ^8.1.2
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ environment:
sdk: '>=3.2.1 <4.0.0'

dev_dependencies:
melos: ^3.2.3
melos: ^3.2.6

0 comments on commit 55b76b6

Please sign in to comment.