|
|
|
@ -6,7 +6,7 @@ import 'dart:ui';
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart' show AssetLoader;
|
|
|
|
import 'package:easy_localization/easy_localization.dart' show AssetLoader;
|
|
|
|
|
|
|
|
|
|
|
|
class CodegenLoader extends AssetLoader{
|
|
|
|
class CodegenLoader extends AssetLoader {
|
|
|
|
const CodegenLoader();
|
|
|
|
const CodegenLoader();
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
@ -14,7 +14,7 @@ class CodegenLoader extends AssetLoader{
|
|
|
|
return Future.value(mapLocales[locale.toString()]);
|
|
|
|
return Future.value(mapLocales[locale.toString()]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const Map<String,dynamic> ar_SA = {
|
|
|
|
static const Map<String, dynamic> ar_SA = {
|
|
|
|
"firstTimeLogIn": "تسجيل الدخول لأول مره",
|
|
|
|
"firstTimeLogIn": "تسجيل الدخول لأول مره",
|
|
|
|
"signUp": "التسجيل",
|
|
|
|
"signUp": "التسجيل",
|
|
|
|
"changeMobile": "تغيير رقم الجوال",
|
|
|
|
"changeMobile": "تغيير رقم الجوال",
|
|
|
|
@ -98,11 +98,7 @@ class CodegenLoader extends AssetLoader{
|
|
|
|
"msg_named": "{} are written in the {lang} language",
|
|
|
|
"msg_named": "{} are written in the {lang} language",
|
|
|
|
"clickMe": "انقر فوق لي",
|
|
|
|
"clickMe": "انقر فوق لي",
|
|
|
|
"profile": {
|
|
|
|
"profile": {
|
|
|
|
"reset_password": {
|
|
|
|
"reset_password": {"label": "إعادة تعيين كلمة المرور", "username": "اسم المستخدم", "password": "كلمة المرور"}
|
|
|
|
"label": "إعادة تعيين كلمة المرور",
|
|
|
|
|
|
|
|
"username": "اسم المستخدم",
|
|
|
|
|
|
|
|
"password": "كلمة المرور"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"clicked": {
|
|
|
|
"clicked": {
|
|
|
|
"zero": "You clicked {} times!",
|
|
|
|
"zero": "You clicked {} times!",
|
|
|
|
@ -112,21 +108,11 @@ class CodegenLoader extends AssetLoader{
|
|
|
|
"many": "You clicked {} times!",
|
|
|
|
"many": "You clicked {} times!",
|
|
|
|
"other": "You clicked {} times!"
|
|
|
|
"other": "You clicked {} times!"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"amount": {
|
|
|
|
"amount": {"zero": "Your amount : {} ", "one": "Your amount : {} ", "two": "Your amount : {} ", "few": "Your amount : {} ", "many": "Your amount : {} ", "other": "Your amount : {} "},
|
|
|
|
"zero": "Your amount : {} ",
|
|
|
|
|
|
|
|
"one": "Your amount : {} ",
|
|
|
|
|
|
|
|
"two": "Your amount : {} ",
|
|
|
|
|
|
|
|
"few": "Your amount : {} ",
|
|
|
|
|
|
|
|
"many": "Your amount : {} ",
|
|
|
|
|
|
|
|
"other": "Your amount : {} "
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"gender": {
|
|
|
|
"gender": {
|
|
|
|
"male": "Hi man ;) ",
|
|
|
|
"male": "Hi man ;) ",
|
|
|
|
"female": "Hello girl :)",
|
|
|
|
"female": "Hello girl :)",
|
|
|
|
"with_arg": {
|
|
|
|
"with_arg": {"male": "Hi man ;) {}", "female": "Hello girl :) {}"}
|
|
|
|
"male": "Hi man ;) {}",
|
|
|
|
|
|
|
|
"female": "Hello girl :) {}"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"reset_locale": "إعادة ضبط اللغة",
|
|
|
|
"reset_locale": "إعادة ضبط اللغة",
|
|
|
|
"welcomeDes": "أنت مكان واحد لكل ما تحتاجه سيارتك",
|
|
|
|
"welcomeDes": "أنت مكان واحد لكل ما تحتاجه سيارتك",
|
|
|
|
@ -583,10 +569,10 @@ class CodegenLoader extends AssetLoader{
|
|
|
|
"logOut": "تسجيل الخروج",
|
|
|
|
"logOut": "تسجيل الخروج",
|
|
|
|
"customer": "العميل",
|
|
|
|
"customer": "العميل",
|
|
|
|
"accept": "قبول",
|
|
|
|
"accept": "قبول",
|
|
|
|
"requestAlreadyInProgress": "هذا الطلب قيد التقدم بالفعل."
|
|
|
|
"requestAlreadyInProgress": "هذا الطلب قيد التقدم بالفعل.",
|
|
|
|
"amountVAR": "كمية"
|
|
|
|
"amountVAR": "كمية"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
static const Map<String,dynamic> en_US = {
|
|
|
|
static const Map<String, dynamic> en_US = {
|
|
|
|
"firstTimeLogIn": "First Time Log In",
|
|
|
|
"firstTimeLogIn": "First Time Log In",
|
|
|
|
"signUp": "Sign Up",
|
|
|
|
"signUp": "Sign Up",
|
|
|
|
"changeMobile": "Change Mobile",
|
|
|
|
"changeMobile": "Change Mobile",
|
|
|
|
@ -670,11 +656,7 @@ static const Map<String,dynamic> en_US = {
|
|
|
|
"msg_named": "{} are written in the {lang} language",
|
|
|
|
"msg_named": "{} are written in the {lang} language",
|
|
|
|
"clickMe": "Click me",
|
|
|
|
"clickMe": "Click me",
|
|
|
|
"profile": {
|
|
|
|
"profile": {
|
|
|
|
"reset_password": {
|
|
|
|
"reset_password": {"label": "Reset Password", "username": "Username", "password": "password"}
|
|
|
|
"label": "Reset Password",
|
|
|
|
|
|
|
|
"username": "Username",
|
|
|
|
|
|
|
|
"password": "password"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"clicked": {
|
|
|
|
"clicked": {
|
|
|
|
"zero": "You clicked {} times!",
|
|
|
|
"zero": "You clicked {} times!",
|
|
|
|
@ -684,21 +666,11 @@ static const Map<String,dynamic> en_US = {
|
|
|
|
"many": "You clicked {} times!",
|
|
|
|
"many": "You clicked {} times!",
|
|
|
|
"other": "You clicked {} times!"
|
|
|
|
"other": "You clicked {} times!"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"amount": {
|
|
|
|
"amount": {"zero": "Your amount : {} ", "one": "Your amount : {} ", "two": "Your amount : {} ", "few": "Your amount : {} ", "many": "Your amount : {} ", "other": "Your amount : {} "},
|
|
|
|
"zero": "Your amount : {} ",
|
|
|
|
|
|
|
|
"one": "Your amount : {} ",
|
|
|
|
|
|
|
|
"two": "Your amount : {} ",
|
|
|
|
|
|
|
|
"few": "Your amount : {} ",
|
|
|
|
|
|
|
|
"many": "Your amount : {} ",
|
|
|
|
|
|
|
|
"other": "Your amount : {} "
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"gender": {
|
|
|
|
"gender": {
|
|
|
|
"male": "Hi man ;) ",
|
|
|
|
"male": "Hi man ;) ",
|
|
|
|
"female": "Hello girl :)",
|
|
|
|
"female": "Hello girl :)",
|
|
|
|
"with_arg": {
|
|
|
|
"with_arg": {"male": "Hi man ;) {}", "female": "Hello girl :) {}"}
|
|
|
|
"male": "Hi man ;) {}",
|
|
|
|
|
|
|
|
"female": "Hello girl :) {}"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"reset_locale": "Reset Language",
|
|
|
|
"reset_locale": "Reset Language",
|
|
|
|
"welcomeDes": "You one stop place all your car needs",
|
|
|
|
"welcomeDes": "You one stop place all your car needs",
|
|
|
|
@ -1156,8 +1128,8 @@ static const Map<String,dynamic> en_US = {
|
|
|
|
"logOut": "Log Out",
|
|
|
|
"logOut": "Log Out",
|
|
|
|
"customer": "Customer",
|
|
|
|
"customer": "Customer",
|
|
|
|
"accept": "Accept",
|
|
|
|
"accept": "Accept",
|
|
|
|
"amountVAR": "Amount"
|
|
|
|
"amountVAR": "Amount",
|
|
|
|
"requestAlreadyInProgress": "This request is already in progress."
|
|
|
|
"requestAlreadyInProgress": "This request is already in progress."
|
|
|
|
};
|
|
|
|
};
|
|
|
|
static const Map<String, Map<String,dynamic>> mapLocales = {"ar_SA": ar_SA, "en_US": en_US};
|
|
|
|
static const Map<String, Map<String, dynamic>> mapLocales = {"ar_SA": ar_SA, "en_US": en_US};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|