mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
9c2b8057ab
* New translations auth.php (Polish) * New translations common.php (Polish) * New translations entities.php (Polish) * New translations auth.php (Polish) * New translations common.php (Polish) * New translations settings.php (Polish) * New translations validation.php (Polish) * New translations activities.php (Estonian) * New translations auth.php (Estonian) * New translations common.php (Estonian) * New translations components.php (Estonian) * New translations entities.php (Estonian) * New translations errors.php (Estonian) * New translations pagination.php (Estonian) * New translations passwords.php (Estonian) * New translations settings.php (Estonian) * New translations validation.php (Estonian) * New translations activities.php (Estonian) * New translations activities.php (Estonian) * New translations auth.php (Estonian) * New translations common.php (Estonian) * New translations components.php (Estonian) * New translations entities.php (Estonian) * New translations pagination.php (Estonian) * New translations passwords.php (Estonian) * New translations entities.php (Estonian) * New translations errors.php (Estonian) * New translations validation.php (Estonian) * New translations settings.php (Estonian) * New translations auth.php (Estonian) * New translations entities.php (Estonian) * New translations passwords.php (Estonian) * New translations settings.php (Estonian) * New translations auth.php (Estonian) * New translations entities.php (Estonian) * New translations errors.php (Estonian) * New translations settings.php (Estonian) * New translations settings.php (Estonian) * New translations errors.php (German) * New translations errors.php (Portuguese, Brazilian) * New translations errors.php (Swedish) * New translations errors.php (Turkish) * New translations errors.php (Ukrainian) * New translations errors.php (Chinese Simplified) * New translations errors.php (Chinese Traditional) * New translations errors.php (Vietnamese) * New translations errors.php (Indonesian) * New translations errors.php (Slovak) * New translations errors.php (Persian) * New translations errors.php (Spanish, Argentina) * New translations errors.php (Croatian) * New translations errors.php (Latvian) * New translations errors.php (Bosnian) * New translations errors.php (Norwegian Bokmal) * New translations errors.php (Slovenian) * New translations errors.php (Russian) * New translations errors.php (Estonian) * New translations errors.php (Danish) * New translations errors.php (French) * New translations errors.php (Spanish) * New translations errors.php (Arabic) * New translations errors.php (Bulgarian) * New translations errors.php (Catalan) * New translations errors.php (Czech) * New translations errors.php (Hebrew) * New translations errors.php (Portuguese) * New translations errors.php (Hungarian) * New translations errors.php (Italian) * New translations errors.php (Japanese) * New translations errors.php (Korean) * New translations errors.php (Lithuanian) * New translations errors.php (Dutch) * New translations errors.php (Polish) * New translations errors.php (German Informal) * New translations errors.php (Spanish) * New translations auth.php (Estonian) * New translations entities.php (Estonian) * New translations errors.php (Estonian) * New translations activities.php (Japanese) * New translations activities.php (Japanese) * New translations auth.php (Japanese) * New translations components.php (Japanese) * New translations passwords.php (Japanese) * New translations errors.php (Estonian) * New translations settings.php (Estonian) * New translations validation.php (Estonian) * New translations errors.php (French) * New translations activities.php (Japanese) * New translations settings.php (Japanese) * New translations entities.php (Japanese) * New translations settings.php (Japanese) * New translations common.php (Japanese) * New translations settings.php (Japanese) * New translations settings.php (Japanese) * New translations entities.php (Japanese) * New translations settings.php (Japanese) * New translations settings.php (Japanese) * New translations entities.php (Japanese) * New translations settings.php (Japanese) * New translations common.php (Japanese) * New translations errors.php (Polish) * New translations auth.php (Estonian) * New translations components.php (Estonian) * New translations entities.php (Estonian) * New translations validation.php (Estonian) * New translations errors.php (Estonian) * New translations settings.php (Estonian) * New translations errors.php (Chinese Simplified) * New translations auth.php (Japanese) * New translations auth.php (Japanese) * New translations common.php (Japanese) * New translations entities.php (Japanese) * New translations errors.php (Italian) * New translations common.php (Japanese) * New translations auth.php (Italian) * New translations entities.php (Italian) * New translations entities.php (Japanese) * New translations settings.php (Japanese) * New translations common.php (Japanese) * New translations entities.php (Japanese) * New translations entities.php (Estonian) * New translations settings.php (Estonian) * New translations validation.php (Japanese) * New translations errors.php (Japanese) * New translations validation.php (Japanese) * New translations auth.php (Japanese) * New translations settings.php (Japanese) * New translations activities.php (Indonesian) * New translations auth.php (Indonesian) * New translations validation.php (Estonian) * New translations settings.php (Estonian)
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' => 'The :attribute must be accepted.',
|
|
'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' => 'The provided code is not valid or has already been used.',
|
|
'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' => 'The :attribute confirmation does not match.',
|
|
'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' => 'The :attribute must have a valid & supported image extension.',
|
|
'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' => 'The selected :attribute is invalid.',
|
|
'not_regex' => 'The :attribute format is invalid.',
|
|
'numeric' => 'The :attribute must be a number.',
|
|
'regex' => 'The :attribute format is invalid.',
|
|
'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' => 'The :attribute field is required when none of :values are present.',
|
|
'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' => 'The :attribute must be a string.',
|
|
'timezone' => 'The :attribute must be a valid zone.',
|
|
'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' => [],
|
|
];
|