28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
|
import CalendarLocale from '../../vc-picker/locale/bn_BD';
|
||
|
import TimePickerLocale from '../../time-picker/locale/bn_BD';
|
||
|
import type { PickerLocale } from '../generatePicker';
|
||
|
|
||
|
// Merge into a locale object
|
||
|
const locale: PickerLocale = {
|
||
|
lang: {
|
||
|
placeholder: 'āĻ¤āĻžāĻ°āĻŋāĻ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨',
|
||
|
yearPlaceholder: 'āĻŦāĻāĻ° āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨',
|
||
|
quarterPlaceholder: 'āĻā§āĻ¯āĻŧāĻžāĻ°ā§āĻāĻžāĻ° āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨',
|
||
|
monthPlaceholder: 'āĻŽāĻžāĻ¸ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨',
|
||
|
weekPlaceholder: 'āĻ¸āĻĒā§āĻ¤āĻžāĻš āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨',
|
||
|
rangePlaceholder: ['āĻļā§āĻ°ā§āĻ° āĻ¤āĻžāĻ°āĻŋāĻ', 'āĻļā§āĻˇ āĻ¤āĻžāĻ°āĻŋāĻ'],
|
||
|
rangeYearPlaceholder: ['āĻļā§āĻ°ā§āĻ° āĻŦāĻāĻ°', 'āĻļā§āĻˇ āĻŦāĻāĻ°'],
|
||
|
rangeMonthPlaceholder: ['āĻļā§āĻ°ā§āĻ° āĻŽāĻžāĻ¸', 'āĻļā§āĻˇ āĻŽāĻžāĻ¸'],
|
||
|
rangeWeekPlaceholder: ['āĻļā§āĻ°ā§āĻ° āĻ¸āĻĒā§āĻ¤āĻžāĻš', 'āĻļā§āĻˇ āĻ¸āĻĒā§āĻ¤āĻžāĻš'],
|
||
|
...CalendarLocale,
|
||
|
},
|
||
|
timePickerLocale: {
|
||
|
...TimePickerLocale,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
// All settings at:
|
||
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||
|
|
||
|
export default locale;
|