mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: locale by_BY lint (#27061)
* fix: locale lint * Update index.test.js.snap
This commit is contained in:
parent
f28f56d096
commit
dfbe4b701c
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,18 @@
|
||||
/* eslint-disable no-template-curly-in-string */
|
||||
import Pagination from 'rc-pagination/lib/locale/by_BY';
|
||||
import DatePicker from '../date-picker/locale/by_BY';
|
||||
import TimePicker from '../time-picker/locale/by_BY';
|
||||
import Calendar from '../calendar/locale/by_BY';
|
||||
import { Locale } from '../locale-provider';
|
||||
|
||||
var typeTemplate: string = "${label} не з'яўляецца тыпам ${type}";
|
||||
const typeTemplate: string = "${label} не з'яўляецца тыпам ${type}";
|
||||
|
||||
const localeValues: Locale = {
|
||||
locale: 'by',
|
||||
Pagination: Pagination,
|
||||
DatePicker: DatePicker,
|
||||
TimePicker: TimePicker,
|
||||
Calendar: Calendar,
|
||||
Pagination,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
Calendar,
|
||||
global: {
|
||||
placeholder: 'Калі ласка выберыце',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user