aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcherif <cherif@cherif.(none)>2011-01-15 21:23:02 +0100
committerScott González <scott.gonzalez@gmail.com>2011-01-19 10:15:44 -0500
commitcf622cacd61238e2f5882e9988f47539a860c42e (patch)
treeaf1a674e3db39da0128f53b5b159a4ad82d8f660
parent0ed452bf2581a83781c417dffe6ed4e3dbe2d676 (diff)
downloadjquery-ui-cf622cacd61238e2f5882e9988f47539a860c42e.tar.gz
jquery-ui-cf622cacd61238e2f5882e9988f47539a860c42e.zip
Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
(cherry picked from commit fcf8c2631c8e3d78b1565af856cb44ca6bc21b60)
-rw-r--r--ui/i18n/jquery.ui.datepicker-ar-DZ.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/i18n/jquery.ui.datepicker-ar-DZ.js b/ui/i18n/jquery.ui.datepicker-ar-DZ.js
new file mode 100644
index 000000000..089208dfa
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-ar-DZ.js
@@ -0,0 +1,24 @@
+/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/
+/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
+/* NOTE: monthNames maybe original names are in jquery.ui.datepicker-ar.js, but we must use the months that we know here in North Africa which is جانفي فيفري they look like French months in arabic way but the rest is ok. More information for months in arabic http://en.wikipedia.org/wiki/Arabic_names_of_calendar_months*/
+
+jQuery(function($){
+ $.datepicker.regional['ar-DZ'] = {
+ 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-DZ']);
+});