Enable Turkish

This commit is contained in:
Ming Ming 2024-04-12 01:25:15 +08:00
parent 6474aa2f1c
commit 44e6447fe8

View file

@ -68,6 +68,8 @@ final supportedLanguages = {
_AppLanguageEnum.russian.index, "Русский", "Russian", const Locale("ru")), _AppLanguageEnum.russian.index, "Русский", "Russian", const Locale("ru")),
_AppLanguageEnum.spanish.index: AppLanguage( _AppLanguageEnum.spanish.index: AppLanguage(
_AppLanguageEnum.spanish.index, "Español", "Spanish", const Locale("es")), _AppLanguageEnum.spanish.index, "Español", "Spanish", const Locale("es")),
_AppLanguageEnum.turkish.index: AppLanguage(
_AppLanguageEnum.turkish.index, "Türkçe", "Turkish", const Locale("tr")),
}; };
enum _AppLanguageEnum { enum _AppLanguageEnum {
@ -88,6 +90,7 @@ enum _AppLanguageEnum {
italian, italian,
dutch, dutch,
catalan, catalan,
turkish,
} }
AppLanguage _getSelectedLanguage() { AppLanguage _getSelectedLanguage() {