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 ) {
6 // AMD. Register as an anonymous module.
7 define( [ "../widgets/datepicker" ], factory );
11 factory( jQuery.datepicker );
13 }( function( datepicker ) {
15 datepicker.regional.ja = {
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: [ "日","月","火","水","木","金","土" ],
28 dateFormat: "yy/mm/dd",
31 showMonthAfterYear: true,
33 datepicker.setDefaults( datepicker.regional.ja );
35 return datepicker.regional.ja;