diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 152efd57f6964ea114e60d9836dac135ce9fe3f3..0a8ab6c2528efa197068d50706f32fd65b0ff562 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -46,11 +46,13 @@ <string>ast</string> <string>en</string> <string>es</string> + <string>eu</string> <string>fr</string> <string>ca</string> <string>gl</string> <string>de</string> <string>nl</string> + <string>it</string> <string>pt</string> </array> <key>LSApplicationQueriesSchemes</key> diff --git a/lib/custom_feedback_localization.dart b/lib/custom_feedback_localization.dart index 2ab37e046ab19ba8b88fdaf198ffd25970443c58..b53b721b29aebbc864f15ea9db3af297f4e2cb78 100644 --- a/lib/custom_feedback_localization.dart +++ b/lib/custom_feedback_localization.dart @@ -22,14 +22,16 @@ class CustomFeedbackLocalizationsDelegate @override // ignore: overridden_fields final Map<Locale, FeedbackLocalizations> supportedLocales = - <Locale, FeedbackLocalizations>{ + <Locale, FeedbackLocalizations>{ const Locale('es', 'AST'): CustomFeedbackLocalizations(), const Locale('ca'): CustomFeedbackLocalizations(), const Locale('de'): CustomFeedbackLocalizations(), const Locale('en'): CustomFeedbackLocalizations(), const Locale('es'): CustomFeedbackLocalizations(), + const Locale('eu'): CustomFeedbackLocalizations(), const Locale('fr'): CustomFeedbackLocalizations(), const Locale('gl'): CustomFeedbackLocalizations(), + const Locale('it'): CustomFeedbackLocalizations(), const Locale('nl'): CustomFeedbackLocalizations(), const Locale('pt'): CustomFeedbackLocalizations(), }; diff --git a/lib/main.dart b/lib/main.dart index f3008452168d4d731cc06fb59baa7453373340c3..242efd52df4312710c1750be545d801258549fb8 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -108,8 +108,10 @@ void main() async { Locale('de'), Locale('en'), Locale('es'), + Locale('eu'), Locale('fr'), Locale('gl'), + Locale('it'), Locale('nl'), Locale('pt'), ], diff --git a/lib/ui/screens/fifth_screen.dart b/lib/ui/screens/fifth_screen.dart index 6c6de02068eefbf24971cf8c7bde82bc3f39ece6..f976d940d850407d377122b11124698795d09ff6 100644 --- a/lib/ui/screens/fifth_screen.dart +++ b/lib/ui/screens/fifth_screen.dart @@ -104,6 +104,10 @@ class _FifthScreenState extends State<FifthScreen> { value: Locale('es'), child: Text('Español'), ), + DropdownMenuItem<Locale>( + value: Locale('eu'), + child: Text('Euskara'), + ), DropdownMenuItem<Locale>( value: Locale('fr'), child: Text('Français'), @@ -116,6 +120,10 @@ class _FifthScreenState extends State<FifthScreen> { value: Locale('nl'), child: Text('Nederlands'), ), + DropdownMenuItem<Locale>( + value: Locale('it'), + child: Text('Italiano'), + ), DropdownMenuItem<Locale>( value: Locale('pt'), child: Text('Português'),