mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
b3c4cebd96
* ✨ added ml_IN locale * ✨ malayalam localization - rc-packages updated * ml_IN test cases added Review comments integrated * ml_IN translation - en doc updated PR review comments integrated * ml_IN translation zh doc updated PR review comment integrated * ❇️ changes after running npm test locally * 🚀 npm test after removing and reinstalling node modules and package-lock
28 lines
1.2 KiB
TypeScript
28 lines
1.2 KiB
TypeScript
import CalendarLocale from 'rc-picker/lib/locale/ml_IN';
|
|
import TimePickerLocale from '../../time-picker/locale/ml_IN';
|
|
import { 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;
|