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) */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2021-06-06 22:58:12 +00:00
|
|
|
"use strict";
|
|
|
|
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2021-06-06 22:58:12 +00:00
|
|
|
} )( function( datepicker ) {
|
|
|
|
"use strict";
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
datepicker.regional.fa = {
|
|
|
|
closeText: "بستن",
|
2022-02-11 15:33:27 +00:00
|
|
|
prevText: "قبلی",
|
|
|
|
nextText: "بعدی",
|
2015-08-24 13:00:11 +00:00
|
|
|
currentText: "امروز",
|
2014-02-19 11:55:50 +00:00
|
|
|
monthNames: [
|
2015-08-24 13:00:11 +00:00
|
|
|
"ژانویه",
|
|
|
|
"فوریه",
|
|
|
|
"مارس",
|
|
|
|
"آوریل",
|
|
|
|
"مه",
|
|
|
|
"ژوئن",
|
|
|
|
"ژوئیه",
|
|
|
|
"اوت",
|
|
|
|
"سپتامبر",
|
|
|
|
"اکتبر",
|
|
|
|
"نوامبر",
|
|
|
|
"دسامبر"
|
2014-02-19 11:55:50 +00:00
|
|
|
],
|
2021-06-06 22:58:12 +00:00
|
|
|
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
|
2014-02-19 11:55:50 +00:00
|
|
|
dayNames: [
|
2015-08-24 13:00:11 +00:00
|
|
|
"يکشنبه",
|
|
|
|
"دوشنبه",
|
|
|
|
"سهشنبه",
|
|
|
|
"چهارشنبه",
|
|
|
|
"پنجشنبه",
|
|
|
|
"جمعه",
|
|
|
|
"شنبه"
|
2014-02-19 11:55:50 +00:00
|
|
|
],
|
|
|
|
dayNamesShort: [
|
2015-08-24 13:00:11 +00:00
|
|
|
"ی",
|
|
|
|
"د",
|
|
|
|
"س",
|
|
|
|
"چ",
|
|
|
|
"پ",
|
|
|
|
"ج",
|
|
|
|
"ش"
|
2014-02-19 11:55:50 +00:00
|
|
|
],
|
|
|
|
dayNamesMin: [
|
2015-08-24 13:00:11 +00:00
|
|
|
"ی",
|
|
|
|
"د",
|
|
|
|
"س",
|
|
|
|
"چ",
|
|
|
|
"پ",
|
|
|
|
"ج",
|
|
|
|
"ش"
|
2014-02-19 11:55:50 +00:00
|
|
|
],
|
2015-08-24 13:00:11 +00:00
|
|
|
weekHeader: "هف",
|
|
|
|
dateFormat: "yy/mm/dd",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 6,
|
|
|
|
isRTL: true,
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "" };
|
|
|
|
datepicker.setDefaults( datepicker.regional.fa );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional.fa;
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2021-06-06 22:58:12 +00:00
|
|
|
} );
|