mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
✅ fix snapshots
This commit is contained in:
commit
4e57d8a5fe
@ -374,6 +374,7 @@ Shun <polytechnics.shun@gmail.com>
|
|||||||
Shuvalov Anton <anton@shuvalov.info>
|
Shuvalov Anton <anton@shuvalov.info>
|
||||||
SimaQ <sima.zhang1990@gmail.com>
|
SimaQ <sima.zhang1990@gmail.com>
|
||||||
Simo Aleksandrov <simo3003@me.com>
|
Simo Aleksandrov <simo3003@me.com>
|
||||||
|
Sivaraj S <sivaraj@sdev.in>
|
||||||
Spencer <spjy@hawaii.edu>
|
Spencer <spjy@hawaii.edu>
|
||||||
Stephen Esser <Stephen.Esser@gmail.com>
|
Stephen Esser <Stephen.Esser@gmail.com>
|
||||||
Subroto <shub1493biswas@gmail.com>
|
Subroto <shub1493biswas@gmail.com>
|
||||||
|
2
components/calendar/locale/ta_IN.tsx
Normal file
2
components/calendar/locale/ta_IN.tsx
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
import ta_IN from '../../date-picker/locale/ta_IN';
|
||||||
|
export default ta_IN;
|
20
components/date-picker/locale/ta_IN.tsx
Normal file
20
components/date-picker/locale/ta_IN.tsx
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Tamil Locale added to rc-calendar
|
||||||
|
import CalendarLocale from 'rc-calendar/lib/locale/ta_IN';
|
||||||
|
import TimePickerLocale from '../../time-picker/locale/ta_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;
|
File diff suppressed because it is too large
Load Diff
@ -55,6 +55,7 @@ import skSK from '../sk_SK';
|
|||||||
import slSI from '../sl_SI';
|
import slSI from '../sl_SI';
|
||||||
import srRS from '../sr_RS';
|
import srRS from '../sr_RS';
|
||||||
import svSE from '../sv_SE';
|
import svSE from '../sv_SE';
|
||||||
|
import taIN from '../ta_IN';
|
||||||
import thTH from '../th_TH';
|
import thTH from '../th_TH';
|
||||||
import trTR from '../tr_TR';
|
import trTR from '../tr_TR';
|
||||||
import ukUA from '../uk_UA';
|
import ukUA from '../uk_UA';
|
||||||
@ -103,6 +104,7 @@ const locales = [
|
|||||||
slSI,
|
slSI,
|
||||||
srRS,
|
srRS,
|
||||||
svSE,
|
svSE,
|
||||||
|
taIN,
|
||||||
thTH,
|
thTH,
|
||||||
trTR,
|
trTR,
|
||||||
ukUA,
|
ukUA,
|
||||||
|
62
components/locale-provider/ta_IN.tsx
Normal file
62
components/locale-provider/ta_IN.tsx
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
import Pagination from 'rc-pagination/lib/locale/ta_IN';
|
||||||
|
import DatePicker from '../date-picker/locale/ta_IN';
|
||||||
|
import TimePicker from '../time-picker/locale/ta_IN';
|
||||||
|
import Calendar from '../calendar/locale/ta_IN';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
locale: 'ta',
|
||||||
|
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: 'தகவல்கள்',
|
||||||
|
},
|
||||||
|
Upload: {
|
||||||
|
uploading: 'பதிவேற்றுகிறது...',
|
||||||
|
removeFile: 'கோப்பை அகற்று',
|
||||||
|
uploadError: 'பதிவேற்றுவதில் பிழை',
|
||||||
|
previewFile: 'கோப்பை முன்னோட்டமிடுங்கள்',
|
||||||
|
},
|
||||||
|
Empty: {
|
||||||
|
description: 'தகவல் இல்லை',
|
||||||
|
},
|
||||||
|
Icon: {
|
||||||
|
icon: 'உருவம்',
|
||||||
|
},
|
||||||
|
Text: {
|
||||||
|
edit: 'திருத்து',
|
||||||
|
copy: 'நகல் எடு',
|
||||||
|
copied: 'நகல் எடுக்கப்பட்டது',
|
||||||
|
expand: 'விரிவாக்கவும்',
|
||||||
|
},
|
||||||
|
PageHeader: {
|
||||||
|
back: 'பின் செல்லவும்',
|
||||||
|
},
|
||||||
|
};
|
5
components/time-picker/locale/ta_IN.tsx
Normal file
5
components/time-picker/locale/ta_IN.tsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
const locale = {
|
||||||
|
placeholder: 'நேரத்தைத் தேர்ந்தெடுக்கவும்',
|
||||||
|
};
|
||||||
|
|
||||||
|
export default locale;
|
@ -63,6 +63,7 @@ Supported languages:
|
|||||||
| Serbian | sr_RS |
|
| Serbian | sr_RS |
|
||||||
| Slovenian | sl_SI |
|
| Slovenian | sl_SI |
|
||||||
| Swedish | sv_SE |
|
| Swedish | sv_SE |
|
||||||
|
| Tamil | ta_IN |
|
||||||
| Thai | th_TH |
|
| Thai | th_TH |
|
||||||
| Turkish | tr_TR |
|
| Turkish | tr_TR |
|
||||||
| Russian | ru_RU |
|
| Russian | ru_RU |
|
||||||
|
@ -62,6 +62,7 @@ return (
|
|||||||
| 塞尔维亚 | sr_RS |
|
| 塞尔维亚 | sr_RS |
|
||||||
| 斯洛文尼亚 | sl_SI |
|
| 斯洛文尼亚 | sl_SI |
|
||||||
| 瑞典语 | sv_SE |
|
| 瑞典语 | sv_SE |
|
||||||
|
| 泰米尔人 | ta_IN |
|
||||||
| 泰语 | th_TH |
|
| 泰语 | th_TH |
|
||||||
| 土耳其语 | tr_TR |
|
| 土耳其语 | tr_TR |
|
||||||
| 俄罗斯语 | ru_RU |
|
| 俄罗斯语 | ru_RU |
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"raf": "^3.4.1",
|
"raf": "^3.4.1",
|
||||||
"rc-animate": "^2.8.3",
|
"rc-animate": "^2.8.3",
|
||||||
"rc-calendar": "~9.15.0",
|
"rc-calendar": "~9.15.5",
|
||||||
"rc-cascader": "~0.17.4",
|
"rc-cascader": "~0.17.4",
|
||||||
"rc-checkbox": "~2.1.6",
|
"rc-checkbox": "~2.1.6",
|
||||||
"rc-collapse": "~1.11.3",
|
"rc-collapse": "~1.11.3",
|
||||||
@ -72,7 +72,7 @@
|
|||||||
"rc-mentions": "~0.3.1",
|
"rc-mentions": "~0.3.1",
|
||||||
"rc-menu": "~7.4.23",
|
"rc-menu": "~7.4.23",
|
||||||
"rc-notification": "~3.3.1",
|
"rc-notification": "~3.3.1",
|
||||||
"rc-pagination": "~1.20.1",
|
"rc-pagination": "~1.20.5",
|
||||||
"rc-progress": "~2.5.0",
|
"rc-progress": "~2.5.0",
|
||||||
"rc-rate": "~2.5.0",
|
"rc-rate": "~2.5.0",
|
||||||
"rc-select": "~9.2.0",
|
"rc-select": "~9.2.0",
|
||||||
@ -239,4 +239,4 @@
|
|||||||
"> 1%",
|
"> 1%",
|
||||||
"ie >= 9"
|
"ie >= 9"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user