TF-1581 Support language Italian
This commit is contained in:
+2
@@ -16,6 +16,8 @@ extension LocaleExtension on Locale {
|
||||
return AppLocalizations.of(context).languageRussian;
|
||||
case 'ar':
|
||||
return AppLocalizations.of(context).languageArabic;
|
||||
case 'it':
|
||||
return AppLocalizations.of(context).languageItalian;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2023-03-10T13:53:08.023350",
|
||||
"@@last_modified": "2023-03-10T14:00:31.546227",
|
||||
"initializing_data": "Initializing data...",
|
||||
"@initializing_data": {
|
||||
"type": "text",
|
||||
@@ -1578,6 +1578,12 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageItalian": "Italian",
|
||||
"@languageItalian": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"messageDialogSendEmailUploadingAttachment": "Your message could not be sent because it uploading attachment",
|
||||
"@messageDialogSendEmailUploadingAttachment": {
|
||||
"type": "text",
|
||||
|
||||
@@ -1609,6 +1609,12 @@ class AppLocalizations {
|
||||
name: 'languageArabic');
|
||||
}
|
||||
|
||||
String get languageItalian {
|
||||
return Intl.message(
|
||||
'Italian',
|
||||
name: 'languageItalian');
|
||||
}
|
||||
|
||||
String get messageDialogSendEmailUploadingAttachment {
|
||||
return Intl.message(
|
||||
'Your message could not be sent because it uploading attachment',
|
||||
|
||||
@@ -15,7 +15,8 @@ class LocalizationService extends Translations {
|
||||
'en',
|
||||
'vi',
|
||||
'ru',
|
||||
'ar'
|
||||
'ar',
|
||||
'it'
|
||||
];
|
||||
|
||||
static const List<Locale> supportedLocales = [
|
||||
@@ -23,7 +24,8 @@ class LocalizationService extends Translations {
|
||||
Locale('en', 'US'),
|
||||
Locale('vi', 'VN'),
|
||||
Locale('ru', 'RU'),
|
||||
Locale('ar', 'TN')
|
||||
Locale('ar', 'TN'),
|
||||
Locale('it', 'IT')
|
||||
];
|
||||
|
||||
static final locale = _getLocaleFromLanguage();
|
||||
|
||||
Reference in New Issue
Block a user