mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Enable pt translation
This commit is contained in:
parent
1a2c1d9517
commit
f8c25800a1
2 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,8 @@ final supportedLanguages = {
|
|||
_AppLanguageEnum.greek.index, "ελληνικά", "Greek", const Locale("el")),
|
||||
_AppLanguageEnum.polish.index: AppLanguage(
|
||||
_AppLanguageEnum.polish.index, "język polski", "Polish", const Locale("pl")),
|
||||
_AppLanguageEnum.portuguese.index: AppLanguage(
|
||||
_AppLanguageEnum.portuguese.index, "Português", "Portuguese", const Locale("pt")),
|
||||
_AppLanguageEnum.russian.index: AppLanguage(
|
||||
_AppLanguageEnum.russian.index, "русский", "Russian", const Locale("ru")),
|
||||
_AppLanguageEnum.spanish.index: AppLanguage(
|
||||
|
@ -49,6 +51,7 @@ enum _AppLanguageEnum {
|
|||
czech,
|
||||
finnish,
|
||||
polish,
|
||||
portuguese,
|
||||
}
|
||||
|
||||
AppLanguage _getSelectedLanguage() {
|
||||
|
|
|
@ -92,6 +92,7 @@ class _MyAppState extends State<MyApp> implements SnackBarHandler {
|
|||
Locale("cs"),
|
||||
Locale("fi"),
|
||||
Locale("pl"),
|
||||
Locale("pt"),
|
||||
],
|
||||
builder: (context, child) {
|
||||
MyApp._globalContext = context;
|
||||
|
|
Loading…
Reference in a new issue