datepicker-ar.js
37 lines
| 1.5 KiB
| application/javascript
|
JavascriptLexer
|
r9886 | /* 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 */ | ||||
|
r13052 | (function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||||
// AMD. Register as an anonymous module. | ||||
define([ "../datepicker" ], factory ); | ||||
} else { | ||||
// Browser globals | ||||
factory( jQuery.datepicker ); | ||||
} | ||||
}(function( datepicker ) { | ||||
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']); | ||||
return datepicker.regional['ar']; | ||||
})); | ||||