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-ja.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-ja.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-ja.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/public/javascripts/i18n/datepicker-ja.js b/public/javascripts/i18n/datepicker-ja.js new file mode 100644 index 000000000..7eb4268d4 --- /dev/null +++ b/public/javascripts/i18n/datepicker-ja.js @@ -0,0 +1,23 @@ +/* Japanese initialisation for the jQuery UI date picker plugin. */ +/* Written by Kentaro SATO (kentaro@ranvis.com). */ +jQuery(function($){ + $.datepicker.regional['ja'] = { + closeText: '閉じる', + prevText: '<前', + nextText: '次>', + currentText: '今日', + monthNames: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + monthNamesShort: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], + dayNamesShort: ['日','月','火','水','木','金','土'], + dayNamesMin: ['日','月','火','水','木','金','土'], + weekHeader: '週', + dateFormat: 'yy/mm/dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['ja']); +});
\ No newline at end of file |