diff options
author | Felix Nagel <info@felixnagel.com> | 2013-02-09 03:29:10 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-02-09 03:29:10 +0100 |
commit | a7b4f29cea06607264c2ba98cd93f4e039cce5bd (patch) | |
tree | 1ac9e210ce8fd16a85cb1d3283983475b27437ed /demos/datepicker/jquery.ui.datepicker-ar.js | |
parent | b81bb0b983687b1efc09577bf128b8a5b7aa5d7b (diff) | |
parent | ab408c9b82430e7a65a9269441cc0c0e2af95770 (diff) | |
download | jquery-ui-a7b4f29cea06607264c2ba98cd93f4e039cce5bd.tar.gz jquery-ui-a7b4f29cea06607264c2ba98cd93f4e039cce5bd.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'demos/datepicker/jquery.ui.datepicker-ar.js')
-rw-r--r-- | demos/datepicker/jquery.ui.datepicker-ar.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/demos/datepicker/jquery.ui.datepicker-ar.js b/demos/datepicker/jquery.ui.datepicker-ar.js new file mode 100644 index 000000000..cef0f08fd --- /dev/null +++ b/demos/datepicker/jquery.ui.datepicker-ar.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']); +}); |