mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
4d094331cf
* New translations auth.php (Bulgarian) * New translations auth.php (Catalan) * New translations auth.php (Czech) * New translations auth.php (Danish) * New translations auth.php (Hebrew) * New translations auth.php (Swedish) * New translations auth.php (Hungarian) * New translations auth.php (Italian) * New translations auth.php (Japanese) * New translations auth.php (Korean) * New translations auth.php (Lithuanian) * New translations auth.php (Dutch) * New translations auth.php (Polish) * New translations auth.php (Russian) * New translations auth.php (Slovak) * New translations auth.php (Slovenian) * New translations settings.php (Korean) * New translations settings.php (Lithuanian) * New translations settings.php (Portuguese, Brazilian) * New translations settings.php (Norwegian Bokmal) * New translations settings.php (Bosnian) * New translations settings.php (Latvian) * New translations settings.php (Estonian) * New translations settings.php (Croatian) * New translations settings.php (Spanish, Argentina) * New translations settings.php (Persian) * New translations settings.php (Indonesian) * New translations settings.php (Vietnamese) * New translations settings.php (Dutch) * New translations settings.php (Chinese Traditional) * New translations settings.php (Chinese Simplified) * New translations settings.php (Turkish) * New translations settings.php (Swedish) * New translations settings.php (Slovenian) * New translations settings.php (Slovak) * New translations settings.php (Russian) * New translations settings.php (Portuguese) * New translations settings.php (Polish) * New translations settings.php (German Informal) * New translations settings.php (Spanish) * New translations activities.php (Spanish) * New translations auth.php (Spanish) * New translations common.php (Spanish) * New translations settings.php (Spanish) * New translations auth.php (German) * New translations passwords.php (German) * New translations settings.php (German) * New translations activities.php (German) * New translations auth.php (German) * New translations auth.php (German Informal) * New translations common.php (German) * New translations entities.php (German) * New translations errors.php (German) * New translations errors.php (German Informal) * New translations settings.php (German) * New translations settings.php (German Informal) * New translations entities.php (Japanese) * New translations entities.php (Vietnamese) * New translations entities.php (Slovak) * New translations entities.php (Slovenian) * New translations entities.php (Swedish) * New translations entities.php (Turkish) * New translations entities.php (Chinese Simplified) * New translations entities.php (Chinese Traditional) * New translations entities.php (Portuguese, Brazilian) * New translations entities.php (Polish) * New translations entities.php (Indonesian) * New translations entities.php (Persian) * New translations entities.php (Croatian) * New translations entities.php (Estonian) * New translations entities.php (Latvian) * New translations entities.php (Bosnian) * New translations entities.php (Russian) * New translations entities.php (Dutch) * New translations entities.php (Portuguese) * New translations entities.php (Bulgarian) * New translations entities.php (Ukrainian) * New translations entities.php (Spanish, Argentina) * New translations entities.php (Norwegian Bokmal) * New translations entities.php (French) * New translations entities.php (Spanish) * New translations entities.php (Arabic) * New translations entities.php (Catalan) * New translations entities.php (Lithuanian) * New translations entities.php (Czech) * New translations entities.php (Danish) * New translations entities.php (German) * New translations entities.php (Hebrew) * New translations entities.php (Hungarian) * New translations entities.php (Italian) * New translations entities.php (Korean) * New translations entities.php (German Informal) * New translations entities.php (Spanish) * New translations auth.php (Portuguese) * New translations common.php (Portuguese) * New translations errors.php (Portuguese) * New translations settings.php (Portuguese) * New translations activities.php (French) * New translations activities.php (French) * New translations auth.php (French) * New translations common.php (French) * New translations entities.php (French) * New translations settings.php (French) * New translations activities.php (Spanish, Argentina) * New translations entities.php (Spanish, Argentina) * New translations auth.php (Spanish, Argentina) * New translations common.php (Spanish, Argentina) * New translations activities.php (German Informal) * New translations common.php (German Informal) * New translations settings.php (Spanish, Argentina) * New translations activities.php (Chinese Simplified) * New translations activities.php (Chinese Simplified) * New translations auth.php (Chinese Simplified) * New translations common.php (Chinese Simplified) * New translations entities.php (Chinese Simplified) * New translations settings.php (Chinese Simplified) * New translations activities.php (Estonian) * New translations auth.php (Estonian) * New translations common.php (Estonian) * New translations entities.php (Chinese Simplified) * New translations entities.php (Estonian) * New translations settings.php (Chinese Simplified) * New translations settings.php (Estonian) * New translations settings.php (Estonian) * New translations validation.php (Estonian) * New translations auth.php (Italian) * New translations common.php (Italian) * New translations entities.php (Italian) * New translations settings.php (Italian) * New translations activities.php (Russian) * New translations auth.php (Russian) * New translations common.php (Russian) * New translations activities.php (Russian) * New translations entities.php (Russian) * New translations settings.php (Russian) * New translations activities.php (Japanese) * New translations auth.php (Portuguese, Brazilian) * New translations auth.php (Portuguese, Brazilian) * New translations auth.php (Arabic) * New translations activities.php (Czech) * New translations auth.php (Czech) * New translations activities.php (Czech) * New translations auth.php (Czech) * New translations common.php (Czech) * New translations entities.php (Czech) * New translations settings.php (Czech) * New translations activities.php (Czech) * New translations auth.php (Czech) * New translations common.php (Czech) * New translations entities.php (Czech) * New translations settings.php (Czech) * New translations auth.php (Czech) * New translations entities.php (Czech) * New translations settings.php (Czech) * New translations auth.php (Czech) * New translations auth.php (Czech) * New translations activities.php (Latvian) * New translations auth.php (Latvian) * New translations common.php (Latvian) * New translations entities.php (Latvian) * New translations settings.php (Latvian) * New translations activities.php (Latvian) * New translations settings.php (Latvian) * New translations activities.php (Italian) * New translations entities.php (Italian) * New translations activities.php (Italian) * New translations settings.php (Italian) * New translations common.php (Japanese) * New translations settings.php (French) * New translations common.php (Vietnamese) * New translations common.php (Portuguese, Brazilian) * New translations common.php (Indonesian) * New translations common.php (Persian) * New translations common.php (Croatian) * New translations common.php (Estonian) * New translations common.php (Latvian) * New translations common.php (Bosnian) * New translations common.php (German Informal) * New translations settings.php (Spanish) * New translations common.php (Chinese Simplified) * New translations settings.php (Arabic) * New translations settings.php (Bulgarian) * New translations settings.php (Catalan) * New translations settings.php (Czech) * New translations settings.php (Danish) * New translations settings.php (German) * New translations settings.php (Hebrew) * New translations settings.php (Hungarian) * New translations settings.php (Italian) * New translations settings.php (Japanese) * New translations common.php (Chinese Traditional) * New translations common.php (Turkish) * New translations common.php (Portuguese) * New translations common.php (Danish) * New translations common.php (Ukrainian) * New translations common.php (Spanish, Argentina) * New translations common.php (Norwegian Bokmal) * New translations settings.php (Ukrainian) * New translations common.php (French) * New translations common.php (Spanish) * New translations common.php (Arabic) * New translations common.php (Bulgarian) * New translations common.php (Catalan) * New translations common.php (Czech) * New translations common.php (German) * New translations common.php (Swedish) * New translations common.php (Hebrew) * New translations common.php (Hungarian) * New translations common.php (Italian) * New translations common.php (Korean) * New translations common.php (Lithuanian) * New translations common.php (Dutch) * New translations common.php (Polish) * New translations common.php (Russian) * New translations common.php (Slovak) * New translations common.php (Slovenian) * New translations settings.php (Korean) * New translations settings.php (Lithuanian) * New translations settings.php (Portuguese, Brazilian) * New translations settings.php (Norwegian Bokmal) * New translations settings.php (Bosnian) * New translations settings.php (Latvian) * New translations settings.php (Estonian) * New translations settings.php (Croatian) * New translations settings.php (Spanish, Argentina) * New translations settings.php (Persian) * New translations settings.php (Indonesian) * New translations settings.php (Vietnamese) * New translations settings.php (Dutch) * New translations settings.php (Chinese Traditional) * New translations settings.php (Chinese Simplified) * New translations settings.php (Turkish) * New translations settings.php (Swedish) * New translations settings.php (Slovenian) * New translations settings.php (Slovak) * New translations settings.php (Russian) * New translations settings.php (Portuguese) * New translations settings.php (Polish) * New translations settings.php (German Informal) * New translations common.php (Estonian) * New translations entities.php (Estonian) * New translations settings.php (Estonian) * New translations common.php (Spanish) * New translations settings.php (Spanish) * New translations entities.php (French) * New translations settings.php (French) * New translations common.php (Chinese Simplified) * New translations settings.php (Chinese Simplified) * New translations common.php (Spanish, Argentina) * New translations settings.php (Spanish, Argentina)
117 lines
6.6 KiB
PHP
117 lines
6.6 KiB
PHP
<?php
|
|
/**
|
|
* Validation Lines
|
|
* The following language lines contain the default error messages used by
|
|
* the validator class. Some of these rules have multiple versions such
|
|
* as the size rules. Feel free to tweak each of these messages here.
|
|
*/
|
|
return [
|
|
|
|
// Standard laravel validation lines
|
|
'accepted' => ':attribute peab olema aktsepteeritud.',
|
|
'active_url' => ':attribute ei ole kehtiv URL.',
|
|
'after' => ':attribute peab olema kuupäev pärast :date.',
|
|
'alpha' => ':attribute võib sisaldada ainult tähti.',
|
|
'alpha_dash' => ':attribute võib sisaldada ainult tähti, numbreid, sidekriipse ja alakriipse.',
|
|
'alpha_num' => ':attribute võib sisaldada ainult tähti ja numbreid.',
|
|
'array' => ':attribute peab olema massiiv.',
|
|
'backup_codes' => 'Kood ei ole korrektne või on seda juba kasutatud.',
|
|
'before' => ':attribute peab olema kuupäev enne :date.',
|
|
'between' => [
|
|
'numeric' => ':attribute peab jääma vahemikku :min ja :max.',
|
|
'file' => ':attribute peab olema :min ja :max kilobaidi vahel.',
|
|
'string' => ':attribute peab olema :min ja :max tähemärgi vahel.',
|
|
'array' => ':attribute peab olema :min ja :max elemendi vahel.',
|
|
],
|
|
'boolean' => ':attribute peab olema tõene või väär.',
|
|
'confirmed' => ':attribute kinnitus ei kattu.',
|
|
'date' => ':attribute ei ole kehtiv kuupäev.',
|
|
'date_format' => ':attribute ei ühti formaadiga :format.',
|
|
'different' => ':attribute ja :other peavad olema erinevad.',
|
|
'digits' => ':attribute peab olema :digits-kohaline arv.',
|
|
'digits_between' => ':attribute peab olema :min ja :max numbri vahel.',
|
|
'email' => ':attribute peab olema kehtiv e-posti aadress.',
|
|
'ends_with' => ':attribute lõpus peab olema üks järgmistest väärtustest: :values',
|
|
'filled' => ':attribute väli on kohustuslik.',
|
|
'gt' => [
|
|
'numeric' => ':attribute peab olema suurem kui :value.',
|
|
'file' => ':attribute peab olema suurem kui :value kilobaiti.',
|
|
'string' => ':attribute peab sisaldama rohkem kui :value tähemärki.',
|
|
'array' => ':attribute peab sisaldama rohkem kui :value elementi.',
|
|
],
|
|
'gte' => [
|
|
'numeric' => ':attribute peab olema suurem kui või võrdne :value.',
|
|
'file' => ':attribute peab olema :value kilobaiti või rohkem.',
|
|
'string' => ':attribute peab sisaldama :value või rohkem tähemärki.',
|
|
'array' => ':attribute peab sisaldama :value või rohkem elementi.',
|
|
],
|
|
'exists' => 'Valitud :attribute on vigane.',
|
|
'image' => ':attribute peab olema pildifail.',
|
|
'image_extension' => ':attribute peab olema lubatud ja toetatud pildiformaadis.',
|
|
'in' => 'Valitud :attribute on vigane.',
|
|
'integer' => ':attribute peab olema täisarv.',
|
|
'ip' => ':attribute peab olema kehtiv IP-aadress.',
|
|
'ipv4' => ':attribute peab olema kehtiv IPv4 aadress.',
|
|
'ipv6' => ':attribute peab olema kehtiv IPv6 aadress.',
|
|
'json' => ':attribute peab olema kehtiv JSON-vormingus tekst.',
|
|
'lt' => [
|
|
'numeric' => ':attribute peab olema väiksem kui :value.',
|
|
'file' => ':attribute peab olema väiksem kui :value kilobaiti.',
|
|
'string' => ':attribute peab sisaldama vähem kui :value tähemärki.',
|
|
'array' => ':attribute peab sisaldama vähem kui :value elementi.',
|
|
],
|
|
'lte' => [
|
|
'numeric' => ':attribute peab olema :value või vähem.',
|
|
'file' => ':attribute peab olema :value kilobaiti või vähem.',
|
|
'string' => ':attribute peab sisaldama :value või vähem tähemärki.',
|
|
'array' => ':attribute ei tohi sisaldada rohkem kui :value elementi.',
|
|
],
|
|
'max' => [
|
|
'numeric' => ':attribute ei tohi olla suurem kui :max.',
|
|
'file' => ':attribute ei tohi olla suurem kui :max kilobaiti.',
|
|
'string' => ':attribute ei tohi sisaldada rohkem kui :max tähemärki.',
|
|
'array' => ':attribute ei tohi sisaldada rohkem kui :max elementi.',
|
|
],
|
|
'mimes' => ':attribute peab olema seda tüüpi fail: :values.',
|
|
'min' => [
|
|
'numeric' => ':attribute peab olema vähemalt :min.',
|
|
'file' => ':attribute peab olema vähemalt :min kilobaiti.',
|
|
'string' => ':attribute peab sisaldama vähemalt :min tähemärki.',
|
|
'array' => ':attribute peab sisaldama vähemalt :min elementi.',
|
|
],
|
|
'not_in' => 'Valitud :attribute on vigane.',
|
|
'not_regex' => ':attribute on vigases formaadis.',
|
|
'numeric' => ':attribute peab olema arv.',
|
|
'regex' => ':attribute on vigases formaadis.',
|
|
'required' => ':attribute on kohustuslik.',
|
|
'required_if' => ':attribute on kohustuslik, kui :other on :value.',
|
|
'required_with' => ':attribute on kohustuslik, kui :values on olemas.',
|
|
'required_with_all' => ':attribute on kohustuslik, kui :values on olemas.',
|
|
'required_without' => ':attribute on kohustuslik, kui :values ei ole olemas.',
|
|
'required_without_all' => ':attribute on kohustuslik, kui :values on valimata.',
|
|
'same' => ':attribute ja :other peavad klappima.',
|
|
'safe_url' => 'Link ei pruugi olla turvaline.',
|
|
'size' => [
|
|
'numeric' => ':attribute peab olema :size.',
|
|
'file' => ':attribute peab olema :size kilobaiti.',
|
|
'string' => ':attribute peab sisaldama :size tähemärki.',
|
|
'array' => ':attribute peab sisaldama :size elemente.',
|
|
],
|
|
'string' => ':attribute peab olema string.',
|
|
'timezone' => ':attribute peab olema kehtiv ajavöönd.',
|
|
'totp' => 'Kood ei ole korrektne või on aegunud.',
|
|
'unique' => ':attribute on juba võetud.',
|
|
'url' => ':attribute on vigases formaadis.',
|
|
'uploaded' => 'Faili üleslaadimine ebaõnnestus. Server ei pruugi sellise suurusega faile vastu võtta.',
|
|
|
|
// Custom validation lines
|
|
'custom' => [
|
|
'password-confirm' => [
|
|
'required_with' => 'Parooli kinnitus on nõutud',
|
|
],
|
|
],
|
|
|
|
// Custom validation attributes
|
|
'attributes' => [],
|
|
];
|