Added Hebrew translations

pull/12618/head
Oren Kosto 6 years ago committed by 偏右
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;

@ -42,8 +42,9 @@ import ukUA from '../uk_UA';
import zhCN from '../zh_CN';
import kuIQ from '../ku_IQ';
import mnMN from '../mn_MN';
import heIL from '../he_IL';
const locales = [enUS, ptBR, ptPT, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW, fiFI, plPL, bgBG, enGB, frFR, nlBE, itIT, viVN, thTH, faIR, elGR, nbNO, srRS, slSI, isIS, arEG, ukUA, zhCN, kuIQ, mnMN];
const locales = [enUS, ptBR, ptPT, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW, fiFI, plPL, bgBG, enGB, frFR, nlBE, itIT, viVN, thTH, faIR, elGR, nbNO, srRS, slSI, isIS, arEG, ukUA, zhCN, kuIQ, mnMN, heIL];
const { Option } = Select;
const { RangePicker } = DatePicker;

@ -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;

@ -27,6 +27,7 @@ Supported languages:
|Language|Filename|
|---|---|
|Hebrew|he_IL|
|Arabic|ar_EG|
|Bulgarian|bg_BG|
|Catalan|ca_ES|

@ -25,6 +25,7 @@ return (
|语言|文件名|
|---|---|
|希伯来语|he_IL|
|阿拉伯|ar_EG|
|保加利亚语|bg_BG|
|加泰罗尼亚语|ca_ES|

Loading…
Cancel
Save