feat: date and time picker (#13985)
This commit is contained in:
parent
4a332ff1af
commit
19d413ac1e
39 changed files with 1234 additions and 1 deletions
3
web/i18n/de-DE/time.ts
Normal file
3
web/i18n/de-DE/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
37
web/i18n/en-US/time.ts
Normal file
37
web/i18n/en-US/time.ts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
const translation = {
|
||||
daysInWeek: {
|
||||
Sun: 'Sun',
|
||||
Mon: 'Mon',
|
||||
Tue: 'Tue',
|
||||
Wed: 'Wed',
|
||||
Thu: 'Thu',
|
||||
Fri: 'Fri',
|
||||
Sat: 'Sat',
|
||||
},
|
||||
months: {
|
||||
January: 'January',
|
||||
February: 'February',
|
||||
March: 'March',
|
||||
April: 'April',
|
||||
May: 'May',
|
||||
June: 'June',
|
||||
July: 'July',
|
||||
August: 'August',
|
||||
September: 'September',
|
||||
October: 'October',
|
||||
November: 'November',
|
||||
December: 'December',
|
||||
},
|
||||
operation: {
|
||||
now: 'Now',
|
||||
ok: 'OK',
|
||||
cancel: 'Cancel',
|
||||
pickDate: 'Pick Date',
|
||||
},
|
||||
title: {
|
||||
pickTime: 'Pick Time',
|
||||
},
|
||||
defaultPlaceholder: 'Pick a time...',
|
||||
}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/es-ES/time.ts
Normal file
3
web/i18n/es-ES/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/fa-IR/time.ts
Normal file
3
web/i18n/fa-IR/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/fr-FR/time.ts
Normal file
3
web/i18n/fr-FR/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/hi-IN/time.ts
Normal file
3
web/i18n/hi-IN/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
|
|
@ -30,6 +30,7 @@ const loadLangResources = (lang: string) => ({
|
|||
runLog: require(`./${lang}/run-log`).default,
|
||||
plugin: require(`./${lang}/plugin`).default,
|
||||
pluginTags: require(`./${lang}/plugin-tags`).default,
|
||||
time: require(`./${lang}/time`).default,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
3
web/i18n/it-IT/time.ts
Normal file
3
web/i18n/it-IT/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/ja-JP/time.ts
Normal file
3
web/i18n/ja-JP/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/ko-KR/time.ts
Normal file
3
web/i18n/ko-KR/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/pl-PL/time.ts
Normal file
3
web/i18n/pl-PL/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/pt-BR/time.ts
Normal file
3
web/i18n/pt-BR/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/ro-RO/time.ts
Normal file
3
web/i18n/ro-RO/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/ru-RU/time.ts
Normal file
3
web/i18n/ru-RU/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/sl-SI/time.ts
Normal file
3
web/i18n/sl-SI/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/th-TH/time.ts
Normal file
3
web/i18n/th-TH/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/tr-TR/time.ts
Normal file
3
web/i18n/tr-TR/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/uk-UA/time.ts
Normal file
3
web/i18n/uk-UA/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/vi-VN/time.ts
Normal file
3
web/i18n/vi-VN/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
37
web/i18n/zh-Hans/time.ts
Normal file
37
web/i18n/zh-Hans/time.ts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
const translation = {
|
||||
daysInWeek: {
|
||||
Sun: '日',
|
||||
Mon: '一',
|
||||
Tue: '二',
|
||||
Wed: '三',
|
||||
Thu: '四',
|
||||
Fri: '五',
|
||||
Sat: '六',
|
||||
},
|
||||
months: {
|
||||
January: '一月',
|
||||
February: '二月',
|
||||
March: '三月',
|
||||
April: '四月',
|
||||
May: '五月',
|
||||
June: '六月',
|
||||
July: '七月',
|
||||
August: '八月',
|
||||
September: '九月',
|
||||
October: '十月',
|
||||
November: '十一月',
|
||||
December: '十二月',
|
||||
},
|
||||
operation: {
|
||||
now: '此刻',
|
||||
ok: '确定',
|
||||
cancel: '取消',
|
||||
},
|
||||
title: {
|
||||
pickTime: '选择时间',
|
||||
},
|
||||
pickDate: '选择日期',
|
||||
defaultPlaceholder: '请选择时间...',
|
||||
}
|
||||
|
||||
export default translation
|
||||
3
web/i18n/zh-Hant/time.ts
Normal file
3
web/i18n/zh-Hant/time.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const translation = {}
|
||||
|
||||
export default translation
|
||||
Loading…
Add table
Add a link
Reference in a new issue