summaryrefslogtreecommitdiff
path: root/jqueryui/js/i18n/jquery.ui.datepicker-ar.js
diff options
context:
space:
mode:
Diffstat (limited to 'jqueryui/js/i18n/jquery.ui.datepicker-ar.js')
-rw-r--r--jqueryui/js/i18n/jquery.ui.datepicker-ar.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/jqueryui/js/i18n/jquery.ui.datepicker-ar.js b/jqueryui/js/i18n/jquery.ui.datepicker-ar.js
new file mode 100644
index 0000000..cab1dc1
--- /dev/null
+++ b/jqueryui/js/i18n/jquery.ui.datepicker-ar.js
@@ -0,0 +1,25 @@
+/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */
+/* 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']);
+});
+/* @license-end */