mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-22 15:09:22 +01:00
Add french to the lang dialog
This commit is contained in:
parent
085dcea0e4
commit
0362b91ced
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,8 @@ final supportedLanguages = {
|
||||||
// sorted by alphabetic order of their ISO language names
|
// sorted by alphabetic order of their ISO language names
|
||||||
_AppLanguageEnum.english.index: AppLanguage(
|
_AppLanguageEnum.english.index: AppLanguage(
|
||||||
_AppLanguageEnum.english.index, "English", const Locale("en")),
|
_AppLanguageEnum.english.index, "English", const Locale("en")),
|
||||||
|
_AppLanguageEnum.french.index: AppLanguage(
|
||||||
|
_AppLanguageEnum.french.index, "français", const Locale("fr")),
|
||||||
_AppLanguageEnum.greek.index:
|
_AppLanguageEnum.greek.index:
|
||||||
AppLanguage(_AppLanguageEnum.greek.index, "ελληνικά", const Locale("el")),
|
AppLanguage(_AppLanguageEnum.greek.index, "ελληνικά", const Locale("el")),
|
||||||
_AppLanguageEnum.spanish.index: AppLanguage(
|
_AppLanguageEnum.spanish.index: AppLanguage(
|
||||||
|
@ -32,6 +34,7 @@ enum _AppLanguageEnum {
|
||||||
english,
|
english,
|
||||||
spanish,
|
spanish,
|
||||||
greek,
|
greek,
|
||||||
|
french,
|
||||||
}
|
}
|
||||||
|
|
||||||
AppLanguage _getSelectedLanguage(BuildContext context) {
|
AppLanguage _getSelectedLanguage(BuildContext context) {
|
||||||
|
|
Loading…
Reference in a new issue