รวม code แก้ไข OP 3138, 3141, 2736, 2654
This commit is contained in:
26
wwwroot/lib/jquery.calendars/js/jquery.calendars-ur.js
Normal file
26
wwwroot/lib/jquery.calendars/js/jquery.calendars-ur.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/* http://keith-wood.name/calendars.html
|
||||
Urdu localisation for Gregorian/Julian calendars for jQuery.
|
||||
Mansoor Munib -- mansoormunib@gmail.com <http://www.mansoor.co.nr/mansoor.html>
|
||||
Thanks to Habib Ahmed, ObaidUllah Anwar. */
|
||||
(function($) {
|
||||
'use strict';
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions.ur = {
|
||||
name: 'Gregorian',
|
||||
epochs: ['BCE', 'CE'],
|
||||
monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جون',
|
||||
'جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],
|
||||
monthNamesShort: ['1','2','3','4','5','6',
|
||||
'7','8','9','10','11','12'],
|
||||
dayNames: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
|
||||
dayNamesShort: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
|
||||
dayNamesMin: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
|
||||
digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '۴', '۵', '۶', '۷', '٨', '٩']),
|
||||
dateFormat: 'dd/mm/yyyy',
|
||||
firstDay: 0,
|
||||
isRTL: true
|
||||
};
|
||||
if ($.calendars.calendars.julian) {
|
||||
$.calendars.calendars.julian.prototype.regionalOptions.ur =
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions.ur;
|
||||
}
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user