Added Hebrew translations
parent
73fd819322
commit
b05488c3b0
@ -0,0 +1,2 @@
|
||||
import he_IL from '../../date-picker/locale/he_IL';
|
||||
export default he_IL;
|
@ -0,0 +1,19 @@
|
||||
import CalendarLocale from 'rc-calendar/lib/locale/en_US';
|
||||
import TimePickerLocale from '../../time-picker/locale/he_IL';
|
||||
|
||||
// Merge into a locale object
|
||||
const locale = {
|
||||
lang: {
|
||||
placeholder: 'בחר תאריך',
|
||||
rangePlaceholder: ['תאריך התחלה', 'תאריך סיום'],
|
||||
...CalendarLocale,
|
||||
},
|
||||
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,44 @@
|
||||
import Pagination from 'rc-pagination/lib/locale/en_US';
|
||||
import DatePicker from '../date-picker/locale/he_IL';
|
||||
import TimePicker from '../time-picker/locale/he_IL';
|
||||
import Calendar from '../calendar/locale/he_IL';
|
||||
|
||||
export default {
|
||||
locale: 'he',
|
||||
Pagination,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
Calendar,
|
||||
Table: {
|
||||
filterTitle: 'תפריט סינון',
|
||||
filterConfirm: 'אישור',
|
||||
filterReset: 'איפוס',
|
||||
emptyText: 'אין מידע',
|
||||
selectAll: 'בחר הכל',
|
||||
selectInvert: 'הפוך בחירה',
|
||||
},
|
||||
Modal: {
|
||||
okText: 'אישור',
|
||||
cancelText: 'ביטול',
|
||||
justOkText: 'אישור',
|
||||
},
|
||||
Popconfirm: {
|
||||
okText: 'אישור',
|
||||
cancelText: 'ביטול',
|
||||
},
|
||||
Transfer: {
|
||||
notFoundContent: 'לא נמצא',
|
||||
searchPlaceholder: 'חפש כאן',
|
||||
itemUnit: 'פריט',
|
||||
itemsUnit: 'פריטים',
|
||||
},
|
||||
Select: {
|
||||
notFoundContent: 'לא נמצא',
|
||||
},
|
||||
Upload: {
|
||||
uploading: 'מעלה...',
|
||||
removeFile: 'הסר קובץ',
|
||||
uploadError: 'שגיאת העלאה',
|
||||
previewFile: 'הצג קובץ',
|
||||
},
|
||||
};
|
@ -0,0 +1,5 @@
|
||||
const locale = {
|
||||
placeholder: 'בחר שעה',
|
||||
};
|
||||
|
||||
export default locale;
|
Loading…
Reference in New Issue