mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2026-06-12 15:37:05 +02:00
Added arabic localization
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
1.6
|
||||
---
|
||||
* Added Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
|
||||
* Added Arabic (AR), Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
|
||||
* Updated Swedish (SE) localization (some missing html iso characters)
|
||||
* Fixed $.validator.addMethod to properly handle empty string vs. undefined for the message argument
|
||||
* Fixed two accidental global variables
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Translated default messages for the jQuery validation plugin into arabic.
|
||||
* Locale: AR
|
||||
*/
|
||||
jQuery.extend(jQuery.validator.messages, {
|
||||
required: "هذا الحقل إلزامي",
|
||||
remote: "يرجى تصحيح هذا الحقل للمتابعة",
|
||||
email: "رجاء إدخال عنوان بريد إلكتروني صحيح",
|
||||
url: "رجاء إدخال عنوان موقع إلكتروني صحيح",
|
||||
date: "رجاء إدخال تاريخ صحيح",
|
||||
dateISO: "رجاء إدخال تاريخ صحيح (ISO)",
|
||||
number: "رجاء إدخال عدد بطريقة صحيحة",
|
||||
digits: "رجاء إدخال أرقام فقط",
|
||||
creditcard: "رجاء إدخال رقم بطاقة ائتمان صحيح",
|
||||
equalTo: "رجاء إدخال نفس القيمة",
|
||||
accept: "رجاء إدخال ملف بامتداد موافق عليه",
|
||||
maxlength: jQuery.validator.format("الحد الأقصى لعدد الحروف هو {0}"),
|
||||
minlength: jQuery.validator.format("الحد الأدنى لعدد الحروف هو {0}"),
|
||||
rangelength: jQuery.validator.format("عدد الحروف يجب أن يكون بين {0} و {1}"),
|
||||
range: jQuery.validator.format("رجاء إدخال عدد قيمته بين {0} و {1}"),
|
||||
max: jQuery.validator.format("رجاء إدخال عدد أقل من أو يساوي (0}"),
|
||||
min: jQuery.validator.format("رجاء إدخال عدد أكبر من أو يساوي (0}")
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user