diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-09-27 05:14:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-09-27 05:14:53 +0000 |
commit | 5ce32798f278675f7a7b81a5d4d6ce9402bd49c6 (patch) | |
tree | 1fb9a304917cb577987a50cbfc29f79a3f805111 /public/javascripts/i18n/datepicker-fa.js | |
parent | 8ae41b4846fc46cb521599c0b10fad8e424069f7 (diff) | |
download | redmine-5ce32798f278675f7a7b81a5d4d6ce9402bd49c6.tar.gz redmine-5ce32798f278675f7a7b81a5d4d6ce9402bd49c6.zip |
rename jQuery Datepicker i18n file name
jquery-ui renamed these files.
https://github.com/jquery/jquery-ui/commit/21154cfa2e02ef1814a6aff68b14553bdad165cb
git-svn-id: http://svn.redmine.org/redmine/trunk@13415 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/i18n/datepicker-fa.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-fa.js | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/public/javascripts/i18n/datepicker-fa.js b/public/javascripts/i18n/datepicker-fa.js new file mode 100644 index 000000000..be8acd2a5 --- /dev/null +++ b/public/javascripts/i18n/datepicker-fa.js @@ -0,0 +1,59 @@ +/* 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'] = { + closeText: 'بستن', + prevText: '<قبلی', + nextText: 'بعدی>', + currentText: 'امروز', + monthNames: [ + 'فروردين', + 'ارديبهشت', + 'خرداد', + 'تير', + 'مرداد', + 'شهريور', + 'مهر', + 'آبان', + 'آذر', + 'دی', + 'بهمن', + 'اسفند' + ], + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], + dayNames: [ + 'يکشنبه', + 'دوشنبه', + 'سهشنبه', + 'چهارشنبه', + 'پنجشنبه', + 'جمعه', + 'شنبه' + ], + dayNamesShort: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + dayNamesMin: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + weekHeader: 'هف', + dateFormat: 'yy/mm/dd', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fa']); +});
\ No newline at end of file |