tjz
7 years ago
58 changed files with 471 additions and 105 deletions
@ -0,0 +1,43 @@
|
||||
import TimePickerLocale from '../../time-picker/locale/sl_SI' |
||||
|
||||
// Merge into a locale object
|
||||
const locale = { |
||||
lang: { |
||||
placeholder: 'Izberite datum', |
||||
rangePlaceholder: ['Začetni datum', 'Končni datum'], |
||||
today: 'Danes', |
||||
now: 'Trenutno', |
||||
backToToday: 'Nazaj na trenutni datum', |
||||
ok: 'Ok', |
||||
clear: 'Počisti', |
||||
month: 'Mesec', |
||||
year: 'Leto', |
||||
timeSelect: 'Izberi čas', |
||||
dateSelect: 'Izberi datum', |
||||
monthSelect: 'Izberite mesec', |
||||
yearSelect: 'Izberite leto', |
||||
decadeSelect: 'Izberite desetletje', |
||||
yearFormat: 'YYYY', |
||||
dateFormat: 'D.M.YYYY', |
||||
dayFormat: 'D', |
||||
dateTimeFormat: 'D.M.YYYY HH:mm:ss', |
||||
monthFormat: 'MMMM', |
||||
monthBeforeYear: true, |
||||
previousMonth: 'Prejšnji mesec (PageUp)', |
||||
nextMonth: 'Naslednji mesec (PageDown)', |
||||
previousYear: 'Lansko leto (Control + left)', |
||||
nextYear: 'Naslednje leto (Control + right)', |
||||
previousDecade: 'Prejšnje desetletje', |
||||
nextDecade: 'Naslednje desetletje', |
||||
previousCentury: 'Zadnje stoletje', |
||||
nextCentury: 'Naslednje stoletje', |
||||
}, |
||||
timePickerLocale: { |
||||
...TimePickerLocale, |
||||
}, |
||||
} |
||||
|
||||
// All settings at:
|
||||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||||
|
||||
export default locale |
@ -0,0 +1,20 @@
|
||||
<cn> |
||||
#### 标题位置 |
||||
修改分割线标题的位置。 |
||||
</cn> |
||||
|
||||
<us> |
||||
#### Orientation of title |
||||
Set orientation of divider to left or right. |
||||
</us> |
||||
|
||||
```html |
||||
<template> |
||||
<div> |
||||
<a-divider orientation="left">Left Text</a-divider> |
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.</p> |
||||
<a-divider orientation="right">Right Text</a-divider> |
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.</p> |
||||
</div> |
||||
</template> |
||||
``` |
@ -0,0 +1,44 @@
|
||||
import Pagination from '../vc-pagination/locale/sl_SI' |
||||
import DatePicker from '../date-picker/locale/sl_SI' |
||||
import TimePicker from '../time-picker/locale/sl_SI' |
||||
import Calendar from '../calendar/locale/sl_SI' |
||||
|
||||
export default { |
||||
locale: 'sl', |
||||
Pagination, |
||||
DatePicker, |
||||
TimePicker, |
||||
Calendar, |
||||
Table: { |
||||
filterTitle: 'Filter', |
||||
filterConfirm: 'Filtriraj', |
||||
filterReset: 'Pobriši filter', |
||||
emptyText: 'Ni podatkov', |
||||
selectAll: 'Izberi vse na trenutni strani', |
||||
selectInvert: 'Obrni izbor na trenutni strani', |
||||
}, |
||||
Modal: { |
||||
okText: 'V redu', |
||||
cancelText: 'Prekliči', |
||||
justOkText: 'V redu', |
||||
}, |
||||
Popconfirm: { |
||||
okText: 'v redu', |
||||
cancelText: 'Prekliči', |
||||
}, |
||||
Transfer: { |
||||
notFoundContent: 'Ni rezultatov iskanja', |
||||
searchPlaceholder: 'Išči tukaj', |
||||
itemUnit: 'Objekt', |
||||
itemsUnit: 'Objektov', |
||||
}, |
||||
Select: { |
||||
notFoundContent: 'Ni bilo mogoče najti', |
||||
}, |
||||
Upload: { |
||||
uploading: 'Nalaganje...', |
||||
removeFile: 'Odstrani datoteko', |
||||
uploadError: 'Napaka pri nalaganju', |
||||
previewFile: 'Predogled datoteke', |
||||
}, |
||||
} |
@ -1,44 +1,44 @@
|
||||
import Pagination from '../vc-pagination/locale/en_US'; |
||||
import DatePicker from '../date-picker/locale/tr_TR'; |
||||
import TimePicker from '../time-picker/locale/tr_TR'; |
||||
import Calendar from '../calendar/locale/tr_TR'; |
||||
import Pagination from '../vc-pagination/locale/tr_TR' |
||||
import DatePicker from '../date-picker/locale/tr_TR' |
||||
import TimePicker from '../time-picker/locale/tr_TR' |
||||
import Calendar from '../calendar/locale/tr_TR' |
||||
|
||||
export default { |
||||
locale : 'tr', |
||||
locale: 'tr', |
||||
Pagination, |
||||
DatePicker, |
||||
TimePicker, |
||||
Calendar, |
||||
Table : { |
||||
Table: { |
||||
filterTitle: 'Menü Filtrele', |
||||
filterConfirm: 'Tamam', |
||||
filterReset: 'Sıfırla', |
||||
emptyText: 'Veri Yok', |
||||
selectAll: 'Hepsini Seç', |
||||
selectInvert: 'Tersini Seç' |
||||
selectInvert: 'Tersini Seç', |
||||
}, |
||||
Modal : { |
||||
Modal: { |
||||
okText: 'Tamam', |
||||
cancelText: 'İptal', |
||||
justOkText: 'Tamam' |
||||
justOkText: 'Tamam', |
||||
}, |
||||
Popconfirm : { |
||||
Popconfirm: { |
||||
okText: 'Tamam', |
||||
cancelText: 'İptal' |
||||
cancelText: 'İptal', |
||||
}, |
||||
Transfer : { |
||||
Transfer: { |
||||
notFoundContent: 'Bulunamadı', |
||||
searchPlaceholder: 'Arama', |
||||
itemUnit: 'Öğe', |
||||
itemsUnit: 'Öğeler' |
||||
itemsUnit: 'Öğeler', |
||||
}, |
||||
Select : { |
||||
notFoundContent: 'Bulunamadı' |
||||
Select: { |
||||
notFoundContent: 'Bulunamadı', |
||||
}, |
||||
Upload : { |
||||
Upload: { |
||||
uploading: 'Yükleniyor...', |
||||
removeFile: `Dosyayı kaldır`, |
||||
uploadError: 'Yükleme Hatası', |
||||
previewFile: `Dosyayı Önizle` |
||||
} |
||||
}; |
||||
previewFile: `Dosyayı Önizle`, |
||||
}, |
||||
} |
||||
|
@ -0,0 +1,5 @@
|
||||
const locale = { |
||||
placeholder: 'Izberite čas', |
||||
} |
||||
|
||||
export default locale |
Loading…
Reference in new issue