2021-11-25 10:05:17 +08:00
|
|
|
|
/* eslint-disable no-template-curly-in-string */
|
2019-07-24 10:34:55 +08:00
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/et_EE';
|
2024-01-26 16:00:58 +08:00
|
|
|
|
|
|
|
|
|
import type { Locale } from '.';
|
2019-07-24 10:34:55 +08:00
|
|
|
|
import Calendar from '../calendar/locale/et_EE';
|
2022-06-22 14:57:09 +08:00
|
|
|
|
import DatePicker from '../date-picker/locale/et_EE';
|
|
|
|
|
import TimePicker from '../time-picker/locale/et_EE';
|
2019-07-24 10:34:55 +08:00
|
|
|
|
|
2021-11-25 09:54:48 +08:00
|
|
|
|
const typeTemplate = '${label} ei ole kehtiv ${type}';
|
|
|
|
|
|
2020-03-11 14:56:01 +08:00
|
|
|
|
const localeValues: Locale = {
|
2019-07-24 10:34:55 +08:00
|
|
|
|
locale: 'et',
|
|
|
|
|
Pagination,
|
|
|
|
|
DatePicker,
|
|
|
|
|
TimePicker,
|
|
|
|
|
Calendar,
|
2021-11-25 09:54:48 +08:00
|
|
|
|
global: {
|
|
|
|
|
placeholder: 'Palun vali',
|
|
|
|
|
},
|
2019-07-24 10:34:55 +08:00
|
|
|
|
Table: {
|
|
|
|
|
filterTitle: 'Filtri menüü',
|
|
|
|
|
filterConfirm: 'OK',
|
|
|
|
|
filterReset: 'Nulli',
|
2021-11-25 09:54:48 +08:00
|
|
|
|
filterEmptyText: 'Filtreid pole',
|
|
|
|
|
filterCheckall: 'Vali kõik',
|
|
|
|
|
filterSearchPlaceholder: 'Otsi filtritest',
|
|
|
|
|
emptyText: 'Andmed puuduvad',
|
2019-07-24 10:34:55 +08:00
|
|
|
|
selectAll: 'Vali kõik',
|
|
|
|
|
selectInvert: 'Inverteeri valik',
|
2021-11-25 09:54:48 +08:00
|
|
|
|
selectNone: 'Kustuta kõik andmed',
|
|
|
|
|
selectionAll: 'Vali kõik andmed',
|
|
|
|
|
sortTitle: 'Sorteeri',
|
|
|
|
|
expand: 'Laienda rida',
|
|
|
|
|
collapse: 'Ahenda rida',
|
|
|
|
|
triggerDesc: 'Klõpsa kahanevalt sortimiseks',
|
|
|
|
|
triggerAsc: 'Klõpsa kasvavalt sortimiseks',
|
|
|
|
|
cancelSort: 'Klõpsa sortimise tühistamiseks',
|
2019-07-24 10:34:55 +08:00
|
|
|
|
},
|
|
|
|
|
Modal: {
|
|
|
|
|
okText: 'OK',
|
|
|
|
|
cancelText: 'Tühista',
|
|
|
|
|
justOkText: 'OK',
|
|
|
|
|
},
|
|
|
|
|
Popconfirm: {
|
|
|
|
|
okText: 'OK',
|
|
|
|
|
cancelText: 'Tühista',
|
|
|
|
|
},
|
|
|
|
|
Transfer: {
|
2021-11-25 09:54:48 +08:00
|
|
|
|
titles: ['', ''],
|
2019-07-24 10:34:55 +08:00
|
|
|
|
searchPlaceholder: 'Otsi siit',
|
|
|
|
|
itemUnit: 'kogus',
|
2021-11-25 09:54:48 +08:00
|
|
|
|
itemsUnit: 'kogused',
|
|
|
|
|
remove: 'Eemalda',
|
|
|
|
|
selectCurrent: 'Vali praegune leht',
|
|
|
|
|
removeCurrent: 'Eemalda praegune leht',
|
|
|
|
|
selectAll: 'Vali kõik',
|
|
|
|
|
removeAll: 'Eemalda kõik andmed',
|
|
|
|
|
selectInvert: 'Inverteeri valik',
|
2019-07-24 10:34:55 +08:00
|
|
|
|
},
|
|
|
|
|
Upload: {
|
|
|
|
|
uploading: 'Üleslaadimine...',
|
|
|
|
|
removeFile: 'Eemalda fail',
|
|
|
|
|
uploadError: 'Üleslaadimise tõrge',
|
|
|
|
|
previewFile: 'Faili eelvaade',
|
2021-11-25 09:54:48 +08:00
|
|
|
|
downloadFile: 'Lae fail alla',
|
2019-07-24 10:34:55 +08:00
|
|
|
|
},
|
|
|
|
|
Empty: {
|
|
|
|
|
description: 'Andmed puuduvad',
|
|
|
|
|
},
|
2021-11-25 09:54:48 +08:00
|
|
|
|
Icon: {
|
|
|
|
|
icon: 'ikoon',
|
|
|
|
|
},
|
|
|
|
|
Text: {
|
|
|
|
|
edit: 'Muuda',
|
|
|
|
|
copy: 'Kopeeri',
|
|
|
|
|
copied: 'Kopeeritud',
|
|
|
|
|
expand: 'Laienda',
|
|
|
|
|
},
|
|
|
|
|
Form: {
|
|
|
|
|
optional: '(valikuline)',
|
|
|
|
|
defaultValidateMessages: {
|
|
|
|
|
default: '${label} välja valideerimise viga',
|
|
|
|
|
required: 'Palun sisesta ${label}',
|
|
|
|
|
enum: '${label} peab olema üks järgmistest: [${enum}]',
|
|
|
|
|
whitespace: '${label} ei saa olla tühi märk',
|
|
|
|
|
date: {
|
|
|
|
|
format: '${label} kuupäevavorming on kehtetu',
|
|
|
|
|
parse: '${label} ei saa kuupäevaks teisendada',
|
|
|
|
|
invalid: '${label} on vale kuupäev',
|
|
|
|
|
},
|
|
|
|
|
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} peab koosnema ${len} tähemärgist',
|
|
|
|
|
min: '${label} peab olema vähemalt ${min} tähemärki',
|
|
|
|
|
max: '${label} peab olema kuni ${max} tähemärki',
|
|
|
|
|
range: '${label} peab olema vahemikus ${min}–${max} tähemärki',
|
|
|
|
|
},
|
|
|
|
|
number: {
|
|
|
|
|
len: '${label} must be equal to ${len}',
|
|
|
|
|
min: '${label} peab olema vähemalt ${min}',
|
|
|
|
|
max: '${label} peab olema maksimaalne ${max}',
|
|
|
|
|
range: '${label} peab olema vahemikus ${min}–${max}',
|
|
|
|
|
},
|
|
|
|
|
array: {
|
|
|
|
|
len: 'Peab olema ${len} ${label}',
|
|
|
|
|
min: 'Vähemalt ${min} ${label}',
|
|
|
|
|
max: 'Maksimaalselt ${max} ${label}',
|
|
|
|
|
range: '${label} summa peab olema vahemikus ${min}–${max}',
|
|
|
|
|
},
|
|
|
|
|
pattern: {
|
|
|
|
|
mismatch: '${label} ei vasta mustrile ${pattern}',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Image: {
|
|
|
|
|
preview: 'Eelvaade',
|
|
|
|
|
},
|
2019-07-24 10:34:55 +08:00
|
|
|
|
};
|
2020-03-11 14:56:01 +08:00
|
|
|
|
|
2021-11-25 10:05:17 +08:00
|
|
|
|
export default localeValues;
|