diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-11-07 10:06:47 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-11-07 10:06:47 +0000 |
commit | eb68aadf3f028c64f234d01d09f4a7c61307ca4f (patch) | |
tree | 85d05939259d1098475f7892d4815aa7637bc244 /ui/i18n | |
parent | 16c61e43f439de40c781845e22dfbfa577ee7cad (diff) | |
download | jquery-ui-eb68aadf3f028c64f234d01d09f4a7c61307ca4f.tar.gz jquery-ui-eb68aadf3f028c64f234d01d09f4a7c61307ca4f.zip |
Fixed 3536. Added Persian localisation
Diffstat (limited to 'ui/i18n')
-rw-r--r-- | ui/i18n/ui.datepicker-fa.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/i18n/ui.datepicker-fa.js b/ui/i18n/ui.datepicker-fa.js new file mode 100644 index 000000000..d77021713 --- /dev/null +++ b/ui/i18n/ui.datepicker-fa.js @@ -0,0 +1,25 @@ +/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
+/* Javad Mowlanezhad -- jmowla@gmail.com */
+/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
+jQuery(function($) {
+ $.datepicker.regional['fa'] = {
+ clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري',
+ closeText: 'بستن', closeStatus: 'بستن بدون اعمال تغييرات',
+ prevText: '<قبلي', prevStatus: 'نمايش ماه قبل',
+ prevBigText: '<<', prevBigStatus: '',
+ nextText: 'بعدي>', nextStatus: 'نمايش ماه بعد',
+ nextBigText: '>>', nextBigStatus: '',
+ currentText: 'امروز', currentStatus: 'نمايش ماه جاري',
+ monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
+ 'مهر','آبان','آذر','دي','بهمن','اسفند'],
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
+ monthStatus: 'نمايش ماه متفاوت', yearStatus: 'نمايش سال متفاوت',
+ weekHeader: 'هف', weekStatus: 'هفتهِ سال',
+ dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
+ dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayStatus: 'قبول DD بعنوان اولين روز هفته', dateStatus: 'انتخاب D, M d',
+ dateFormat: 'yy/mm/dd', firstDay: 6,
+ initStatus: 'انتخاب تاريخ', isRTL: true};
+ $.datepicker.setDefaults($.datepicker.regional['fa']);
+});
\ No newline at end of file |