mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
Fix/date picker locale (#28016)
* fix: data picker en_GB locale * fix: data picker zh_TW locale
This commit is contained in:
parent
2f6d0d9a68
commit
d18d675443
@ -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: {
|
||||
|
@ -6,7 +6,14 @@ import { PickerLocale } from '../generatePicker';
|
||||
const locale: PickerLocale = {
|
||||
lang: {
|
||||
placeholder: '請選擇日期',
|
||||
yearPlaceholder: '請選擇年份',
|
||||
quarterPlaceholder: '請選擇季度',
|
||||
monthPlaceholder: '請選擇月份',
|
||||
weekPlaceholder: '請選擇周',
|
||||
rangePlaceholder: ['開始日期', '結束日期'],
|
||||
rangeYearPlaceholder: ['開始年份', '結束年份'],
|
||||
rangeMonthPlaceholder: ['開始月份', '結束月份'],
|
||||
rangeWeekPlaceholder: ['開始周', '結束周'],
|
||||
...CalendarLocale,
|
||||
},
|
||||
timePickerLocale: {
|
||||
|
Loading…
Reference in New Issue
Block a user