Fix/date picker locale (#28016)

* fix: data picker en_GB locale

* fix: data picker zh_TW locale
This commit is contained in:
Siou 2020-11-26 16:51:42 +08:00 committed by GitHub
parent 2f6d0d9a68
commit d18d675443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -6,7 +6,14 @@ import { PickerLocale } from '../generatePicker';
const locale: PickerLocale = {
lang: {
placeholder: 'Select date',
yearPlaceholder: 'Select year',
quarterPlaceholder: 'Select quarter',
monthPlaceholder: 'Select month',
weekPlaceholder: 'Select week',
rangePlaceholder: ['Start date', 'End date'],
rangeYearPlaceholder: ['Start year', 'End year'],
rangeMonthPlaceholder: ['Start month', 'End month'],
rangeWeekPlaceholder: ['Start week', 'End week'],
...CalendarLocale,
},
timePickerLocale: {

View File

@ -6,7 +6,14 @@ import { PickerLocale } from '../generatePicker';
const locale: PickerLocale = {
lang: {
placeholder: '請選擇日期',
yearPlaceholder: '請選擇年份',
quarterPlaceholder: '請選擇季度',
monthPlaceholder: '請選擇月份',
weekPlaceholder: '請選擇周',
rangePlaceholder: ['開始日期', '結束日期'],
rangeYearPlaceholder: ['開始年份', '結束年份'],
rangeMonthPlaceholder: ['開始月份', '結束月份'],
rangeWeekPlaceholder: ['開始周', '結束周'],
...CalendarLocale,
},
timePickerLocale: {