forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ant-design#13576 - Kannada locale added (kn_IN)
- Loading branch information
Showing
8 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import kn_IN from '../../date-picker/locale/kn_IN'; | ||
export default kn_IN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: 'ಫೈಲ್ ಮುನ್ನೋಟ', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const locale = { | ||
placeholder: 'ಸಮಯ ಆಯ್ಕೆಮಾಡಿ', | ||
}; | ||
|
||
export default locale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ return ( | |
|印度尼西亚语|id_ID| | ||
|意大利语|it_IT| | ||
|日语|ja_JP| | ||
|卡纳达语|kn_IN| | ||
|韩语/朝鲜语|ko_KR| | ||
|挪威|nb_NO| | ||
|尼泊尔语|ne_NP| | ||
|