|
import Pagination from 'rc-pagination/lib/locale/he_IL'; |
|
|
|
import type { Locale } from '.'; |
|
import Calendar from '../calendar/locale/he_IL'; |
|
import DatePicker from '../date-picker/locale/he_IL'; |
|
import TimePicker from '../time-picker/locale/he_IL'; |
|
|
|
const typeTemplate = '${label} 讛讜讗 诇讗 ${type} 转拽讬谉'; |
|
|
|
const localeValues: Locale = { |
|
locale: 'he', |
|
Pagination, |
|
DatePicker, |
|
TimePicker, |
|
Calendar, |
|
global: { |
|
placeholder: '讗谞讗 讘讞专', |
|
close: '住讙讜专', |
|
}, |
|
Table: { |
|
filterTitle: '转驻专讬讟 住讬谞讜谉', |
|
filterConfirm: '讗讬砖讜专', |
|
filterReset: '讗讬驻讜住', |
|
selectAll: '讘讞专 讛讻诇', |
|
selectInvert: '讛驻讜讱 讘讞讬专讛', |
|
selectionAll: '讘讞专 讗转 讻诇 讛谞转讜谞讬诐', |
|
sortTitle: '诪讬讜谉', |
|
expand: '讛专讞讘 砖讜专讛', |
|
collapse: '爪诪爪诐 砖讜专讛', |
|
triggerDesc: '诇讞抓 诇诪讬讜谉 诇驻讬 住讚专 讬讜专讚', |
|
triggerAsc: '诇讞抓 诇诪讬讜谉 诇驻讬 住讚专 注讜诇讛', |
|
cancelSort: '诇讞抓 讻讚讬 诇讘讟诇 讗转 讛诪讬讜谉', |
|
}, |
|
Tour: { |
|
Next: '讛讘讗', |
|
Previous: '讛拽讜讚诐', |
|
Finish: '住讬讜诐', |
|
}, |
|
Modal: { |
|
okText: '讗讬砖讜专', |
|
cancelText: '讘讬讟讜诇', |
|
justOkText: '讗讬砖讜专', |
|
}, |
|
Popconfirm: { |
|
okText: '讗讬砖讜专', |
|
cancelText: '讘讬讟讜诇', |
|
}, |
|
Transfer: { |
|
titles: ['', ''], |
|
searchPlaceholder: '讞驻砖 讻讗谉', |
|
itemUnit: '驻专讬讟', |
|
itemsUnit: '驻专讬讟讬诐', |
|
}, |
|
Upload: { |
|
uploading: '诪注诇讛...', |
|
removeFile: '讛住专 拽讜讘抓', |
|
uploadError: '砖讙讬讗转 讛注诇讗讛', |
|
previewFile: '讛爪讙 拽讜讘抓', |
|
downloadFile: '讛讜专讚 拽讜讘抓', |
|
}, |
|
Empty: { |
|
description: '讗讬谉 诪讬讚注', |
|
}, |
|
Icon: { |
|
icon: '住诪诇', |
|
}, |
|
Text: { |
|
edit: '注专讜讱', |
|
copy: '讛注转拽', |
|
copied: '讛讜注转拽', |
|
expand: '讛专讞讘', |
|
}, |
|
Form: { |
|
defaultValidateMessages: { |
|
default: '注专讱 讛砖讚讛 砖讙讜讬 ${label}', |
|
required: '讘讘拽砖讛 讛讝谉 ${label}', |
|
enum: '${label} 讞讬讬讘 诇讛讬讜转 讗讞讚 诪注专讻讬诐 讗诇讜 [${enum}]', |
|
whitespace: '${label} 诇讗 讬讻讜诇 诇讛讬讜转 专讬拽', |
|
date: { |
|
format: '${label} 转讗专讬讱 诇讗 转拽讬谉', |
|
parse: '${label} 诇讗 谞讬转谉 诇讛诪讬专 诇转讗专讬讱', |
|
invalid: '${label} 讛讜讗 诇讗 转讗专讬讱 转拽讬谉', |
|
}, |
|
types: { |
|
string: typeTemplate, |
|
method: typeTemplate, |
|
array: typeTemplate, |
|
object: typeTemplate, |
|
number: typeTemplate, |
|
date: typeTemplate, |
|
boolean: typeTemplate, |
|
integer: typeTemplate, |
|
float: typeTemplate, |
|
regexp: typeTemplate, |
|
email: typeTemplate, |
|
url: typeTemplate, |
|
hex: typeTemplate, |
|
}, |
|
string: { |
|
len: '${label} 讞讬讬讘 诇讛讬讜转 ${len} 转讜讜讬诐', |
|
min: '${label} 讞讬讬讘 诇讛讬讜转 ${min} 转讜讜讬诐', |
|
max: '${label} 诪拽住讬诪讜诐 ${max} 转讜讜讬诐', |
|
range: '${label} 讞讬讬讘 诇讛讬讜转 讘讬谉 ${min}-${max} 转讜讜讬诐', |
|
}, |
|
number: { |
|
len: '${label} 讞讬讬讘 诇讛讬讜转 砖讜讜讛 诇 ${len}', |
|
min: '${label} 注专讱 诪讬谞讬诪诇讬 讛讜讗 ${min}', |
|
max: '${label} 注专讱 诪拽住讬诪诇讬 讛讜讗 ${max}', |
|
range: '${label} 讞讬讬讘 诇讛讬讜转 讘讬谉 ${min}-${max}', |
|
}, |
|
array: { |
|
len: '讞讬讬讘 诇讛讬讜转 ${len} ${label}', |
|
min: '诪讬谞讬诪讜诐 ${min} ${label}', |
|
max: '诪拽住讬诪讜诐 ${max} ${label}', |
|
range: '讛住讻讜诐 砖诇 ${label} 讞讬讬讘 诇讛讬讜转 讘讬谉 ${min}-${max}', |
|
}, |
|
pattern: { |
|
mismatch: '${label} 诇讗 转讜讗诐 诇转讘谞讬转 ${pattern}', |
|
}, |
|
}, |
|
}, |
|
Image: { |
|
preview: '转爪讜讙讛 诪拽讚讬诪讛', |
|
}, |
|
}; |
|
|
|
export default localeValues; |
|
|