From 84ac8cdad7bcfe3bcb6da55f8f115bef4275d326 Mon Sep 17 00:00:00 2001 From: FaizHashmiCS22 Date: Wed, 22 Mar 2023 16:44:31 +0300 Subject: [PATCH] Added Assets and AppType Enum --- assets/langs/ar-SA.json | 15 +- assets/langs/en-US.json | 73 ++++--- lib/classes/consts.dart | 16 ++ lib/generated/codegen_loader.g.dart | 26 ++- lib/generated/locale_keys.g.dart | 8 +- lib/main.dart | 4 +- lib/theme/app_theme.dart | 4 +- lib/utils/enums.dart | 2 + lib/view_models/base_view_model.dart | 7 +- lib/widgets/extensions/extensions_widget.dart | 15 ++ pubspec.yaml | 2 + resources/ar-SA.json | 183 ------------------ resources/en-US.json | 183 ------------------ 13 files changed, 133 insertions(+), 405 deletions(-) delete mode 100644 resources/ar-SA.json delete mode 100644 resources/en-US.json diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json index 4d542b6..7796e9e 100644 --- a/assets/langs/ar-SA.json +++ b/assets/langs/ar-SA.json @@ -134,5 +134,18 @@ "resend_code": "أعد إرسال الرمز", "check_code": "التحقق من الشفرة", "time_will_expire": "إعادة إرسال الرمز بتنسيق", - "sec" : "ثانية" + "sec" : "ثانية", + "providers": "الموفرون", + "appointments": "تعيينات", + "home": "بيت", + "ads": "إعلانات", + "settings": "إعدادات", + "view_all": "مشاهدة الكل", + "my_active_Ads" : "إعلاناتي النشطة", + "recommended_ads": "الإعلانات الموصى بها", + "upcoming_appointment": "الموعد القادم", + "my_service_providers": "مزودي الخدمة الجدد", + "appointment_details": "تفاصيل الموعد", + + } \ No newline at end of file diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json index ae3143e..94d85d7 100644 --- a/assets/langs/en-US.json +++ b/assets/langs/en-US.json @@ -1,5 +1,5 @@ { - "firstTimeLogIn" : "First Time Log In", + "firstTimeLogIn": "First Time Log In", "signUp": "Sign Up", "changeMobile": "Change Mobile", "notifications": "Notifications", @@ -7,7 +7,7 @@ "defineLicences": "Define Licences", "dealershipSettings": "Dealership Settings", "changePassword": "Change Password", - "retrievePassword" : "Retrieve Password", + "retrievePassword": "Retrieve Password", "changeEmail": "Change Email", "verify": "Verify", "verified": "Verified", @@ -35,45 +35,45 @@ "editAccount": "Edit Account", "change": "Change", "verifyAccount": "Verify Account", - "login" : "Log In", - "welcomeMessage" : "Welcome Message", + "login": "Log In", + "welcomeMessage": "Welcome Message", "forgetPass": "Forget Password ?", "phoneNumberVerified": "Phone Number Verified", "verifyNewPassword": "Verify New Password", "EnterPass": "Enter Password ?", "alreadySigned": " Already Signed Up and Logged In", "emailChangedSuccessfully": "Email is Changed Successfully", - "passwordIsUpdated" : "Password is Updated", - "passwordShouldContains" : "Password Should contains Character, Number, Capital and small letters,", - " successfullyRegistered": " Successfully Registered, Please login once,", - "pleaseEnterSamePassword" : "Please enter same password", - "firstNameMandatory" : "First name is mandatory", - "surnameNameMandatory" : "Surname is mandatory", - "passwordNameMandatory" : "Password is mandatory", - "enterValidEmail" : "Enter Valid Email", - "pleaseAcceptTerms" : "Please accept terms", - "emailVerified" : "Email is verified successfully", - "selectMethod" : "Select Method", - "emailAddress" : "Email Address", - "loginSelection" : "Login Selection", - "selectCountryCode" : "Please select Country Code", - "selectProviderRole" : "Please select Provider Role", - "addPhoneNo" : "Please add Phone No", + "passwordIsUpdated": "Password is Updated", + "passwordShouldContains": "Password Should contains Character, Number, Capital and small letters,", + " successfullyRegistered": " Successfully Registered, Please login once,", + "pleaseEnterSamePassword": "Please enter same password", + "firstNameMandatory": "First name is mandatory", + "surnameNameMandatory": "Surname is mandatory", + "passwordNameMandatory": "Password is mandatory", + "enterValidEmail": "Enter Valid Email", + "pleaseAcceptTerms": "Please accept terms", + "emailVerified": "Email is verified successfully", + "selectMethod": "Select Method", + "emailAddress": "Email Address", + "loginSelection": "Login Selection", + "selectCountryCode": "Please select Country Code", + "selectProviderRole": "Please select Provider Role", + "addPhoneNo": "Please add Phone No", "onlyCustomerApp": "Sorry, Only Customer's can log in this app", - "imageUploaded" : "Image is uploaded", - "fileLarger" : "File is larger then 1KB", - "account" : "Account", - "edit" : "EDIT", - "imageDeleted" : "Image is Deleted", - "dashboard" : "Dashboard/Main Page", - "termsOfService":"By creating an account you agree to our", + "imageUploaded": "Image is uploaded", + "fileLarger": "File is larger then 1KB", + "account": "Account", + "edit": "EDIT", + "imageDeleted": "Image is Deleted", + "dashboard": "Dashboard/Main Page", + "termsOfService": "By creating an account you agree to our", "userInformation": "User Information", "faceRecognition": "Face Recognition", - "fingerPrint" : "Finger Print", + "fingerPrint": "Finger Print", "whatsapp": "With Whatsapp", "SMS": "With SMS", - "selectRole" : "Select Role", - "userRoleOrTitle" : "User role or title", + "selectRole": "Select Role", + "userRoleOrTitle": "User role or title", "codeSentToEmail": "Code is sent to email", "number": "Number", "english": "عربي", @@ -134,5 +134,16 @@ "resend_code": "Resend Code", "check_code": "Check Code", "time_will_expire": "Resend code in", - "sec" : "sec" + "sec": "sec", + "providers": "Providers", + "appointments": "Appointments", + "home": "Home", + "ads": "Ads", + "settings": "Settings", + "view_all": "view all", + "my_active_Ads": "My Active Ads", + "recommended_ads": "Recommended Ads", + "upcoming_appointment": "Upcoming Appointment", + "my_service_providers": "My Recent Service Providers", + "appointment_details": "Appointment Details" } \ No newline at end of file diff --git a/lib/classes/consts.dart b/lib/classes/consts.dart index f08f443..c6c8b3d 100644 --- a/lib/classes/consts.dart +++ b/lib/classes/consts.dart @@ -1,3 +1,6 @@ +import 'package:flutter/cupertino.dart'; +import 'package:mc_common_app/generated/codegen_loader.g.dart'; + class ApiConsts { // static String baseUrl = "http://10.200.204.20:2801/"; // Local server static String baseUrl = "https://ms.hmg.com/"; // production server @@ -78,3 +81,16 @@ RegExp numReg = RegExp(r".*[0-9].*"); RegExp letterReg = RegExp(r".*[A-Za-z].*"); +class MyLocales { + static const List supportedLocales = [Locale('ar', 'SA'), Locale('en', 'US')]; + + static const Locale startLocale = Locale('en', 'US'); + static const Locale fallBackLocale = Locale('en', 'US'); + static const CodegenLoader assetLoader = CodegenLoader(); + static String assetsPath = "assets/langs"; +} + +class MyFonts { + + static const poppinsFont = "Poppins"; +} diff --git a/lib/generated/codegen_loader.g.dart b/lib/generated/codegen_loader.g.dart index 85fd4ca..2bf0a3e 100644 --- a/lib/generated/codegen_loader.g.dart +++ b/lib/generated/codegen_loader.g.dart @@ -150,7 +150,18 @@ class CodegenLoader extends AssetLoader{ "resend_code": "أعد إرسال الرمز", "check_code": "التحقق من الشفرة", "time_will_expire": "إعادة إرسال الرمز بتنسيق", - "sec": "ثانية" + "sec": "ثانية", + "providers": "الموفرون", + "appointments": "تعيينات", + "home": "بيت", + "ads": "إعلانات", + "settings": "إعدادات", + "view_all": "مشاهدة الكل", + "my_active_Ads": "إعلاناتي النشطة", + "recommended_ads": "الإعلانات الموصى بها", + "upcoming_appointment": "الموعد القادم", + "my_service_providers": "مزودي الخدمة الجدد", + "appointment_details": "تفاصيل الموعد" }; static const Map en_US = { "firstTimeLogIn": "First Time Log In", @@ -288,7 +299,18 @@ static const Map en_US = { "resend_code": "Resend Code", "check_code": "Check Code", "time_will_expire": "Resend code in", - "sec": "sec" + "sec": "sec", + "providers": "Providers", + "appointments": "Appointments", + "home": "Home", + "ads": "Ads", + "settings": "Settings", + "view_all": "view all", + "my_active_Ads": "My Active Ads", + "recommended_ads": "Recommended Ads", + "upcoming_appointment": "Upcoming Appointment", + "my_service_providers": "My Recent Service Providers", + "appointment_details": "Appointment Details" }; static const Map> mapLocales = {"ar_SA": ar_SA, "en_US": en_US}; } diff --git a/lib/generated/locale_keys.g.dart b/lib/generated/locale_keys.g.dart index fbbf4a1..6b2c80b 100644 --- a/lib/generated/locale_keys.g.dart +++ b/lib/generated/locale_keys.g.dart @@ -115,10 +115,16 @@ abstract class LocaleKeys { static const check_code = 'check_code'; static const time_will_expire = 'time_will_expire'; static const sec = 'sec'; - static const home = 'home'; static const providers = 'providers'; static const appointments = 'appointments'; + static const home = 'home'; static const ads = 'ads'; static const settings = 'settings'; + static const view_all = 'view_all'; + static const my_active_Ads = 'my_active_Ads'; + static const recommended_ads = 'recommended_ads'; + static const upcoming_appointment = 'upcoming_appointment'; + static const my_service_providers = 'my_service_providers'; + static const appointment_details = 'appointment_details'; } diff --git a/lib/main.dart b/lib/main.dart index 9ad34b6..6467460 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -6,6 +6,7 @@ import 'package:flutter/material.dart'; import 'package:mc_common_app/classes/app_state_cm.dart'; import 'package:mc_common_app/classes/app_state_cm.dart'; import 'package:mc_common_app/classes/app_state_cm.dart'; +import 'package:mc_common_app/classes/consts.dart'; import 'package:mc_common_app/theme/app_theme.dart'; import 'package:injector/injector.dart'; @@ -81,7 +82,8 @@ class MyApp extends StatelessWidget { // key: navigatorKey, navigatorKey: navigatorKey, theme: AppTheme.getTheme( - EasyLocalization.of(context)?.locale.languageCode == "ar", + isArabic: EasyLocalization.of(context)?.locale.languageCode == "ar", + englishFont: MyFonts.poppinsFont, ), debugShowCheckedModeBanner: false, localizationsDelegates: delegates, diff --git a/lib/theme/app_theme.dart b/lib/theme/app_theme.dart index e2a070c..6f32f57 100644 --- a/lib/theme/app_theme.dart +++ b/lib/theme/app_theme.dart @@ -3,8 +3,8 @@ import 'package:flutter/material.dart'; import 'colors.dart'; class AppTheme { - static getTheme(isArabic) => ThemeData( - fontFamily: !isArabic ? "Poppins" : null, + static getTheme({required isArabic, String? englishFont}) => ThemeData( + fontFamily: !isArabic ? englishFont : null, primaryColor: primaryColor, primaryTextTheme: const TextTheme( titleLarge: TextStyle(color: Colors.white), diff --git a/lib/utils/enums.dart b/lib/utils/enums.dart index cf27602..70b1712 100644 --- a/lib/utils/enums.dart +++ b/lib/utils/enums.dart @@ -27,3 +27,5 @@ enum LoginType { SILENT_LOGIN, SILENT_WITH_OTP, } + +enum AppType { provider, customer } diff --git a/lib/view_models/base_view_model.dart b/lib/view_models/base_view_model.dart index 90d2f96..030b322 100644 --- a/lib/view_models/base_view_model.dart +++ b/lib/view_models/base_view_model.dart @@ -1,4 +1,3 @@ - import 'package:flutter/cupertino.dart'; import '../utils/enums.dart'; @@ -11,6 +10,12 @@ class BaseVM extends ChangeNotifier { String error = ""; + AppType currentAppType = AppType.provider; + + void setAppType(AppType appType) { + currentAppType = appType; + } + void setOnlyState(ViewState viewState) { _state = viewState; } diff --git a/lib/widgets/extensions/extensions_widget.dart b/lib/widgets/extensions/extensions_widget.dart index 669c9d9..8802162 100644 --- a/lib/widgets/extensions/extensions_widget.dart +++ b/lib/widgets/extensions/extensions_widget.dart @@ -1,6 +1,9 @@ +import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; +import 'package:mc_common_app/classes/consts.dart'; import 'package:mc_common_app/theme/colors.dart'; +import 'package:provider/provider.dart'; extension ExtendedText on Widget { showOverlay({double? width, double? height}) { @@ -282,3 +285,15 @@ extension BuildSVG on String { ); } } + +extension LocaleSetup on MultiProvider { + Widget setupLocale() { + return EasyLocalization( + supportedLocales: MyLocales.supportedLocales, + fallbackLocale: MyLocales.fallBackLocale, + startLocale: MyLocales.startLocale, + assetLoader: MyLocales.assetLoader, + path: MyLocales.assetsPath, + child: this); + } +} diff --git a/pubspec.yaml b/pubspec.yaml index 7a2d993..d2cfd50 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,6 +32,7 @@ dependencies: hexcolor: ^2.0.4 cached_network_image: any url_launcher: ^6.1.7 + carousel_slider: ^4.2.1 # google @@ -55,6 +56,7 @@ flutter: - assets/langs/ - assets/icons/ - assets/images/ + - assets/fonts/ fonts: - family: Poppins diff --git a/resources/ar-SA.json b/resources/ar-SA.json deleted file mode 100644 index 9a1099b..0000000 --- a/resources/ar-SA.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "firstTimeLogIn": "تسجيل الدخول لأول مره", - "signUp": "التسجيل", - "changeMobile": "تغيير رقم الجوال", - "notifications": "الاشعارات", - "general": "عام", - "defineLicences": "تحديد الرخص", - "dealershipSettings": "اعدادات البيع", - "changePassword": "تغيير كلمة المرور", - "retrievePassword": "استرجاع كلمة المرور", - "changeEmail": "تغيير الايميل", - "verify": "تحقق", - "verified": "تم التحقق", - "signOut": "تسجيل خروج", - "enterEmail": "ادخل الايميل", - "enterNewEmail": "ادخل ايميل جديد", - "enterCurrentPassword": "كلمة المرور الحاليه", - "enterNewPassword": "كلمة المرور الجديده", - "enterOldPassword": "كلمة المرور القديمه", - "confirm": "تأكيد", - "enterNewPhoneNumber": "رقم جوال جديد", - "completeProfile": "الملف الشخصي", - "continu": "استمرار", - "confirmPassword": "تأكيد كلمة المرور", - "createPassword": "انشاء كلمة مرور جديده", - "email": "ايميل", - "firstName": "الأسم الأول *", - "surname": "اسم العائله *", - "confirmPass": "تأكيد كلمة المرور *", - "createPass": "انشاء كلمة مرور جديده *", - "newPassword": " كلمة مرور جديده", - "forgetPassword": "نسيت كلمة المرور", - "forgetPasswordQ": "نسيت كلمة المرور؟", - "recover": "استعادة", - "forgetPasswordRecover": "نسيت كلمة المرور؟ استعادة", - "editAccount": "تعديل الحساب", - "change": "تغيير", - "verifyAccount": "التحقق من الحساب", - "login": "تسجيل دخول", - "log_in": "تسجيل الدخول", - "welcomeMessage": "مرحبا", - "welcomeDes": "أنت مكان واحد لكل ما تحتاجه سيارتك", - "forgetPass": "نسيت كلمة المرور ؟", - "enterPhoneNumber": "رقم جوال ", - "phoneNumberVerified": "تم التحقق من الجوال", - "verifyNewPassword": "التحقق من كلمة المرور", - "EnterPass": "ادخل كلمة المرور", - "send": "إرسال", - "retrivePassword": "استرجع كلمة المرور بإحدى الطرق التالية", - "retriveOnPhone": "سوف نرسل الاختيار إلى رقم هاتفك المحمول المسجل", - "retriveOnEmail": "سوف نرسل الاختيار إلى عنوان بريدك الإلكتروني المسجل", - "enterPhoneForVerfication": "الرجاء إدخال رقم هاتفك وسنرسل لك رمز التحقق", - "selectYourCountry": "اختر بلدك", - "welcomeBack": "مرحبًا بعودتك!!!", - "alreadySigned": " تم تسجيل الدخول", - "emailChangedSuccessfully": "تم تغيير الايميل بنجاح", - "passwordIsUpdated": "تم تحجيث كلمة المرور", - "passwordShouldContains": "كلمة المرور يجب ان تحتوي على رمز رقم حرف كبير حرف صغير", - " successfullyRegistered": "تم التسجيل بنجاح", - "pleaseEnterSamePassword": "ادخل كلمة مرور مطابقه", - "firstNameMandatory": "ادخل الأسم الأول ", - "surnameNameMandatory": "ادخل اسم العائله", - "passwordNameMandatory": "ادخل كلمة المرور", - "enterValidEmail": "ادخل ايميل صحيح", - "pleaseAcceptTerms": "يجب الموافقه على الشروط", - "emailVerified": "تم التحقق من الايميل بنجاح", - "selectMethod": "اختر", - "emailAddress": "ايميل", - "loginSelection": "اختر", - "selectCountryCode": "اختر رمز الدوله", - "selectProviderRole": "اختر نوع الخدمه", - "addPhoneNo": "اضف الهاتف", - "onlyProviderApp": "نأسف هذا التطبيق فقط لمقدمي الخدمات", - "imageUploaded": "تم تحميل الصوره", - "fileLarger": "1KB حجم الملف اكبر من", - "account": "الحساب", - "edit": "تعديل", - "imageDeleted": "تم حذف الصوره", - "dashboard": "الصفحه الرئيسيه", - "pickAddress": "اختر العنوان", - "pickLocation": "اختر الموقع", - "save": "حفظ", - "defineServices": "تحديد الخدمات", - "selectBranch ": "اختر الفرع", - "selectServiceCategory": "اختر فئة الخدمة", - "defineBranches": "تحديد الفروع", - "defineProviders": "تحديد الموفرين", - "closeAccount": "اغلاق الحساب", - "createBranch": "انشاء فرع", - "updateBranch": "فرع التحديث", - "address": "العنوان", - "branchDescription": "وصف الفرع", - "branchName": "اسم الفرع", - "chooseCity": "اختر المدينه", - "chooseCountry": "اختر الدوله", - "selectAttachment": "اختيار مرفق", - "somethingWrong": "هناك خطأ ما", - "documentsUploaded": "تم ارفاق الملف بنجاح", - "update": "تحديث", - "termsOfService": "من خلال إنشاء حساب فإنك توافق على", - "terms": "بنود الخدمة وخصوصية السياسة", - "profileMsg": "أدخل التفاصيل أدناه وأكمل معلومات الملف الشخصي", - "branchInfo": "معلومات الفرع و الخدمات", - "profileCompleted": "الملف الشخصي مكتمل", - "selectLocationMap": "اختر الموقع", - "licensesAndCertifications": "الرخص و الشهادات", - "completeProfile1": "اكمل الملف الشخصي 1/3", - "completeProfile2": "اكمل الملف الشخصي 2/3", - "completeProfile3": "اكمل الملف الشخصي 3/3", - "userInformation": "معلومات المتسخدم", - "faceRecognition": "تحقق مع بصمة الوجه", - "fingerPrint": "تحقق مع بصمة الاصبع", - "whatsapp": "تحقق مع Whatsapp", - "SMS": "رسائل قصيره", - "selectRole": "حدد الدور", - "userRoleOrTitle": "عنوان المستخدم", - "codeSentToEmail": "تم ارسال الرمز للايميل", - "number": "موبايل", - "phoneNumber": "رقم الهاتف", - "english": "English", - "provider": "Provider", - "title": "Hello", - "msg": "Hello {} in the {} world ", - "msg_named": "{} are written in the {lang} language", - "clickMe": "Click me", - "profile": { - "reset_password": { - "label": "Reset Password", - "username": "Username", - "password": "password" - } - }, - "clicked": { - "zero": "You clicked {} times!", - "one": "You clicked {} time!", - "two": "You clicked {} times!", - "few": "You clicked {} times!", - "many": "You clicked {} times!", - "other": "You clicked {} times!" - }, - "amount": { - "zero": "Your amount : {} ", - "one": "Your amount : {} ", - "two": "Your amount : {} ", - "few": "Your amount : {} ", - "many": "Your amount : {} ", - "other": "Your amount : {} " - }, - "gender": { - "male": "Hi man ;) ", - "female": "Hello girl :)", - "with_arg": { - "male": "Hi man ;) {}", - "female": "Hello girl :) {}" - } - }, - "reset_locale": "Reset Language", - "insert_otp_code": "ادخل الرمز", - "type_code": "الرجاء كتابة الرمز الذي أرسلناه إلى", - "resend_code": "أعد إرسال الرمز", - "check_code": "التحقق من الشفرة", - "time_will_expire": "إعادة إرسال الرمز بتنسيق", - "sec" : "ثانية", - "no_city_available": "لا توجد مدينة متاحة لهذا البلد", - "branch_created": "تم إنشاء الفرع بنجاح", - "branch_updated": "تم تحديث الفرع بنجاح", - "branch_deleted": "تم حذف الفرع بنجاح", - "dashboard_main": "لوحة القيادة / الصفحة الرئيسية", - "logo_brand": "الشعار / العلامة التجارية", - "remove": "إزالة", - "no_branch": "لم يتم إضافة فرع حتى الآن", - "login_once": "الرجاء تسجيل الدخول مرة واحدة", - "defineLicenese": "تحميل التراخيص والشهادات", - "description": "وصف", - "attachFile": "أرفق ملف", - "branchLocation": "معلومات الفرع والموقع", - "tapToEdit": "انقر للتعديل", - "myServiceBranches": "فروع خدمتي", - "enter_licence_detail": "الرجاء إدخال تفاصيل السجلات التجارية وإرفاق صور الترخيص", - "country": "بلد", - "city": "مدينة", - "editServices": "تحرير الخدمات" -} diff --git a/resources/en-US.json b/resources/en-US.json deleted file mode 100644 index 6eb9fc0..0000000 --- a/resources/en-US.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "firstTimeLogIn": "First Time Log In", - "signUp": "Register", - "changeMobile": "Change Mobile", - "notifications": "Notifications", - "general": "General", - "defineLicences": "Register Licences", - "dealershipSettings": "Dealership Settings", - "changePassword": "Change Password", - "retrievePassword": "Retrieve Password", - "changeEmail": "Change Email", - "verify": "Verify", - "verified": "Verified", - "signOut": "Sign Out", - "enterEmail": "Enter Email and Password", - "enterNewEmail": "Enter New Email", - "enterNewPassword": "Enter New Password", - "enterCurrentPassword": "Enter Current Password", - "enterOldPassword": "Enter Old Password", - "confirm": "Confirm", - "completeProfile": "Complete Profile", - "enterNewPhoneNumber": "Enter New Phone Number", - "enterPhoneNumber": "Enter the login credentials", - "continu": "Continue", - "confirmPassword": "Confirm Password", - "createPassword": "Create Password", - "email": "Email", - "firstName": "First Name *", - "surname": "Surname *", - "confirmPass": "Confirm Password *", - "createPass": "Create Password *", - "newPassword": "New Password", - "forgetPassword": "Forget Password", - "forgetPasswordQ": "Forget Password?", - "recover": "Recover", - "forgetPasswordRecover": "Forget Password? Recover", - "editAccount": "Edit Account", - "change": "Change", - "verifyAccount": "Verify Account", - "login": "Login", - "log_in": "Log In", - "welcomeMessage": "Welcome To Mowater", - "welcomeDes": "You one stop place all your car needs", - "forgetPass": "Forget Password ?", - "phoneNumberVerified": "Phone Number Verified", - "verifyNewPassword": "Verify New Password", - "send": "Send", - "EnterPass": "Enter Password ?", - "retrivePassword": "Retrive password by one of following method", - "retriveOnPhone": "We will send the opt to your registered mobile number", - "retriveOnEmail": "We will send the opt to your registered email address", - "enterPhoneForVerfication": "Please enter your phone number We will send you the verification code", - "selectYourCountry": "Select Your Country", - "welcomeBack": "Welcome Back!!!", - "alreadySigned": " Already Signed Up and Logged In", - "emailChangedSuccessfully": "Email is Changed Successfully", - "passwordIsUpdated": "Password is Updated", - "passwordShouldContains": "Password Should contains Character, Number, Capital and small letters,", - " successfullyRegistered": " Successfully Registered, Please login once,", - "pleaseEnterSamePassword": "Please enter same password", - "firstNameMandatory": "First name is mandatory", - "surnameNameMandatory": "Surname is mandatory", - "passwordNameMandatory": "Password is mandatory", - "enterValidEmail": "Enter Valid Email", - "pleaseAcceptTerms": "Please accept terms", - "emailVerified": "Email is verified successfully", - "selectMethod": "Select Method", - "emailAddress": "Email Address", - "loginSelection": "Login Selection", - "selectCountryCode": "Please select Country Code", - "selectProviderRole": "Please select Provider Role", - "addPhoneNo": "Please add Phone No", - "onlyCustomerApp": "Sorry, Only Customer's can log in this app", - "imageUploaded": "Image is uploaded", - "fileLarger": "File is larger then 1KB", - "account": "Account", - "edit": "EDIT", - "imageDeleted": "Image is Deleted", - "dashboard": "Dashboard/Main Page", - "pickAddress": "Pick Address", - "pickLocation": "Pick Location", - "save": "Save", - "defineServices": "Define Services", - "selectBranch ": "Select Branch ", - "selectServiceCategory": "Select Service Category", - "defineBranches": "Define Branches", - "defineProviders": "Define Providers", - "closeAccount": "Close Account", - "createBranch": "Create Branch", - "updateBranch": "Update Branch", - "address": "Address", - "branchDescription": "Branch Description", - "branchName": "Branch Name", - "chooseCity": "Select City", - "chooseCountry": "Choose Country", - "selectAttachment": "Select Attachment", - "somethingWrong": "Something went wrong", - "documentsUploaded": "Documents uploaded successfully", - "update": "Update", - "termsOfService": "By creating an account you agree to our", - "terms": "Terms of Service and Privacy Policy", - "profileMsg": "Enter the details below and complete the profile info", - "branchInfo": "Branch Info and Services", - "profileCompleted": "Profile is Completed", - "selectLocationMap": "Select Location Map", - "licensesAndCertifications": "licenses & certifications", - "completeProfile1": "Complete Profile 1/3", - "completeProfile2": "Complete Profile 2/3", - "completeProfile3": "Complete Profile 3/3", - "userInformation": "User Information", - "provider": "Provider", - "faceRecognition": "Face Recognition", - "fingerPrint": "Finger Print", - "whatsapp": "With Whatsapp", - "SMS": "With SMS", - "selectRole": "Choose Role", - "userRoleOrTitle": "User role or title", - "codeSentToEmail": "Code is sent to email", - "number": "Number", - "phoneNumber": "Phone Number", - "english": "عربي", - "title": "Hello", - "msg": "Hello {} in the {} world ", - "msg_named": "{} are written in the {lang} language", - "clickMe": "Click me", - "profile": { - "reset_password": { - "label": "Reset Password", - "username": "Username", - "password": "password" - } - }, - "clicked": { - "zero": "You clicked {} times!", - "one": "You clicked {} time!", - "two": "You clicked {} times!", - "few": "You clicked {} times!", - "many": "You clicked {} times!", - "other": "You clicked {} times!" - }, - "amount": { - "zero": "Your amount : {} ", - "one": "Your amount : {} ", - "two": "Your amount : {} ", - "few": "Your amount : {} ", - "many": "Your amount : {} ", - "other": "Your amount : {} " - }, - "gender": { - "male": "Hi man ;) ", - "female": "Hello girl :)", - "with_arg": { - "male": "Hi man ;) {}", - "female": "Hello girl :) {}" - } - }, - "reset_locale": "Reset Language", - "insert_otp_code": "Enter the code", - "type_code": "Please type the code we sent to", - "resend_code": "Resend Code", - "check_code": "Check Code", - "time_will_expire": "Resend code in", - "sec" : "sec", - "no_city_available": "No City Available for this country", - "branch_created": "Branch is successfully created", - "branch_updated": "Branch is successfully Updated", - "branch_deleted": "Branch is successfully Deleted", - "dashboard_main": "Dashboard/Main Page", - "logo_brand": "Logo/Brand", - "remove": "Remove", - "no_branch": "No Branch Added Yet", - "login_once": "Please login once", - "defineLicenese": "Upload Licenses and Certificates", - "description": "Description", - "attachFile": "Attach File", - "branchLocation": "Branch info and Location", - "tapToEdit": "Tap to edit", - "myServiceBranches": "My Service Branches", - "enter_licence_detail": "Please enter the detail for commercial records and attach the license images", - "country": "country", - "city": "city", - "editServices": "Edit Services" -}