You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

datepicker-fa.js 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define([ "../datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. }(function( datepicker ) {
  13. datepicker.regional['fa'] = {
  14. closeText: 'بستن',
  15. prevText: '<قبلی',
  16. nextText: 'بعدی>',
  17. currentText: 'امروز',
  18. monthNames: [
  19. 'فروردين',
  20. 'ارديبهشت',
  21. 'خرداد',
  22. 'تير',
  23. 'مرداد',
  24. 'شهريور',
  25. 'مهر',
  26. 'آبان',
  27. 'آذر',
  28. 'دی',
  29. 'بهمن',
  30. 'اسفند'
  31. ],
  32. monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
  33. dayNames: [
  34. 'يکشنبه',
  35. 'دوشنبه',
  36. 'سه‌شنبه',
  37. 'چهارشنبه',
  38. 'پنجشنبه',
  39. 'جمعه',
  40. 'شنبه'
  41. ],
  42. dayNamesShort: [
  43. 'ی',
  44. 'د',
  45. 'س',
  46. 'چ',
  47. 'پ',
  48. 'ج',
  49. 'ش'
  50. ],
  51. dayNamesMin: [
  52. 'ی',
  53. 'د',
  54. 'س',
  55. 'چ',
  56. 'پ',
  57. 'ج',
  58. 'ش'
  59. ],
  60. weekHeader: 'هف',
  61. dateFormat: 'yy/mm/dd',
  62. firstDay: 6,
  63. isRTL: true,
  64. showMonthAfterYear: false,
  65. yearSuffix: ''};
  66. datepicker.setDefaults(datepicker.regional['fa']);
  67. return datepicker.regional['fa'];
  68. }));