2011-05-04 20:29:13 +00:00
|
|
|
/* Japanese initialisation for the jQuery UI date picker plugin. */
|
2008-12-08 10:12:12 +00:00
|
|
|
/* Written by Kentaro SATO (kentaro@ranvis.com). */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2015-08-24 13:00:11 +00:00
|
|
|
}( function( datepicker ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
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",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 0,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: true,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "年" };
|
|
|
|
datepicker.setDefaults( datepicker.regional.ja );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional.ja;
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
} ) );
|