2011-05-04 20:29:13 +00:00
|
|
|
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
2008-11-19 06:09:48 +00:00
|
|
|
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
|
|
|
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
|
|
|
jQuery(function($) {
|
|
|
|
$.datepicker.regional['fa'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'بستن',
|
2012-03-29 13:51:43 +00:00
|
|
|
prevText: '<قبلی',
|
|
|
|
nextText: 'بعدی>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'امروز',
|
2012-03-29 13:51:43 +00:00
|
|
|
monthNames: [
|
|
|
|
'فروردين',
|
|
|
|
'ارديبهشت',
|
|
|
|
'خرداد',
|
|
|
|
'تير',
|
|
|
|
'مرداد',
|
|
|
|
'شهريور',
|
|
|
|
'مهر',
|
|
|
|
'آبان',
|
|
|
|
'آذر',
|
|
|
|
'دی',
|
|
|
|
'بهمن',
|
|
|
|
'اسفند'
|
|
|
|
],
|
2008-11-19 06:09:48 +00:00
|
|
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
2012-03-29 13:51:43 +00:00
|
|
|
dayNames: [
|
|
|
|
'يکشنبه',
|
|
|
|
'دوشنبه',
|
|
|
|
'سهشنبه',
|
|
|
|
'چهارشنبه',
|
|
|
|
'پنجشنبه',
|
|
|
|
'جمعه',
|
|
|
|
'شنبه'
|
|
|
|
],
|
|
|
|
dayNamesShort: [
|
|
|
|
'ی',
|
|
|
|
'د',
|
|
|
|
'س',
|
|
|
|
'چ',
|
|
|
|
'پ',
|
|
|
|
'ج',
|
|
|
|
'ش'
|
|
|
|
],
|
|
|
|
dayNamesMin: [
|
|
|
|
'ی',
|
|
|
|
'د',
|
|
|
|
'س',
|
|
|
|
'چ',
|
|
|
|
'پ',
|
|
|
|
'ج',
|
|
|
|
'ش'
|
|
|
|
],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'هف',
|
2009-04-01 10:34:16 +00:00
|
|
|
dateFormat: 'yy/mm/dd',
|
|
|
|
firstDay: 6,
|
|
|
|
isRTL: true,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2008-11-19 06:09:48 +00:00
|
|
|
$.datepicker.setDefaults($.datepicker.regional['fa']);
|
2008-11-07 10:06:47 +00:00
|
|
|
});
|