#13576 - Kannada locale added (kn_IN)
parent
5c266355ec
commit
1a4fce7d0f
@ -0,0 +1,2 @@
|
||||
import kn_IN from '../../date-picker/locale/kn_IN';
|
||||
export default kn_IN;
|
@ -0,0 +1,19 @@
|
||||
import CalendarLocale from 'rc-calendar/lib/locale/kn_IN';
|
||||
import TimePickerLocale from '../../time-picker/locale/kn_IN';
|
||||
|
||||
// Merge into a locale object
|
||||
const locale = {
|
||||
lang: {
|
||||
placeholder: 'ದಿನಾಂಕ ಆಯ್ಕೆಮಾಡಿ',
|
||||
rangePlaceholder: ['ಪ್ರಾರಂಭ ದಿನಾಂಕ', 'ಅಂತಿಮ ದಿನಾಂಕ'],
|
||||
...CalendarLocale,
|
||||
},
|
||||
timePickerLocale: {
|
||||
...TimePickerLocale,
|
||||
},
|
||||
};
|
||||
|
||||
// All settings at:
|
||||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||||
|
||||
export default locale;
|
@ -0,0 +1,50 @@
|
||||
import Pagination from 'rc-pagination/lib/locale/kn_IN';
|
||||
import DatePicker from '../date-picker/locale/kn_IN';
|
||||
import TimePicker from '../time-picker/locale/kn_IN';
|
||||
import Calendar from '../calendar/locale/kn_IN';
|
||||
|
||||
export default {
|
||||
locale: 'kn',
|
||||
Pagination,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
Calendar,
|
||||
// locales for all comoponents
|
||||
global: {
|
||||
placeholder: 'ದಯವಿಟ್ಟು ಆರಿಸಿ',
|
||||
},
|
||||
Table: {
|
||||
filterTitle: 'ಪಟ್ಟಿ ಸೋಸಿ',
|
||||
filterConfirm: 'ಸರಿ',
|
||||
filterReset: 'ಮರುಹೊಂದಿಸಿ',
|
||||
emptyText: 'ಮಾಹಿತಿ ಇಲ್ಲ',
|
||||
selectAll: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ಆಯ್ಕೆಮಾಡಿ',
|
||||
selectInvert: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ತಿರುಗಿಸಿ',
|
||||
sortTitle: 'ವಿಂಗಡಿಸಿ',
|
||||
},
|
||||
Modal: {
|
||||
okText: 'ಸರಿ',
|
||||
cancelText: 'ರದ್ದು',
|
||||
justOkText: 'ಸರಿ',
|
||||
},
|
||||
Popconfirm: {
|
||||
okText: 'ಸರಿ',
|
||||
cancelText: 'ರದ್ದು',
|
||||
},
|
||||
Transfer: {
|
||||
titles: ['', ''],
|
||||
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
|
||||
searchPlaceholder: 'ಇಲ್ಲಿ ಹುಡುಕಿ',
|
||||
itemUnit: 'ವಿಷಯ',
|
||||
itemsUnit: 'ವಿಷಯಗಳು',
|
||||
},
|
||||
Select: {
|
||||
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
|
||||
},
|
||||
Upload: {
|
||||
uploading: 'ಏರಿಸಿ...',
|
||||
removeFile: 'ಫೈಲ್ ತೆಗೆದುಹಾಕಿ',
|
||||
uploadError: 'ಏರಿಸುವ ದೋಷ',
|
||||
previewFile: 'ಫೈಲ್ ಮುನ್ನೋಟ',
|
||||
},
|
||||
};
|
@ -0,0 +1,5 @@
|
||||
const locale = {
|
||||
placeholder: 'ಸಮಯ ಆಯ್ಕೆಮಾಡಿ',
|
||||
};
|
||||
|
||||
export default locale;
|
Loading…
Reference in New Issue