aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>2012-03-29 09:51:43 -0400
committerScott González <scott.gonzalez@gmail.com>2012-03-29 09:51:43 -0400
commita51451dc1b19bf6c2e10b1648b57d006bf38c303 (patch)
treec4abdd6f4bc460c6b98a952a74cec43ccf10ed20
parent68135431295d27f421eedacbb08296db441950a5 (diff)
downloadjquery-ui-a51451dc1b19bf6c2e10b1648b57d006bf38c303.tar.gz
jquery-ui-a51451dc1b19bf6c2e10b1648b57d006bf38c303.zip
Datepicker: Fixed nextText, prevText, and Sunday and split words onto multiple lines for readability. Fixes #8225 - Datepicker: Incorrect values in Persian localization.
-rw-r--r--ui/i18n/jquery.ui.datepicker-fa.js50
1 files changed, 43 insertions, 7 deletions
diff --git a/ui/i18n/jquery.ui.datepicker-fa.js b/ui/i18n/jquery.ui.datepicker-fa.js
index 1d7fbd23c..be8acd2a5 100644
--- a/ui/i18n/jquery.ui.datepicker-fa.js
+++ b/ui/i18n/jquery.ui.datepicker-fa.js
@@ -4,15 +4,51 @@
jQuery(function($) {
$.datepicker.regional['fa'] = {
closeText: 'بستن',
- prevText: '&#x3C;قبلي',
- nextText: 'بعدي&#x3E;',
+ prevText: '&#x3C;قبلی',
+ nextText: 'بعدی&#x3E;',
currentText: 'امروز',
- monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
- 'مهر','آبان','آذر','دي','بهمن','اسفند'],
+ monthNames: [
+ 'فروردين',
+ 'ارديبهشت',
+ 'خرداد',
+ 'تير',
+ 'مرداد',
+ 'شهريور',
+ 'مهر',
+ 'آبان',
+ 'آذر',
+ 'دی',
+ 'بهمن',
+ 'اسفند'
+ ],
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
- dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
- dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
- dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayNames: [
+ 'يکشنبه',
+ 'دوشنبه',
+ 'سه‌شنبه',
+ 'چهارشنبه',
+ 'پنجشنبه',
+ 'جمعه',
+ 'شنبه'
+ ],
+ dayNamesShort: [
+ 'ی',
+ 'د',
+ 'س',
+ 'چ',
+ 'پ',
+ 'ج',
+ 'ش'
+ ],
+ dayNamesMin: [
+ 'ی',
+ 'د',
+ 'س',
+ 'چ',
+ 'پ',
+ 'ج',
+ 'ش'
+ ],
weekHeader: 'هف',
dateFormat: 'yy/mm/dd',
firstDay: 6,