|
|
/*
|
|
|
* World Calendars
|
|
|
* https://github.com/alexcjohnson/world-calendars
|
|
|
*
|
|
|
* Batch-converted from kbwood/calendars
|
|
|
* Many thanks to Keith Wood and all of the contributors to the original project!
|
|
|
*
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
*/
|
|
|
|
|
|
/* http://keith-wood.name/calendars.html
|
|
|
Arabic localisation for Gregorian/Julian calendars for jQuery.
|
|
|
Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.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 */
|
|
|
var main = require('../main');
|
|
|
var _gregorian = main.calendars.gregorian;
|
|
|
var _julian = main.calendars.julian;
|
|
|
|
|
|
_gregorian.prototype.regionalOptions['ar'] = {
|
|
|
name: 'Gregorian',
|
|
|
epochs: ['BCE', 'CE'],
|
|
|
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
|
|
|
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
|
|
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
|
|
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
|
|
dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
|
|
digits: main.substituteDigits(['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩']),
|
|
|
dateFormat: 'dd/mm/yyyy',
|
|
|
firstDay: 6,
|
|
|
isRTL: true
|
|
|
};
|
|
|
if (_julian) {
|
|
|
_julian.prototype.regionalOptions['ar'] =
|
|
|
_gregorian.prototype.regionalOptions['ar'];
|
|
|
}
|
|
|
|