mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
#13576 - Kannada locale added (kn_IN)
This commit is contained in:
parent
5c266355ec
commit
1a4fce7d0f
@ -284,6 +284,7 @@ Pyroboomka <qwaarty@mail.ru>
|
||||
Qiaosen Huang <joesonw@gmail.com>
|
||||
Qingrong Ke <keqingrong1992@gmail.com>
|
||||
Rafael Cosman <rafaelcosman@alumni.stanford.edu>
|
||||
Rahul Gurung <gurungrahul2@gmail.com>
|
||||
Rallets <rallet@rallets.com>
|
||||
Ramsés Moreno <ramses@cuatromedios.com>
|
||||
Randy <randypriv@gmail.com>
|
||||
|
2
components/calendar/locale/kn_IN.tsx
Normal file
2
components/calendar/locale/kn_IN.tsx
Normal file
@ -0,0 +1,2 @@
|
||||
import kn_IN from '../../date-picker/locale/kn_IN';
|
||||
export default kn_IN;
|
19
components/date-picker/locale/kn_IN.tsx
Normal file
19
components/date-picker/locale/kn_IN.tsx
Normal file
@ -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;
|
@ -35,6 +35,7 @@ import huHU from '../hu_HU';
|
||||
import isIS from '../is_IS';
|
||||
import itIT from '../it_IT';
|
||||
import jaJP from '../ja_JP';
|
||||
import knIN from '../kn_IN';
|
||||
import koKR from '../ko_KR';
|
||||
import kuIQ from '../ku_IQ';
|
||||
import mnMN from '../mn_MN';
|
||||
@ -79,6 +80,7 @@ const locales = [
|
||||
isIS,
|
||||
itIT,
|
||||
jaJP,
|
||||
knIN,
|
||||
koKR,
|
||||
kuIQ,
|
||||
mnMN,
|
||||
|
50
components/locale-provider/kn_IN.tsx
Normal file
50
components/locale-provider/kn_IN.tsx
Normal file
@ -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: 'ಫೈಲ್ ಮುನ್ನೋಟ',
|
||||
},
|
||||
};
|
5
components/time-picker/locale/kn_IN.tsx
Normal file
5
components/time-picker/locale/kn_IN.tsx
Normal file
@ -0,0 +1,5 @@
|
||||
const locale = {
|
||||
placeholder: 'ಸಮಯ ಆಯ್ಕೆಮಾಡಿ',
|
||||
};
|
||||
|
||||
export default locale;
|
@ -49,6 +49,7 @@ Supported languages:
|
||||
|Italian|it_IT|
|
||||
|Icelandic|is_IS|
|
||||
|Japanese|ja_JP|
|
||||
|Kannada|kn_IN|
|
||||
|Korean|ko_KR|
|
||||
|Norwegian|nb_NO|
|
||||
|Nepal|ne_NP|
|
||||
|
@ -47,6 +47,7 @@ return (
|
||||
|印度尼西亚语|id_ID|
|
||||
|意大利语|it_IT|
|
||||
|日语|ja_JP|
|
||||
|卡纳达语|kn_IN|
|
||||
|韩语/朝鲜语|ko_KR|
|
||||
|挪威|nb_NO|
|
||||
|尼泊尔语|ne_NP|
|
||||
|
Loading…
Reference in New Issue
Block a user