forked from NG-ZORRO/ng-zorro-antd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(module:i18n): support for Romanian locale (NG-ZORRO#4068)
- Loading branch information
Showing
6 changed files
with
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
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,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' | ||
} | ||
}; |
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,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; |
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
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