aboutsummaryrefslogtreecommitdiff
path: root/vendors/jquery/i18n/jquery.ui.datepicker-ar.js
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-08-26 01:29:50 -0700
committerEvan Winslow <evan@elgg.org>2012-08-26 01:29:50 -0700
commitb9dec14a7a7476b64722c3815e77b3b226c05e72 (patch)
treea7d737682f559d8fe5482e4609c2645e91a7a369 /vendors/jquery/i18n/jquery.ui.datepicker-ar.js
parent80b75e049dabbf1318fe58d80e957f334faa9a76 (diff)
parentf2cc620bd4aead5af6d4348789b432e51d48aadd (diff)
downloadelgg-b9dec14a7a7476b64722c3815e77b3b226c05e72.tar.gz
elgg-b9dec14a7a7476b64722c3815e77b3b226c05e72.tar.bz2
Merge pull request #362 from sembrestels/datepicker-i18n
Datepicker i18n
Diffstat (limited to 'vendors/jquery/i18n/jquery.ui.datepicker-ar.js')
-rw-r--r--vendors/jquery/i18n/jquery.ui.datepicker-ar.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendors/jquery/i18n/jquery.ui.datepicker-ar.js b/vendors/jquery/i18n/jquery.ui.datepicker-ar.js
new file mode 100644
index 000000000..8a9218d8b
--- /dev/null
+++ b/vendors/jquery/i18n/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: '&#x3c;السابق',
+ nextText: 'التالي&#x3e;',
+ 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']);
+}); \ No newline at end of file