diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:38:22 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:38:22 -0800 |
commit | 69736a139a14ee8cb2a439b34d64f964a0519a03 (patch) | |
tree | 1ea14bc2aeae52c2fea54adde609806f89bfc7ac /inc/lang/ar | |
parent | 8f8f057a71acccc5537691d6437a3651e68a2ebc (diff) | |
parent | 4d4058eec6b089a303975dfd71f16fd42f55f11b (diff) | |
download | rpg-69736a139a14ee8cb2a439b34d64f964a0519a03.tar.gz rpg-69736a139a14ee8cb2a439b34d64f964a0519a03.tar.bz2 |
Merge pull request #503 from splitbrain/datepickerlocale
localize jQuery UI date picker FS#2912
Diffstat (limited to 'inc/lang/ar')
-rw-r--r-- | inc/lang/ar/jquery.ui.datepicker.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/inc/lang/ar/jquery.ui.datepicker.js b/inc/lang/ar/jquery.ui.datepicker.js new file mode 100644 index 000000000..cef0f08fd --- /dev/null +++ b/inc/lang/ar/jquery.ui.datepicker.js @@ -0,0 +1,23 @@ +/* Arabic Translation for jQuery UI date picker plugin. */ +/* Khaled Alhourani -- me@khaledalhourani.com */ +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ +jQuery(function($){ + $.datepicker.regional['ar'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar']); +}); |