jquery.datepick-zh-TW.js 1.6KB

1234567891011121314151617181920212223242526272829303132
  1. /* http://keith-wood.name/datepick.html
  2. Traditional Chinese localisation for jQuery Datepicker.
  3. Written by Ressol (ressol@gmail.com). */
  4. (function($) {
  5. $.datepick.regional['zh-TW'] = {
  6. monthNames: ['一月','二月','三月','四月','五月','六月',
  7. '七月','八月','九月','十月','十一月','十二月'],
  8. monthNamesShort: ['一','二','三','四','五','六',
  9. '七','八','九','十','十一','十二'],
  10. dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
  11. dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
  12. dayNamesMin: ['日','一','二','三','四','五','六'],
  13. dateFormat: 'yyyy/mm/dd', firstDay: 1,
  14. renderer: $.extend({}, $.datepick.defaultRenderer,
  15. {month: $.datepick.defaultRenderer.month.
  16. replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
  17. prevText: '<上月', prevStatus: '顯示上月',
  18. prevJumpText: '<<', prevJumpStatus: '顯示上一年',
  19. nextText: '下月>', nextStatus: '顯示下月',
  20. nextJumpText: '>>', nextJumpStatus: '顯示下一年',
  21. currentText: '今天', currentStatus: '顯示本月',
  22. todayText: '今天', todayStatus: '顯示本月',
  23. clearText: '清除', clearStatus: '清除已選日期',
  24. closeText: '關閉', closeStatus: '不改變目前的選擇',
  25. yearStatus: '選擇年份', monthStatus: '選擇月份',
  26. weekText: '周', weekStatus: '年內周次',
  27. dayStatus: '選擇 m月 d日, DD', defaultStatus: '請選擇日期',
  28. isRTL: false
  29. };
  30. $.datepick.setDefaults($.datepick.regional['zh-TW']);
  31. })(jQuery);