summaryrefslogtreecommitdiff
path: root/inc/lang/ja/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorGerry Weißbach <gerry.w@gammaproduction.de>2014-08-29 11:59:15 +0200
committerGerry Weißbach <gerry.w@gammaproduction.de>2014-08-29 11:59:15 +0200
commit5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c (patch)
treef21a22e5c1ef7f9a8ecd78370cb94472c7407279 /inc/lang/ja/jquery.ui.datepicker.js
parent04585e6c37e0352a5bc568fc8c938aeafa1c160e (diff)
parent12e60eea4f8a0a84213b972847203e57e590c59b (diff)
downloadrpg-5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c.tar.gz
rpg-5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c.tar.bz2
Merge branch 'master' of https://github.com/splitbrain/dokuwiki
Diffstat (limited to 'inc/lang/ja/jquery.ui.datepicker.js')
-rw-r--r--inc/lang/ja/jquery.ui.datepicker.js56
1 files changed, 35 insertions, 21 deletions
diff --git a/inc/lang/ja/jquery.ui.datepicker.js b/inc/lang/ja/jquery.ui.datepicker.js
index 4d0b63c77..381f41b5d 100644
--- a/inc/lang/ja/jquery.ui.datepicker.js
+++ b/inc/lang/ja/jquery.ui.datepicker.js
@@ -1,23 +1,37 @@
/* Japanese initialisation for the jQuery UI date picker plugin. */
/* Written by Kentaro SATO (kentaro@ranvis.com). */
-jQuery(function($){
- $.datepicker.regional['ja'] = {
- closeText: '閉じる',
- prevText: '&#x3C;前',
- nextText: '次&#x3E;',
- 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']);
-});
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+
+datepicker.regional['ja'] = {
+ closeText: '閉じる',
+ prevText: '&#x3C;前',
+ nextText: '次&#x3E;',
+ 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']);
+
+return datepicker.regional['ja'];
+
+}));