mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
2ece2c6b63
* feat: ✨ Burmese translation * fix: fix Burmese - MYANMAR locale typo * Update components/locale/my_MM.ts Co-authored-by: Amumu <yoyo837@hotmail.com> * fix: 🐞 modify package version * fix: 🐞 add locale snap * docs: 📃 update docs --------- Co-authored-by: Amumu <yoyo837@hotmail.com>
29 lines
1.4 KiB
TypeScript
29 lines
1.4 KiB
TypeScript
import CalendarLocale from 'rc-picker/lib/locale/my_MM';
|
|
import TimePickerLocale from '../../time-picker/locale/my_MM';
|
|
import type { PickerLocale } from '../generatePicker';
|
|
|
|
// Merge into a locale object
|
|
const locale: PickerLocale = {
|
|
lang: {
|
|
placeholder: 'ရက်စွဲကို ရွေးပါ။',
|
|
yearPlaceholder: 'နှစ်ကို ရွေးပါ။',
|
|
quarterPlaceholder: 'လေးပုံတစ်ပုံကို ရွေးပါ။',
|
|
monthPlaceholder: 'လကိုရွေးပါ။',
|
|
weekPlaceholder: 'ရက်သတ္တပတ်ကို ရွေးပါ။',
|
|
rangePlaceholder: ['စတင်သည့်ရက်စွဲ', 'ကုန်ဆုံးရက်'],
|
|
rangeYearPlaceholder: ['စတင်သည့်နှစ်', 'နှစ်ကုန်'],
|
|
rangeQuarterPlaceholder: ['လေးပုံတစ်ပုံကို စတင်ပါ။', 'အဆုံးသုံးလ'],
|
|
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;
|