-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
/
si_LK.ts
28 lines (25 loc) · 1.26 KB
/
si_LK.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import CalendarLocale from 'rc-picker/lib/locale/si_LK';
import TimePickerLocale from '../../time-picker/locale/si_LK';
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;