diff --git a/components/i18n/languages/date-picker/ro_RO.ts b/components/i18n/languages/date-picker/ro_RO.ts new file mode 100644 index 00000000000..856e0dd5bd4 --- /dev/null +++ b/components/i18n/languages/date-picker/ro_RO.ts @@ -0,0 +1,24 @@ +/** + * @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/ro_RO'; +import TimePickerLocale from '../time-picker/ro_RO'; + +// Merge into a locale object +const locale = { + lang: { + placeholder: 'Selectează data', + rangePlaceholder: ['Data start', 'Data sfârșit'], + ...CalendarLocale + }, + timePickerLocale: { + ...TimePickerLocale + } +}; + +export default locale; diff --git a/components/i18n/languages/ro_RO.ts b/components/i18n/languages/ro_RO.ts new file mode 100644 index 00000000000..62d9fda3a60 --- /dev/null +++ b/components/i18n/languages/ro_RO.ts @@ -0,0 +1,69 @@ +/** + * @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/ro_RO'; +import DatePicker from './date-picker/ro_RO'; +import Pagination from './pagination/ro_RO'; +import TimePicker from './time-picker/ro_RO'; + +export default { + locale: 'ro', + Pagination, + DatePicker, + TimePicker, + Calendar, + global: { + placeholder: 'Selectează' + }, + Table: { + filterTitle: 'Filtrează', + filterConfirm: 'OK', + filterReset: 'Resetează', + selectAll: 'Selectează pagina curentă', + selectInvert: 'Inversează pagina curentă', + sortTitle: 'Ordonează', + expand: 'Extinde rândul', + collapse: 'Micșorează rândul' + }, + Modal: { + okText: 'OK', + cancelText: 'Anulare', + justOkText: 'OK' + }, + Popconfirm: { + okText: 'OK', + cancelText: 'Anulare' + }, + Transfer: { + titles: ['', ''], + searchPlaceholder: 'Căutare', + itemUnit: 'element', + itemsUnit: 'elemente' + }, + Upload: { + uploading: 'Se transferă...', + removeFile: 'Înlătură fișierul', + uploadError: 'Eroare la upload', + previewFile: 'Previzualizare fișier' + }, + Empty: { + description: 'Fără date' + }, + Icon: { + icon: 'icon' + }, + Text: { + edit: 'editează', + copy: 'copiază', + copied: 'copiat', + expand: 'extinde' + }, + PageHeader: { + back: 'înapoi' + } +}; diff --git a/components/i18n/languages/time-picker/ro_RO.ts b/components/i18n/languages/time-picker/ro_RO.ts new file mode 100644 index 00000000000..84cec18ae59 --- /dev/null +++ b/components/i18n/languages/time-picker/ro_RO.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: 'Selectează ora' +}; + +export default locale; diff --git a/components/i18n/public-api.ts b/components/i18n/public-api.ts index 4ad8186f9c3..2f68a11f4bf 100644 --- a/components/i18n/public-api.ts +++ b/components/i18n/public-api.ts @@ -37,6 +37,7 @@ 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 kn_IN } from './languages/kn_IN'; 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'; @@ -49,6 +50,7 @@ export { default as nl_NL } from './languages/nl_NL'; export { default as pl_PL } from './languages/pl_PL'; export { default as pt_BR } from './languages/pt_BR'; export { default as pt_PT } from './languages/pt_PT'; +export { default as ro_RO } from './languages/ro_RO'; export { default as ru_RU } from './languages/ru_RU'; export { default as sk_SK } from './languages/sk_SK'; export { default as sl_SI } from './languages/sl_SI'; diff --git a/docs/i18n.en-US.md b/docs/i18n.en-US.md index 839c7d667a4..ee5afc6c353 100755 --- a/docs/i18n.en-US.md +++ b/docs/i18n.en-US.md @@ -109,6 +109,7 @@ Supported languages: | Tamil | ta_IN | | Thai | th_TH | | Turkish | tr_TR | +| Romanian | ro_RO | | Russian | ru_RU | | Ukrainian | uk_UA | | Vietnamese | vi_VN | diff --git a/docs/i18n.zh-CN.md b/docs/i18n.zh-CN.md index d9f955b07ad..1e45343d0df 100755 --- a/docs/i18n.zh-CN.md +++ b/docs/i18n.zh-CN.md @@ -108,6 +108,7 @@ switchLanguage() { | 泰米尔语 | ta_IN | | 泰语 | th_TH | | 土耳其语 | tr_TR | +| 罗马尼亚语 | ro_RO | | 俄罗斯语 | ru_RU | | 乌克兰语 | uk_UA | | 越南语 | vi_VN |