From e0e23c1fdf866b2a68abd58eb8cbb04fd65f16b8 Mon Sep 17 00:00:00 2001 From: Mohamed Ali Behiry Date: Mon, 19 Aug 2019 20:44:00 +0530 Subject: [PATCH] Improved Arabic translation (#4555) Credit to @mabehiry --- modules/system/lang/ar/lang.php | 4 +++ modules/system/lang/ar/validation.php | 36 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 modules/system/lang/ar/validation.php diff --git a/modules/system/lang/ar/lang.php b/modules/system/lang/ar/lang.php index c96d0ebc3..74814f6c7 100644 --- a/modules/system/lang/ar/lang.php +++ b/modules/system/lang/ar/lang.php @@ -48,4 +48,8 @@ return [ 'settings' => [ 'menu_label' => 'الإعدادات', ], + 'pagination' => [ + 'previous' => 'السابق', + 'next' => 'التالي', + ], ]; diff --git a/modules/system/lang/ar/validation.php b/modules/system/lang/ar/validation.php new file mode 100644 index 000000000..66b65799a --- /dev/null +++ b/modules/system/lang/ar/validation.php @@ -0,0 +1,36 @@ + ':attribute يجب أن يكون مقبولاً.', + 'active_url' => ':attribute ليس عنوان ويب صحيح.', + 'after' => ':attribute يجب أن يكون تاريخ بعد :date.', + 'after_or_equal' => ':attribute يجب أن يكون أكبر من أو يساوي :date.', + 'alpha' => ':attribute يجب أن يحتوي على حروف فقط.', + 'alpha_dash' => ':attribute يجب أن يحتوي على حروف وأرقام وعلامات خاصة.', + 'alpha_num' => ':attribute يجب أن يحتوي على حروف وأرقام فقط.', + 'array' => ':attribute يجب أن يكون مصفوفة.', + 'before' => ':attribute يجب أن يكون قبل تاريخ :date.', + 'before_or_equal' => ':attribute يجب أن يكون أكبر من أو يساوي :date.', + 'date' => ':attribute ليس تاريخ صحيح.', + 'date_format' => ':attribute لا يناسب صيغة التاريخ :format.', + 'distinct' => ':attribute به قيمة مكررة.', + 'email' => ':attribute يجب أن يكون بريد إلكتروني صحيح.', + 'filled' => ':attribute لا يمكن أن يكون فارغاً.', + 'required' => ':attribute مطلوب.', + 'string' => ':attribute يجب أن يكون نصاً.', + 'unique' => ':attribute موجود بالفعل.', + 'uploaded' => 'فشل تحميل :attribute.', + 'url' => 'صيغة عنوان :attribute غير صحيحة.', +];