Skip to content
Permalink
Browse files

feat(module:i18n): support for Romanian locale (#4068)

  • Loading branch information...
hsuanxyz committed Sep 6, 2019
1 parent bd720fb commit 207e1784e2877729a5ae1e3dc83ad843770dc17f
@@ -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;
@@ -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'
}
};
@@ -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;
@@ -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';
@@ -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 |
@@ -108,6 +108,7 @@ switchLanguage() {
| 泰米尔语 | ta_IN |
| 泰语 | th_TH |
| 土耳其语 | tr_TR |
| 罗马尼亚语 | ro_RO |
| 俄罗斯语 | ru_RU |
| 乌克兰语 | uk_UA |
| 越南语 | vi_VN |

0 comments on commit 207e178

Please sign in to comment.
You can’t perform that action at this time.