mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Enable the new russian translation
This commit is contained in:
parent
6f29f44c85
commit
26d45b5c32
2 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,8 @@ final supportedLanguages = {
|
|||
_AppLanguageEnum.french.index, "français", const Locale("fr")),
|
||||
_AppLanguageEnum.greek.index:
|
||||
AppLanguage(_AppLanguageEnum.greek.index, "ελληνικά", const Locale("el")),
|
||||
_AppLanguageEnum.russian.index: AppLanguage(
|
||||
_AppLanguageEnum.russian.index, "русский", const Locale("ru")),
|
||||
_AppLanguageEnum.spanish.index: AppLanguage(
|
||||
_AppLanguageEnum.spanish.index, "Español", const Locale("es")),
|
||||
};
|
||||
|
@ -35,6 +37,7 @@ enum _AppLanguageEnum {
|
|||
spanish,
|
||||
greek,
|
||||
french,
|
||||
russian,
|
||||
}
|
||||
|
||||
AppLanguage _getSelectedLanguage(BuildContext context) {
|
||||
|
|
|
@ -64,6 +64,7 @@ class _MyAppState extends State<MyApp> implements SnackBarHandler {
|
|||
Locale("el"),
|
||||
Locale("es"),
|
||||
Locale("fr"),
|
||||
Locale("ru"),
|
||||
],
|
||||
debugShowCheckedModeBanner: false,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue