diff --git a/src/js/locales/zh-CN.ts b/src/js/locales/zh-CN.ts new file mode 100644 index 000000000..556c1ed7b --- /dev/null +++ b/src/js/locales/zh-CN.ts @@ -0,0 +1,45 @@ +const name = 'zh-CN'; + +const localization = { + today: '今天', + clear: '清空', + close: '关闭', + selectMonth: '选择月份', + previousMonth: '上个月', + nextMonth: '下个月', + selectYear: '选择年份', + previousYear: '上一年', + nextYear: '下一年', + selectDecade: '选择年代', + previousDecade: '下个年代', + nextDecade: '上个年代', + previousCentury: '上个世纪', + nextCentury: '下个世纪', + pickHour: '选取时钟', + incrementHour: '加一小时', + decrementHour: '减一小时', + pickMinute: '选取分钟', + incrementMinute: '加一分钟', + decrementMinute: '减一分钟', + pickSecond: '选取秒钟', + incrementSecond: '加一秒钟', + decrementSecond: '减一秒钟', + toggleMeridiem: '切换上下午', + selectTime: '选择时间', + selectDate: '选择日期', + dayViewHeaderFormat: { month: 'long', year: '2-digit' }, + locale: 'zh-CN', + startOfTheWeek: 1, + dateFormats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'yyyy/MM/dd', + LL: 'yyyy年Md日', + LLL: 'yyyy年Md日Th点mm分', + LLLL: 'yyyy年Md日ddddTh点mm分', + }, + ordinal: (n) => n, + format: 'L LT', +}; + +export { localization, name }; diff --git a/src/js/locales/zh-HK.ts b/src/js/locales/zh-HK.ts new file mode 100644 index 000000000..f69721a13 --- /dev/null +++ b/src/js/locales/zh-HK.ts @@ -0,0 +1,45 @@ +const name = 'zh-HK'; + +const localization = { + today: '今天', + clear: '清空', + close: '關閉', + selectMonth: '選擇月份', + previousMonth: '上個月', + nextMonth: '下個月', + selectYear: '選擇年份', + previousYear: '上一年', + nextYear: '下一年', + selectDecade: '選擇年代', + previousDecade: '下個年代', + nextDecade: '上個年代', + previousCentury: '上個世紀', + nextCentury: '下個世紀', + pickHour: '選取時鐘', + incrementHour: '加一小時', + decrementHour: '減一小時', + pickMinute: '選取分鐘', + incrementMinute: '加一分鐘', + decrementMinute: '減一分鐘', + pickSecond: '選取秒鐘', + incrementSecond: '加一秒鐘', + decrementSecond: '減一秒鐘', + toggleMeridiem: '切換上下午', + selectTime: '選擇時間', + selectDate: '選擇日期', + dayViewHeaderFormat: { month: 'long', year: '2-digit' }, + locale: 'zh-HK', + startOfTheWeek: 1, + dateFormats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'yyyy/MM/dd', + LL: 'yyyy年Md日', + LLL: 'yyyy年Md日 HH:mm', + LLLL: 'yyyy年Md日dddd HH:mm', + }, + ordinal: (n) => n, + format: 'L LT', +}; + +export { localization, name }; diff --git a/src/js/locales/zh-MO.ts b/src/js/locales/zh-MO.ts new file mode 100644 index 000000000..bbc6c989e --- /dev/null +++ b/src/js/locales/zh-MO.ts @@ -0,0 +1,45 @@ +const name = 'zh-MO'; + +const localization = { + today: '今天', + clear: '清空', + close: '關閉', + selectMonth: '選擇月份', + previousMonth: '上個月', + nextMonth: '下個月', + selectYear: '選擇年份', + previousYear: '上一年', + nextYear: '下一年', + selectDecade: '選擇年代', + previousDecade: '下個年代', + nextDecade: '上個年代', + previousCentury: '上個世紀', + nextCentury: '下個世紀', + pickHour: '選取時鐘', + incrementHour: '加一小時', + decrementHour: '減一小時', + pickMinute: '選取分鐘', + incrementMinute: '加一分鐘', + decrementMinute: '減一分鐘', + pickSecond: '選取秒鐘', + incrementSecond: '加一秒鐘', + decrementSecond: '減一秒鐘', + toggleMeridiem: '切換上下午', + selectTime: '選擇時間', + selectDate: '選擇日期', + dayViewHeaderFormat: { month: 'long', year: '2-digit' }, + locale: 'zh-MO', + startOfTheWeek: 1, + dateFormats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'dd/MM/yyyy', + LL: 'yyyy年Md日', + LLL: 'yyyy年Md日 HH:mm', + LLLL: 'yyyy年Md日dddd HH:mm', + }, + ordinal: (n) => n, + format: 'L LT', +}; + +export { localization, name }; diff --git a/src/js/locales/zh-TW.ts b/src/js/locales/zh-TW.ts new file mode 100644 index 000000000..f1b6e6546 --- /dev/null +++ b/src/js/locales/zh-TW.ts @@ -0,0 +1,45 @@ +const name = 'zh-TW'; + +const localization = { + today: '今天', + clear: '清空', + close: '關閉', + selectMonth: '選擇月份', + previousMonth: '上個月', + nextMonth: '下個月', + selectYear: '選擇年份', + previousYear: '上一年', + nextYear: '下一年', + selectDecade: '選擇年代', + previousDecade: '下個年代', + nextDecade: '上個年代', + previousCentury: '上個世紀', + nextCentury: '下個世紀', + pickHour: '選取時鐘', + incrementHour: '加一小時', + decrementHour: '減一小時', + pickMinute: '選取分鐘', + incrementMinute: '加一分鐘', + decrementMinute: '減一分鐘', + pickSecond: '選取秒鐘', + incrementSecond: '加一秒鐘', + decrementSecond: '減一秒鐘', + toggleMeridiem: '切換上下午', + selectTime: '選擇時間', + selectDate: '選擇日期', + dayViewHeaderFormat: { month: 'long', year: '2-digit' }, + locale: 'zh-TW', + startOfTheWeek: 1, + dateFormats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'yyyy/MM/dd', + LL: 'yyyy年MD日', + LLL: 'yyyy年MD日 HH:mm', + LLLL: 'yyyy年MD日dddd HH:mm', + }, + ordinal: (n) => n, + format: 'L LT', +}; + +export { localization, name };