diff --git a/changelog.txt b/changelog.txt index 103481c..5bc1dbb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/localization/messages_ar.js b/localization/messages_ar.js new file mode 100644 index 0000000..71e97a8 --- /dev/null +++ b/localization/messages_ar.js @@ -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}") +}); +