UNPKG

3.61 kBJavaScriptView Raw
1/* eslint-disable no-template-curly-in-string */
2import Pagination from "rc-pagination/es/locale/he_IL";
3import Calendar from '../calendar/locale/he_IL';
4import DatePicker from '../date-picker/locale/he_IL';
5import TimePicker from '../time-picker/locale/he_IL';
6var typeTemplate = '${label} הוא לא ${type} תקין';
7var localeValues = {
8 locale: 'he',
9 Pagination: Pagination,
10 DatePicker: DatePicker,
11 TimePicker: TimePicker,
12 Calendar: Calendar,
13 global: {
14 placeholder: 'אנא בחר'
15 },
16 Table: {
17 filterTitle: 'תפריט סינון',
18 filterConfirm: 'אישור',
19 filterReset: 'איפוס',
20 selectAll: 'בחר הכל',
21 selectInvert: 'הפוך בחירה',
22 selectionAll: 'בחר את כל הנתונים',
23 sortTitle: 'מיון',
24 expand: 'הרחב שורה',
25 collapse: 'צמצם שורהw',
26 triggerDesc: 'לחץ על מיון לפי סדר יורד',
27 triggerAsc: 'לחץ על מיון לפי סדר עולה',
28 cancelSort: 'לחץ כדי לבטל את המיון'
29 },
30 Modal: {
31 okText: 'אישור',
32 cancelText: 'ביטול',
33 justOkText: 'אישור'
34 },
35 Popconfirm: {
36 okText: 'אישור',
37 cancelText: 'ביטול'
38 },
39 Transfer: {
40 searchPlaceholder: 'חפש כאן',
41 itemUnit: 'פריט',
42 itemsUnit: 'פריטים'
43 },
44 Upload: {
45 uploading: 'מעלה...',
46 removeFile: 'הסר קובץ',
47 uploadError: 'שגיאת העלאה',
48 previewFile: 'הצג קובץ',
49 downloadFile: 'הורד קובץ'
50 },
51 Empty: {
52 description: 'אין מידע'
53 },
54 Icon: {
55 icon: 'סמל'
56 },
57 Text: {
58 edit: 'ערוך',
59 copy: 'העתק',
60 copied: 'הועתק',
61 expand: 'הרחב'
62 },
63 PageHeader: {
64 back: 'חזרה'
65 },
66 Form: {
67 defaultValidateMessages: {
68 "default": 'ערך השדה שגוי ${label}',
69 required: 'בבקשה הזן ${label}',
70 "enum": '${label} חייב להיות אחד מערכים אלו [${enum}]',
71 whitespace: '${label} לא יכול להיות ריק',
72 date: {
73 format: '${label} תאריך לא תקין',
74 parse: '${label} לא ניתן להמיר לתאריך',
75 invalid: '${label} הוא לא תאריך תקין'
76 },
77 types: {
78 string: typeTemplate,
79 method: typeTemplate,
80 array: typeTemplate,
81 object: typeTemplate,
82 number: typeTemplate,
83 date: typeTemplate,
84 "boolean": typeTemplate,
85 integer: typeTemplate,
86 "float": typeTemplate,
87 regexp: typeTemplate,
88 email: typeTemplate,
89 url: typeTemplate,
90 hex: typeTemplate
91 },
92 string: {
93 len: '${label} חייב להיות ${len} תווים',
94 min: '${label} חייב להיות ${min} תווים',
95 max: '${label} מקסימום ${max} תווים',
96 range: '${label} חייב להיות בין ${min}-${max} תווים'
97 },
98 number: {
99 len: '${label} חייב להיות שווה ל ${len}',
100 min: '${label} ערך מינימלי הוא ${min}',
101 max: '${label} ערך מקסימלי הוא ${max}',
102 range: '${label} חייב להיות בין ${min}-${max}'
103 },
104 array: {
105 len: 'חייב להיות ${len} ${label}',
106 min: 'מינימום ${min} ${label}',
107 max: 'מקסימום ${max} ${label}',
108 range: 'הסכום של ${label} חייב להיות בין ${min}-${max}'
109 },
110 pattern: {
111 mismatch: '${label} לא תואם לתבנית ${pattern}'
112 }
113 }
114 }
115};
116export default localeValues;
\No newline at end of file