-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathjquery.datepick-ar.js
More file actions
30 lines (29 loc) · 1.79 KB
/
jquery.datepick-ar.js
File metadata and controls
30 lines (29 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* http://keith-wood.name/datepick.html
Arabic localisation for jQuery Datepicker.
Mahmoud Khaled -- mahmoud.khaled@badrit.com
NOTE: monthNames are the new months names */
(function($) {
$.datepicker.regional['ar'] = {
monthNames: ['يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونية',
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
dayNamesMin: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
dateFormat: 'dd/mm/yyyy', firstDay: 6,
renderer: $.datepicker.defaultRenderer,
prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
prevJumpText: '<<', prevJumpStatus: '',
nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
nextJumpText: '>>', nextJumpStatus: '',
currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
isRTL: true
};
$.datepicker.setDefaults($.datepicker.regional['ar']);
})(jQuery);