รวม code แก้ไข OP 3138, 3141, 2736, 2654
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/* http://keith-wood.name/calendars.html
|
||||
Simplified Chinese localisation for calendars datepicker for jQuery.
|
||||
Written by Cloudream (cloudream@gmail.com). */
|
||||
(function($) {
|
||||
'use strict';
|
||||
$.calendarsPicker.regionalOptions['zh-CN'] = {
|
||||
renderer: $.extend({},
|
||||
$.calendarsPicker.defaultRenderer,
|
||||
{month: $.calendarsPicker.defaultRenderer.month.replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
|
||||
prevText: '<上月',
|
||||
prevStatus: '显示上月',
|
||||
prevJumpText: '<<',
|
||||
prevJumpStatus: '显示上一年',
|
||||
nextText: '下月>',
|
||||
nextStatus: '显示下月',
|
||||
nextJumpText: '>>',
|
||||
nextJumpStatus: '显示下一年',
|
||||
currentText: '今天',
|
||||
currentStatus: '显示本月',
|
||||
todayText: '今天',
|
||||
todayStatus: '显示本月',
|
||||
clearText: '清除',
|
||||
clearStatus: '清除已选日期',
|
||||
closeText: '关闭',
|
||||
closeStatus: '不改变当前选择',
|
||||
yearStatus: '选择年份',
|
||||
monthStatus: '选择月份',
|
||||
weekText: '周',
|
||||
weekStatus: '年内周次',
|
||||
dayStatus: '选择 m月 d日, DD',
|
||||
defaultStatus: '请选择日期',
|
||||
isRTL: false
|
||||
};
|
||||
$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN']);
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user