diff options
author | Andreas Gohr <andi@splitbrain.org> | 2023-03-10 17:46:20 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2023-03-10 17:47:51 +0100 |
commit | 4e4e74c5d5cc4d9ab2edad8e0793189317b901ca (patch) | |
tree | 62a6aa31d8ea88f40862f9fcaf261e5109e6e4c0 /inc/lang/zh/jquery.ui.datepicker.js | |
parent | abca2f794c82ca70bd41b6c7cbaad44369f2de41 (diff) | |
download | dokuwiki-4e4e74c5d5cc4d9ab2edad8e0793189317b901ca.tar.gz dokuwiki-4e4e74c5d5cc4d9ab2edad8e0793189317b901ca.zip |
jQuery and jQuery UI updates
Diffstat (limited to 'inc/lang/zh/jquery.ui.datepicker.js')
-rw-r--r-- | inc/lang/zh/jquery.ui.datepicker.js | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/inc/lang/zh/jquery.ui.datepicker.js b/inc/lang/zh/jquery.ui.datepicker.js index 91f99b4ed..a00553ef6 100644 --- a/inc/lang/zh/jquery.ui.datepicker.js +++ b/inc/lang/zh/jquery.ui.datepicker.js @@ -1,6 +1,8 @@ /* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Cloudream (cloudream@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "zh-CN" ] = { closeText: "关闭", - prevText: "<上月", - nextText: "下月>", + prevText: "上月", + nextText: "下月", currentText: "今天", - monthNames: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - monthNamesShort: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - dayNames: [ "星期日","星期一","星期二","星期三","星期四","星期五","星期六" ], - dayNamesShort: [ "周日","周一","周二","周三","周四","周五","周六" ], - dayNamesMin: [ "日","一","二","三","四","五","六" ], + monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ], + dayNamesShort: [ "周日", "周一", "周二", "周三", "周四", "周五", "周六" ], + dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ], weekHeader: "周", dateFormat: "yy-mm-dd", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "zh-CN" ] ); return datepicker.regional[ "zh-CN" ]; -} ) ); +} ); |