jquery-ui/ui/i18n/datepicker-fa.js

77 lines
1.4 KiB
JavaScript
Raw Normal View History

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