1/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ 2/* Javad Mowlanezhad -- jmowla@gmail.com */ 3/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ 4( function( factory ) { 5 "use strict"; 6 7 if ( typeof define === "function" && define.amd ) { 8 9 // AMD. Register as an anonymous module. 10 define( [ "../widgets/datepicker" ], factory ); 11 } else { 12 13 // Browser globals 14 factory( jQuery.datepicker ); 15 } 16} )( function( datepicker ) { 17"use strict"; 18 19datepicker.regional.fa = { 20 closeText: "بستن", 21 prevText: "قبلی", 22 nextText: "بعدی", 23 currentText: "امروز", 24 monthNames: [ 25 "ژانویه", 26 "فوریه", 27 "مارس", 28 "آوریل", 29 "مه", 30 "ژوئن", 31 "ژوئیه", 32 "اوت", 33 "سپتامبر", 34 "اکتبر", 35 "نوامبر", 36 "دسامبر" 37 ], 38 monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], 39 dayNames: [ 40 "يکشنبه", 41 "دوشنبه", 42 "سهشنبه", 43 "چهارشنبه", 44 "پنجشنبه", 45 "جمعه", 46 "شنبه" 47 ], 48 dayNamesShort: [ 49 "ی", 50 "د", 51 "س", 52 "چ", 53 "پ", 54 "ج", 55 "ش" 56 ], 57 dayNamesMin: [ 58 "ی", 59 "د", 60 "س", 61 "چ", 62 "پ", 63 "ج", 64 "ش" 65 ], 66 weekHeader: "هف", 67 dateFormat: "yy/mm/dd", 68 firstDay: 6, 69 isRTL: true, 70 showMonthAfterYear: false, 71 yearSuffix: "" }; 72datepicker.setDefaults( datepicker.regional.fa ); 73 74return datepicker.regional.fa; 75 76} ); 77