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): add Slovenian support, ICU locale sl_SI, NG-ZORRO#…
…2545 (NG-ZORRO#2652) close NG-ZORRO#2545
- Loading branch information
1 parent
fd857f8
commit cae3868
Showing
6 changed files
with
111 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,27 @@ | ||
export default { | ||
today: 'Danes', | ||
now: 'Zdaj', | ||
backToToday: 'Nazaj na danes', | ||
ok: 'V redu', | ||
clear: 'Počisti', | ||
month: 'Mesec', | ||
year: 'Leto', | ||
timeSelect: 'Izberi čas', | ||
dateSelect: 'Izberi datum', | ||
monthSelect: 'Izberi mesec', | ||
yearSelect: 'Izberi leto', | ||
decadeSelect: 'Izberi desetletje', | ||
yearFormat: 'YYYY', | ||
dateFormat: 'DD.MM.YYYY', | ||
dayFormat: 'D', | ||
dateTimeFormat: 'DD.MM.YYYY HH:mm:ss', | ||
monthBeforeYear: true, | ||
previousMonth: 'Predhodnji mesec (PageUp)', | ||
nextMonth: 'Naslednji mesec (PageDown)', | ||
previousYear: 'Prejšnje leto (Control + left)', | ||
nextYear: 'Naslednje leto (Control + right)', | ||
previousDecade: 'Prejšnje desetletje', | ||
nextDecade: 'Naslednje desetletje', | ||
previousCentury: 'Prejšnje stoletje', | ||
nextCentury: 'Naslednje stoletje', | ||
}; |
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,19 @@ | ||
import CalendarLocale from '../calendar/sl_SI'; | ||
import TimePickerLocale from '../time-picker/sl_SI'; | ||
|
||
// Merge into a locale object | ||
const locale = { | ||
lang: { | ||
placeholder: 'Izberite datum', | ||
rangePlaceholder: ['Začetni datum', 'Končni datum'], | ||
...CalendarLocale, | ||
}, | ||
timePickerLocale: { | ||
...TimePickerLocale, | ||
}, | ||
}; | ||
|
||
// All settings at: | ||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json | ||
|
||
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,15 @@ | ||
export default { | ||
// Options.jsx | ||
items_per_page: '/ stran', | ||
jump_to: 'Pojdi na', | ||
jump_to_confirm: 'potrdi', | ||
page: '', | ||
|
||
// Pagination.jsx | ||
prev_page: 'Prejšnja stran', | ||
next_page: 'Naslednja stran', | ||
prev_5: 'Prejšnjih 5 Strani', | ||
next_5: 'Naslednjih 5 Strani', | ||
prev_3: 'Prejšnje 3 Strani', | ||
next_3: 'Naslednje 3 Strani', | ||
}; |
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,44 @@ | ||
import Calendar from './calendar/sl_SI'; | ||
import DatePicker from './date-picker/sl_SI'; | ||
import Pagination from './pagination/sl_SI'; | ||
import TimePicker from './time-picker/sl_SI'; | ||
|
||
export default { | ||
locale: 'sl', | ||
Pagination, | ||
DatePicker, | ||
TimePicker, | ||
Calendar, | ||
Table: { | ||
filterTitle: 'Filter', | ||
filterConfirm: 'Potrdi', | ||
filterReset: 'Ponastavi', | ||
emptyText: 'Ni podataka', | ||
selectAll: 'Izberi trenutno stran', | ||
selectInvert: 'Obrni vrstni red izbora', | ||
}, | ||
Modal: { | ||
okText: 'V redu', | ||
cancelText: 'Prekliči', | ||
justOkText: 'V redu', | ||
}, | ||
Popconfirm: { | ||
okText: 'V redu', | ||
cancelText: 'Prekliči', | ||
}, | ||
Transfer: { | ||
notFoundContent: 'Ni zadetkov', | ||
searchPlaceholder: 'Išči tukaj', | ||
itemUnit: 'vnos', | ||
itemsUnit: 'vnosi', | ||
}, | ||
Select: { | ||
notFoundContent: 'Ni zadetkov', | ||
}, | ||
Upload: { | ||
uploading: 'Nalaganje...', | ||
removeFile: 'Odstrani datoteko', | ||
uploadError: 'Napaka pri nalaganju', | ||
previewFile: 'Predogled datoteke', | ||
}, | ||
}; |
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,5 @@ | ||
const locale = { | ||
placeholder: 'Izberite čas', | ||
}; | ||
|
||
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