From 5293096526a21ac39ae2244d578e5c9908490cee Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Wed, 19 Aug 2009 16:33:32 +0000 Subject: [PATCH] Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 --- ui/i18n/ui.datepicker-ko.js | 2 +- ui/i18n/ui.datepicker-zh-CN.js | 4 ++-- ui/i18n/ui.datepicker-zh-TW.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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']); }); -- 2.39.5