1/* Japanese initialisation for the jQuery UI date picker plugin. */ 2/* Written by Kentaro SATO (kentaro@ranvis.com). */ 3( function( factory ) { 4 if ( typeof define === "function" && define.amd ) { 5 6 // AMD. Register as an anonymous module. 7 define( [ "../widgets/datepicker" ], factory ); 8 } else { 9 10 // Browser globals 11 factory( jQuery.datepicker ); 12 } 13}( function( datepicker ) { 14 15datepicker.regional.ja = { 16 closeText: "閉じる", 17 prevText: "<前", 18 nextText: "次>", 19 currentText: "今日", 20 monthNames: [ "1月","2月","3月","4月","5月","6月", 21 "7月","8月","9月","10月","11月","12月" ], 22 monthNamesShort: [ "1月","2月","3月","4月","5月","6月", 23 "7月","8月","9月","10月","11月","12月" ], 24 dayNames: [ "日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日" ], 25 dayNamesShort: [ "日","月","火","水","木","金","土" ], 26 dayNamesMin: [ "日","月","火","水","木","金","土" ], 27 weekHeader: "週", 28 dateFormat: "yy/mm/dd", 29 firstDay: 0, 30 isRTL: false, 31 showMonthAfterYear: true, 32 yearSuffix: "年" }; 33datepicker.setDefaults( datepicker.regional.ja ); 34 35return datepicker.regional.ja; 36 37} ) ); 38