mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
347c7c4db1
Make code identation consistent with every other source.
74 lines
1.3 KiB
JavaScript
74 lines
1.3 KiB
JavaScript
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
|
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
|
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
|
(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['fa'] = {
|
|
closeText: 'بستن',
|
|
prevText: '<قبلی',
|
|
nextText: 'بعدی>',
|
|
currentText: 'امروز',
|
|
monthNames: [
|
|
'فروردين',
|
|
'ارديبهشت',
|
|
'خرداد',
|
|
'تير',
|
|
'مرداد',
|
|
'شهريور',
|
|
'مهر',
|
|
'آبان',
|
|
'آذر',
|
|
'دی',
|
|
'بهمن',
|
|
'اسفند'
|
|
],
|
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
|
dayNames: [
|
|
'يکشنبه',
|
|
'دوشنبه',
|
|
'سهشنبه',
|
|
'چهارشنبه',
|
|
'پنجشنبه',
|
|
'جمعه',
|
|
'شنبه'
|
|
],
|
|
dayNamesShort: [
|
|
'ی',
|
|
'د',
|
|
'س',
|
|
'چ',
|
|
'پ',
|
|
'ج',
|
|
'ش'
|
|
],
|
|
dayNamesMin: [
|
|
'ی',
|
|
'د',
|
|
'س',
|
|
'چ',
|
|
'پ',
|
|
'ج',
|
|
'ش'
|
|
],
|
|
weekHeader: 'هف',
|
|
dateFormat: 'yy/mm/dd',
|
|
firstDay: 6,
|
|
isRTL: true,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['fa']);
|
|
|
|
return datepicker.regional['fa'];
|
|
|
|
}));
|