2013-01-31 15:31:27 +00:00
|
|
|
/* Arabic Translation for jQuery UI date picker plugin. */
|
2014-05-11 20:30:07 +00:00
|
|
|
/* Used in most of Arab countries, primarily in Bahrain, Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */
|
|
|
|
/* Written by Mohammed Alshehri -- m@dralshehri.com */
|
|
|
|
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-07-15 01:58:04 +00:00
|
|
|
define([ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
datepicker.regional['ar'] = {
|
|
|
|
closeText: 'إغلاق',
|
|
|
|
prevText: '<السابق',
|
|
|
|
nextText: 'التالي>',
|
|
|
|
currentText: 'اليوم',
|
2014-05-11 20:30:07 +00:00
|
|
|
monthNames: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
|
|
|
|
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
2014-02-19 11:55:50 +00:00
|
|
|
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
2014-05-11 20:30:07 +00:00
|
|
|
dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
2014-02-19 11:55:50 +00:00
|
|
|
dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
|
|
|
weekHeader: 'أسبوع',
|
|
|
|
dateFormat: 'dd/mm/yy',
|
2014-05-11 20:30:07 +00:00
|
|
|
firstDay: 0,
|
2014-02-19 11:55:50 +00:00
|
|
|
isRTL: true,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
|
|
|
datepicker.setDefaults(datepicker.regional['ar']);
|
|
|
|
|
|
|
|
return datepicker.regional['ar'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
}));
|