From f0464ad346a039a6fa3732620c91cf2163b6e825 Mon Sep 17 00:00:00 2001 From: Wendell Date: Mon, 5 Aug 2019 09:57:50 +0800 Subject: [PATCH 1/5] feat(module:i18n): support Malay language --- components/i18n/languages/calendar/ms_MY.ts | 29 +------- .../i18n/languages/date-picker/ms_MY.ts | 54 ++++++++++++++ components/i18n/languages/fr_BE.ts | 6 ++ components/i18n/languages/fr_FR.ts | 6 ++ components/i18n/languages/ms_MY.ts | 70 +++++++++++++++++++ components/i18n/languages/sv_SE.ts | 6 ++ .../i18n/languages/time-picker/ms_MY.ts | 13 ++++ 7 files changed, 157 insertions(+), 27 deletions(-) create mode 100644 components/i18n/languages/date-picker/ms_MY.ts create mode 100644 components/i18n/languages/ms_MY.ts create mode 100644 components/i18n/languages/time-picker/ms_MY.ts diff --git a/components/i18n/languages/calendar/ms_MY.ts b/components/i18n/languages/calendar/ms_MY.ts index 5f53c371a71..c86140c33c7 100755 --- a/components/i18n/languages/calendar/ms_MY.ts +++ b/components/i18n/languages/calendar/ms_MY.ts @@ -6,30 +6,5 @@ * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ -export default { - today: 'Hari ini', - now: 'Sekarang', - backToToday: 'Kembali ke hari ini', - ok: 'Ok', - timeSelect: 'Pilih masa', - dateSelect: 'Pilih tarikh', - weekSelect: 'Pilih minggu', - clear: 'Padam', - month: 'Bulan', - year: 'Tahun', - previousMonth: 'Bulan lepas', - nextMonth: 'Bulan depan', - monthSelect: 'Pilih bulan', - yearSelect: 'Pilih tahun', - decadeSelect: 'Pilih dekad', - yearFormat: 'YYYY', - dayFormat: 'D', - dateFormat: 'M/D/YYYY', - dateTimeFormat: 'M/D/YYYY HH:mm:ss', - previousYear: 'Tahun lepas (Ctrl+left)', - nextYear: 'Tahun depan (Ctrl+right)', - previousDecade: 'Dekad lepas', - nextDecade: 'Dekad depan', - previousCentury: 'Abad lepas', - nextCentury: 'Abad depan' -}; +import ms_MY from '../date-picker/ms_MY'; +export default ms_MY; diff --git a/components/i18n/languages/date-picker/ms_MY.ts b/components/i18n/languages/date-picker/ms_MY.ts new file mode 100644 index 00000000000..6cc6373771f --- /dev/null +++ b/components/i18n/languages/date-picker/ms_MY.ts @@ -0,0 +1,54 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import TimePickerLocale from '../time-picker/ms_MY'; + +const CalendarLocale = { + today: 'Hari ini', + now: 'Sekarang', + backToToday: 'Kembali ke hari ini', + ok: 'Ok', + timeSelect: 'Pilih masa', + dateSelect: 'Pilih tarikh', + weekSelect: 'Pilih minggu', + clear: 'Padam', + month: 'Bulan', + year: 'Tahun', + previousMonth: 'Bulan lepas', + nextMonth: 'Bulan depan', + monthSelect: 'Pilih bulan', + yearSelect: 'Pilih tahun', + decadeSelect: 'Pilih dekad', + yearFormat: 'YYYY', + dayFormat: 'D', + dateFormat: 'M/D/YYYY', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + previousYear: 'Tahun lepas (Ctrl+left)', + nextYear: 'Tahun depan (Ctrl+right)', + previousDecade: 'Dekad lepas', + nextDecade: 'Dekad depan', + previousCentury: 'Abad lepas', + nextCentury: 'Abad depan' +}; + +// Merge into a locale object +const locale = { + lang: { + placeholder: 'Pilih tarikh', + rangePlaceholder: ['Tarikh mula', 'Tarikh akhir'], + ...CalendarLocale + }, + timePickerLocale: { + ...TimePickerLocale + } +}; + +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json + +export default locale; diff --git a/components/i18n/languages/fr_BE.ts b/components/i18n/languages/fr_BE.ts index 47415519285..8bc7a7bfe22 100755 --- a/components/i18n/languages/fr_BE.ts +++ b/components/i18n/languages/fr_BE.ts @@ -38,5 +38,11 @@ export default { }, Empty: { description: 'Aucune donnée' + }, + Text: { + edit: 'éditer', + copy: 'copier', + copied: 'copie effectuée', + expand: 'développer' } }; diff --git a/components/i18n/languages/fr_FR.ts b/components/i18n/languages/fr_FR.ts index 89ec487462f..69435f787c9 100755 --- a/components/i18n/languages/fr_FR.ts +++ b/components/i18n/languages/fr_FR.ts @@ -46,5 +46,11 @@ export default { }, Empty: { description: 'Aucune donnée' + }, + Text: { + edit: 'éditer', + copy: 'copier', + copied: 'copie effectuée', + expand: 'développer' } }; diff --git a/components/i18n/languages/ms_MY.ts b/components/i18n/languages/ms_MY.ts new file mode 100644 index 00000000000..132d56152c2 --- /dev/null +++ b/components/i18n/languages/ms_MY.ts @@ -0,0 +1,70 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import Calendar from './calendar/ms_MY'; +import DatePicker from './date-picker/ms_MY'; +import Pagination from './pagination/ms_MY'; +import TimePicker from './time-picker/ms_MY'; + +export default { + locale: 'ms-my', + Pagination, + DatePicker, + TimePicker, + Calendar, + global: { + placeholder: 'Sila pilih' + }, + PageHeader: { + back: 'Kembali' + }, + Text: { + edit: 'Sunting', + copy: 'Salin', + copied: 'Berjaya menyalin', + expand: 'Kembang' + }, + Empty: { + description: 'Tiada data' + }, + Table: { + filterTitle: 'Cari dengan tajuk', + filterConfirm: 'Ok', + filterReset: 'Menetapkan semula', + emptyText: 'Tiada data', + selectAll: 'Pilih semua', + selectInvert: 'Terbalikkan' + }, + Modal: { + okText: 'OK', + cancelText: 'Batal', + justOkText: 'OK' + }, + Popconfirm: { + okText: 'OK', + cancelText: 'Batal' + }, + Transfer: { + notFoundContent: 'Tidak dijumpai', + searchPlaceholder: 'Carian di sini', + itemUnit: 'item', + itemsUnit: 'item' + }, + Icon: { + icon: 'ikon' + }, + Select: { + notFoundContent: 'Tidak Dijumpai' + }, + Upload: { + uploading: 'Sedang memuat naik...', + removeFile: 'Buang fail', + uploadError: 'Masalah muat naik', + previewFile: 'Tengok fail' + } +}; diff --git a/components/i18n/languages/sv_SE.ts b/components/i18n/languages/sv_SE.ts index e9710b0192e..4bbee51f9ae 100755 --- a/components/i18n/languages/sv_SE.ts +++ b/components/i18n/languages/sv_SE.ts @@ -38,5 +38,11 @@ export default { }, Empty: { description: 'Ingen information' + }, + Text: { + edit: 'editera', + copy: 'kopiera', + copied: 'kopierad', + expand: 'expandera' } }; diff --git a/components/i18n/languages/time-picker/ms_MY.ts b/components/i18n/languages/time-picker/ms_MY.ts new file mode 100644 index 00000000000..7100b617bbc --- /dev/null +++ b/components/i18n/languages/time-picker/ms_MY.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +const locale = { + placeholder: 'Sila pilih masa' +}; + +export default locale; From 5874824f6ed82d0eac1babed37f4e26fb15b25ed Mon Sep 17 00:00:00 2001 From: Wendell Date: Mon, 5 Aug 2019 10:08:40 +0800 Subject: [PATCH 2/5] docs: update i18n docs --- docs/i18n.en-US.md | 7 ++++++- docs/i18n.zh-CN.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/i18n.en-US.md b/docs/i18n.en-US.md index 25b89892021..a1ebec08ef2 100755 --- a/docs/i18n.en-US.md +++ b/docs/i18n.en-US.md @@ -70,6 +70,7 @@ Supported languages: | Bulgarian | bg_BG | | Catalan | ca_ES | | Czech | cs_CZ | +| Denmark | da_DK | | German | de_DE | | Greek | el_GR | | English (Global) | en_GB | @@ -90,6 +91,10 @@ Supported languages: | Japanese | ja_JP | | Kannada | kn_IN | | Korean | ko_KR | +| Kurdish | ku_IQ | +| Latvian | lv_LV | +| Malay | ms_MY | +| Mongolian | mn_MN | | Norwegian | nb_NO | | Nepal | ne_NP | | Dutch (Belgium) | nl_BE | @@ -148,4 +153,4 @@ registerLocaleData(en); ## Language supported by date-fns -[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) \ No newline at end of file +[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) diff --git a/docs/i18n.zh-CN.md b/docs/i18n.zh-CN.md index 56de40327fb..c555e73d62b 100755 --- a/docs/i18n.zh-CN.md +++ b/docs/i18n.zh-CN.md @@ -69,6 +69,7 @@ switchLanguage() { | 保加利亚语 | bg_BG | | 加泰罗尼亚语 | ca_ES | | 捷克语 | cs_CZ | +| 丹麦语 | da_DK | | 德语 | de_DE | | 希腊语 | el_GR | | 英语 | en_GB | @@ -89,6 +90,10 @@ switchLanguage() { | 日语 | ja_JP | | 卡纳达语 | kn_IN | | 韩语/朝鲜语 | ko_KR | +| 库尔德语 | ku_IQ | +| 拉脱维亚语 | lv_LV | +| 马来语 | ms_MY | +| 蒙古语 | mn_MN | | 挪威 | nb_NO | | 尼泊尔语 | ne_NP | | 荷兰语(比利时) | nl_BE | @@ -147,4 +152,4 @@ registerLocaleData(en); ## date-fns 支持语言 -[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) \ No newline at end of file +[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) From a1da72d3b7d141baa69f369120cda311a204c57a Mon Sep 17 00:00:00 2001 From: Wendell Date: Mon, 5 Aug 2019 10:18:39 +0800 Subject: [PATCH 3/5] feat(module:i18n): add Tamil language --- components/i18n/languages/calendar/ms_MY.ts | 29 +++++++- components/i18n/languages/calendar/ta_IN.ts | 36 ++++++++++ .../i18n/languages/date-picker/ms_MY.ts | 29 +------- .../i18n/languages/date-picker/ta_IN.ts | 27 +++++++ components/i18n/languages/pagination/ta_IN.ts | 23 ++++++ components/i18n/languages/ta_IN.ts | 70 +++++++++++++++++++ .../i18n/languages/time-picker/ta_IN.ts | 13 ++++ docs/i18n.en-US.md | 1 + docs/i18n.zh-CN.md | 1 + 9 files changed, 199 insertions(+), 30 deletions(-) create mode 100644 components/i18n/languages/calendar/ta_IN.ts create mode 100644 components/i18n/languages/date-picker/ta_IN.ts create mode 100644 components/i18n/languages/pagination/ta_IN.ts create mode 100644 components/i18n/languages/ta_IN.ts create mode 100644 components/i18n/languages/time-picker/ta_IN.ts diff --git a/components/i18n/languages/calendar/ms_MY.ts b/components/i18n/languages/calendar/ms_MY.ts index c86140c33c7..5f53c371a71 100755 --- a/components/i18n/languages/calendar/ms_MY.ts +++ b/components/i18n/languages/calendar/ms_MY.ts @@ -6,5 +6,30 @@ * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ -import ms_MY from '../date-picker/ms_MY'; -export default ms_MY; +export default { + today: 'Hari ini', + now: 'Sekarang', + backToToday: 'Kembali ke hari ini', + ok: 'Ok', + timeSelect: 'Pilih masa', + dateSelect: 'Pilih tarikh', + weekSelect: 'Pilih minggu', + clear: 'Padam', + month: 'Bulan', + year: 'Tahun', + previousMonth: 'Bulan lepas', + nextMonth: 'Bulan depan', + monthSelect: 'Pilih bulan', + yearSelect: 'Pilih tahun', + decadeSelect: 'Pilih dekad', + yearFormat: 'YYYY', + dayFormat: 'D', + dateFormat: 'M/D/YYYY', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + previousYear: 'Tahun lepas (Ctrl+left)', + nextYear: 'Tahun depan (Ctrl+right)', + previousDecade: 'Dekad lepas', + nextDecade: 'Dekad depan', + previousCentury: 'Abad lepas', + nextCentury: 'Abad depan' +}; diff --git a/components/i18n/languages/calendar/ta_IN.ts b/components/i18n/languages/calendar/ta_IN.ts new file mode 100644 index 00000000000..60e711a11a8 --- /dev/null +++ b/components/i18n/languages/calendar/ta_IN.ts @@ -0,0 +1,36 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +export default { + today: 'இன்று', + now: 'இப்போது', + backToToday: 'இன்றுக்கு திரும்பு', + ok: 'சரி', + clear: 'அழி', + month: 'மாதம்', + year: 'வருடம்', + timeSelect: 'நேரத்தைத் தேர்ந்தெடு', + dateSelect: 'தேதியைத் தேர்ந்தெடு', + weekSelect: 'வாரத்தைத் தேர்வுசெய்க', + monthSelect: 'மாதத்தைத் தேர்வுசெய்க', + yearSelect: 'வருடத்தைத் தேர்வுசெய்க', + decadeSelect: 'தசாப்தத்தைத் தேர்வுசெய்க', + yearFormat: 'YYYY', + dateFormat: 'M/D/YYYY', + dayFormat: 'D', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + monthBeforeYear: true, + previousMonth: 'முந்தைய மாதம் (PageUp)', + nextMonth: 'அடுத்த மாதம் (PageDown)', + previousYear: 'முந்தைய வருடம் (Control + left)', + nextYear: 'அடுத்த வருடம் (Control + right)', + previousDecade: 'முந்தைய தசாப்தம்', + nextDecade: 'அடுத்த தசாப்தம்', + previousCentury: 'முந்தைய நூற்றாண்டு', + nextCentury: 'அடுத்த நூற்றாண்டு' +}; diff --git a/components/i18n/languages/date-picker/ms_MY.ts b/components/i18n/languages/date-picker/ms_MY.ts index 6cc6373771f..14050218c1d 100644 --- a/components/i18n/languages/date-picker/ms_MY.ts +++ b/components/i18n/languages/date-picker/ms_MY.ts @@ -6,36 +6,9 @@ * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ +import CalendarLocale from '../calendar/ms_MY'; import TimePickerLocale from '../time-picker/ms_MY'; -const CalendarLocale = { - today: 'Hari ini', - now: 'Sekarang', - backToToday: 'Kembali ke hari ini', - ok: 'Ok', - timeSelect: 'Pilih masa', - dateSelect: 'Pilih tarikh', - weekSelect: 'Pilih minggu', - clear: 'Padam', - month: 'Bulan', - year: 'Tahun', - previousMonth: 'Bulan lepas', - nextMonth: 'Bulan depan', - monthSelect: 'Pilih bulan', - yearSelect: 'Pilih tahun', - decadeSelect: 'Pilih dekad', - yearFormat: 'YYYY', - dayFormat: 'D', - dateFormat: 'M/D/YYYY', - dateTimeFormat: 'M/D/YYYY HH:mm:ss', - previousYear: 'Tahun lepas (Ctrl+left)', - nextYear: 'Tahun depan (Ctrl+right)', - previousDecade: 'Dekad lepas', - nextDecade: 'Dekad depan', - previousCentury: 'Abad lepas', - nextCentury: 'Abad depan' -}; - // Merge into a locale object const locale = { lang: { diff --git a/components/i18n/languages/date-picker/ta_IN.ts b/components/i18n/languages/date-picker/ta_IN.ts new file mode 100644 index 00000000000..53e6004d31d --- /dev/null +++ b/components/i18n/languages/date-picker/ta_IN.ts @@ -0,0 +1,27 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import CalendarLocale from '../calendar/ta_IN'; +import TimePickerLocale from '../time-picker/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; diff --git a/components/i18n/languages/pagination/ta_IN.ts b/components/i18n/languages/pagination/ta_IN.ts new file mode 100644 index 00000000000..c03174ce422 --- /dev/null +++ b/components/i18n/languages/pagination/ta_IN.ts @@ -0,0 +1,23 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +export default { + // Options.jsx + items_per_page: '/ பக்கம்', + jump_to: 'அடுத்த', + jump_to_confirm: 'உறுதிப்படுத்தவும்', + page: '', + + // Pagination.jsx + prev_page: 'முந்தைய பக்கம்', + next_page: 'அடுத்த பக்கம்', + prev_5: 'முந்தைய 5 பக்கங்கள்', + next_5: 'அடுத்த 5 பக்கங்கள்', + prev_3: 'முந்தைய 3 பக்கங்கள்', + next_3: 'அடுத்த 3 பக்கங்கள்' +}; diff --git a/components/i18n/languages/ta_IN.ts b/components/i18n/languages/ta_IN.ts new file mode 100644 index 00000000000..f760c1a2686 --- /dev/null +++ b/components/i18n/languages/ta_IN.ts @@ -0,0 +1,70 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import Calendar from '../calendar//ta_IN'; +import DatePicker from '../date-picker/ta_IN'; +import Pagination from '../pagination/ta_IN'; +import TimePicker from '../time-picker/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: 'பின் செல்லவும்' + } +}; diff --git a/components/i18n/languages/time-picker/ta_IN.ts b/components/i18n/languages/time-picker/ta_IN.ts new file mode 100644 index 00000000000..e7cb79cf4a1 --- /dev/null +++ b/components/i18n/languages/time-picker/ta_IN.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +const locale = { + placeholder: 'நேரத்தைத் தேர்ந்தெடுக்கவும்' +}; + +export default locale; diff --git a/docs/i18n.en-US.md b/docs/i18n.en-US.md index a1ebec08ef2..fa5a4e778c3 100755 --- a/docs/i18n.en-US.md +++ b/docs/i18n.en-US.md @@ -106,6 +106,7 @@ Supported languages: | Serbian | sr_RS | | Slovenian | sl_SI | | Swedish | sv_SE | +| Tamil | ta_IN | | Thai | th_TH | | Turkish | tr_TR | | Russian | ru_RU | diff --git a/docs/i18n.zh-CN.md b/docs/i18n.zh-CN.md index c555e73d62b..e004004816e 100755 --- a/docs/i18n.zh-CN.md +++ b/docs/i18n.zh-CN.md @@ -105,6 +105,7 @@ switchLanguage() { | 塞尔维亚 | sr_RS | | 斯洛文尼亚 | sl_SI | | 瑞典语 | sv_SE | +| 泰米尔语 | ta_IN | | 泰语 | th_TH | | 土耳其语 | tr_TR | | 俄罗斯语 | ru_RU | From ad6e9a26d02ab9f503804dceff50e58197607c16 Mon Sep 17 00:00:00 2001 From: Wendell Date: Mon, 5 Aug 2019 10:28:07 +0800 Subject: [PATCH 4/5] fix: path --- components/i18n/languages/ta_IN.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/i18n/languages/ta_IN.ts b/components/i18n/languages/ta_IN.ts index f760c1a2686..19db1feed81 100644 --- a/components/i18n/languages/ta_IN.ts +++ b/components/i18n/languages/ta_IN.ts @@ -6,10 +6,10 @@ * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ -import Calendar from '../calendar//ta_IN'; -import DatePicker from '../date-picker/ta_IN'; -import Pagination from '../pagination/ta_IN'; -import TimePicker from '../time-picker/ta_IN'; +import Calendar from './calendar//ta_IN'; +import DatePicker from './date-picker/ta_IN'; +import Pagination from './pagination/ta_IN'; +import TimePicker from './time-picker/ta_IN'; export default { locale: 'ta', From de4d2951d9f05f755b1d4041d755eea4ed8d99b7 Mon Sep 17 00:00:00 2001 From: Wendell Date: Tue, 6 Aug 2019 10:17:53 +0800 Subject: [PATCH 5/5] fix: add missing export --- components/i18n/languages/{ne-NP.ts => ne_NP.ts} | 0 components/i18n/public-api.ts | 11 +++++++++++ 2 files changed, 11 insertions(+) rename components/i18n/languages/{ne-NP.ts => ne_NP.ts} (100%) diff --git a/components/i18n/languages/ne-NP.ts b/components/i18n/languages/ne_NP.ts similarity index 100% rename from components/i18n/languages/ne-NP.ts rename to components/i18n/languages/ne_NP.ts diff --git a/components/i18n/public-api.ts b/components/i18n/public-api.ts index 9a15efb5a43..4ad8186f9c3 100644 --- a/components/i18n/public-api.ts +++ b/components/i18n/public-api.ts @@ -29,11 +29,21 @@ export { default as fa_IR } from './languages/fa_IR'; export { default as fi_FI } from './languages/fi_FI'; export { default as fr_BE } from './languages/fr_BE'; export { default as fr_FR } from './languages/fr_FR'; +export { default as he_IL } from './languages/he_IL'; +export { default as hi_IN } from './languages/hi_IN'; +export { default as hr_HR } from './languages/hr_HR'; +export { default as hu_HU } from './languages/hu_HU'; +export { default as id_ID } from './languages/id_ID'; export { default as is_IS } from './languages/is_IS'; export { default as it_IT } from './languages/it_IT'; export { default as ja_JP } from './languages/ja_JP'; export { default as ko_KR } from './languages/ko_KR'; +export { default as ku_IQ } from './languages/ku_IQ'; +export { default as lv_LV } from './languages/lv_LV'; +export { default as mn_MN } from './languages/mn_MN'; +export { default as ms_MY } from './languages/ms_MY'; export { default as nb_NO } from './languages/nb_NO'; +export { default as ne_NP } from './languages/ne_NP'; export { default as nl_BE } from './languages/nl_BE'; export { default as nl_NL } from './languages/nl_NL'; export { default as pl_PL } from './languages/pl_PL'; @@ -44,6 +54,7 @@ export { default as sk_SK } from './languages/sk_SK'; export { default as sl_SI } from './languages/sl_SI'; export { default as sr_RS } from './languages/sr_RS'; export { default as sv_SE } from './languages/sv_SE'; +export { default as ta_IN } from './languages/ta_IN'; export { default as th_TH } from './languages/th_TH'; export { default as tr_TR } from './languages/tr_TR'; export { default as uk_UA } from './languages/uk_UA';