From: Chi Cheng Date: Wed, 19 Aug 2009 16:33:32 +0000 (+0000) Subject: Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 X-Git-Tag: 1.8a2~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5293096526a21ac39ae2244d578e5c9908490cee;p=jquery-ui.git Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 --- diff --git a/ui/i18n/ui.datepicker-ko.js b/ui/i18n/ui.datepicker-ko.js index b0d2f7b13..5b3531652 100644 --- a/ui/i18n/ui.datepicker-ko.js +++ b/ui/i18n/ui.datepicker-ko.js @@ -18,6 +18,6 @@ jQuery(function($){ firstDay: 0, isRTL: false, showMonthAfterYear: false, - yearSuffix: ''}; + yearSuffix: '년'}; $.datepicker.setDefaults($.datepicker.regional['ko']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-zh-CN.js b/ui/i18n/ui.datepicker-zh-CN.js index 213aa2dfc..6c4883f53 100644 --- a/ui/i18n/ui.datepicker-zh-CN.js +++ b/ui/i18n/ui.datepicker-zh-CN.js @@ -17,7 +17,7 @@ jQuery(function($){ dateFormat: 'yy-mm-dd', firstDay: 1, isRTL: false, - showMonthAfterYear: false, - yearSuffix: ''}; + showMonthAfterYear: true, + yearSuffix: '年'}; $.datepicker.setDefaults($.datepicker.regional['zh-CN']); }); diff --git a/ui/i18n/ui.datepicker-zh-TW.js b/ui/i18n/ui.datepicker-zh-TW.js index 1a046f9e8..d211573c6 100644 --- a/ui/i18n/ui.datepicker-zh-TW.js +++ b/ui/i18n/ui.datepicker-zh-TW.js @@ -17,7 +17,7 @@ jQuery(function($){ dateFormat: 'yy/mm/dd', firstDay: 1, isRTL: false, - showMonthAfterYear: false, - yearSuffix: ''}; + showMonthAfterYear: true, + yearSuffix: '年'}; $.datepicker.setDefaults($.datepicker.regional['zh-TW']); });