-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
MOKTADIR
authored and
MOKTADIR
committed
Mar 6, 2023
1 parent
78c2739
commit ebfd07b
Showing
8 changed files
with
124 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
import '../strings_enum.dart'; | ||
|
||
final Map<String, String> arAR = | ||
{ | ||
Strings.hello : 'مرحباً!', | ||
Strings.loading : 'جاري التحميل', | ||
final Map<String, String> arAR = { | ||
///API EXCEPTIONS | ||
Strings.requestCanceled: "تم إلغاء الطلب!", | ||
Strings.connectionTimeout: "انتهى وقت محاولة الاتصال!", | ||
Strings.receiveTimeout: "مهلة الاستلام!", | ||
Strings.sendTimeout: "مهلة الإرسال!", | ||
Strings.connectionProblem: "مشكلة في الاتصال!", | ||
Strings.somethingWrong: "هناك خطأ ما!", | ||
Strings.badRequest: "اقتراح غير جيد", | ||
Strings.urlIncorrect: "عنوان Api Url غير صحيح", | ||
Strings.internalServerError: "خطأ في الخادم الداخلي", | ||
|
||
Strings.changeTheme : 'تغيير الثيم', | ||
Strings.changeLanguage : 'تغيير اللغة', | ||
|
||
Strings.noInternetConnection : 'لا يوجد إتصال بالإنترنت', | ||
Strings.serverNotResponding : 'لا يوجد إستجابة من السيرفر!', | ||
Strings.someThingWentWorng : 'حدث خطأ غير متوقع!', | ||
Strings.apiNotFound : 'الرابط الذي تحاول الوصول اليه غير موجود!', | ||
Strings.serverError : 'مشكلة من السيرفر', | ||
/// | ||
Strings.changeTheme: 'تغيير الثيم', | ||
Strings.changeLanguage: 'تغيير اللغة', | ||
Strings.oops: "أُووبس!", | ||
Strings.okay: "تمام", | ||
Strings.refresh: "ينعش!", | ||
Strings.empty: "فارغة أو لا توجد بيانات!", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
import '../strings_enum.dart'; | ||
|
||
const Map<String, String> enUs = { | ||
Strings.hello : 'Hello!', | ||
Strings.loading : 'Loading', | ||
|
||
Strings.changeTheme : 'Change theme', | ||
Strings.changeLanguage : 'Change language', | ||
|
||
Strings.noInternetConnection : 'No internet connection!', | ||
Strings.serverNotResponding : 'Server is not responding!', | ||
Strings.someThingWentWorng : 'Something went wrong', | ||
Strings.apiNotFound : 'Route not found!', | ||
Strings.serverError : 'Server error', | ||
///API EXCEPTIONS | ||
Strings.requestCanceled: "Request cancelled!", | ||
Strings.connectionTimeout: "Connection timeout!", | ||
Strings.receiveTimeout: "Receive timeout!", | ||
Strings.sendTimeout: "Send timeout!", | ||
Strings.connectionProblem: "Connection problem!", | ||
Strings.somethingWrong: "Something went wrong!", | ||
Strings.badRequest: "Bad request", | ||
Strings.urlIncorrect: "Api Url Incorrect", | ||
Strings.internalServerError: "Internal Server Error", | ||
|
||
/// | ||
Strings.changeTheme: 'Change theme', | ||
Strings.changeLanguage: 'Change language', | ||
Strings.oops: "Oops!", | ||
Strings.okay: "Okay", | ||
Strings.refresh: "refresh!", | ||
Strings.empty: "Empty or No data!", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
class Strings { | ||
static const String hello = 'hello'; | ||
static const String loading = 'loading'; | ||
|
||
/// API EXCEPTIONS | ||
static const String requestCanceled = "Request cancelled!"; | ||
static const String connectionTimeout = "Connection timeout!"; | ||
static const String receiveTimeout = "Receive timeout!"; | ||
static const String sendTimeout = "Send timeout!"; | ||
static const String connectionProblem = "Connection problem!"; | ||
static const String somethingWrong = "Something went wrong!"; | ||
static const String badRequest = "Bad request"; | ||
static const String urlIncorrect = "Api Url Incorrect"; | ||
static const String internalServerError = "Internal Server Error"; | ||
|
||
/// | ||
static const String changeTheme = 'change_theme'; | ||
static const String changeLanguage = 'change_language'; | ||
|
||
|
||
static const String noInternetConnection = 'no internet connection'; | ||
static const String serverNotResponding = 'server not responding'; | ||
static const String someThingWentWorng = 'something went wrong'; | ||
static const String apiNotFound = 'api not found'; | ||
static const String serverError = 'Server errro'; | ||
static const String oops = "Oops!"; | ||
static const String okay = "Okay"; | ||
static const String refresh = "refresh!"; | ||
static const String empty = "Empty or No data!"; | ||
} |