mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 03:33:37 +08:00
6303c788ed
* New translations settings.php (Spanish) * New translations errors.php (Japanese) * New translations errors.php (Japanese) * New translations components.php (Japanese) * New translations settings.php (German) * New translations settings.php (German) * New translations auth.php (German Informal) * New translations errors.php (German Informal) * New translations settings.php (German Informal) * New translations entities.php (German Informal) * New translations activities.php (Persian) * New translations auth.php (Persian) * New translations common.php (Persian) * New translations components.php (Persian) * New translations entities.php (Persian) * New translations errors.php (Persian) * New translations pagination.php (Persian) * New translations passwords.php (Persian) * New translations settings.php (Persian) * New translations validation.php (Persian) * New translations settings.php (German Informal) * New translations validation.php (German Informal) * New translations settings.php (French) * New translations errors.php (French) * New translations settings.php (French) * New translations settings.php (Hungarian) * New translations activities.php (Portuguese) * New translations auth.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations passwords.php (Vietnamese) * New translations pagination.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations components.php (Vietnamese) * New translations common.php (Vietnamese) * New translations activities.php (Vietnamese) * New translations auth.php (Portuguese) * New translations validation.php (Portuguese) * New translations settings.php (Portuguese) * New translations passwords.php (Portuguese) * New translations pagination.php (Portuguese) * New translations errors.php (Portuguese) * New translations entities.php (Portuguese) * New translations components.php (Portuguese) * New translations common.php (Portuguese) * New translations validation.php (Vietnamese) * New translations components.php (Vietnamese) * New translations auth.php (Vietnamese) * New translations components.php (Vietnamese) * New translations auth.php (Vietnamese) * New translations activities.php (Vietnamese) * New translations auth.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations pagination.php (Vietnamese) * New translations passwords.php (Vietnamese) * New translations common.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations common.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations validation.php (Vietnamese) * New translations validation.php (Vietnamese) * New translations validation.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations settings.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations errors.php (Chinese Simplified) * New translations errors.php (French) * New translations errors.php (German) * New translations errors.php (Arabic) * New translations errors.php (Czech) * New translations errors.php (Danish) * New translations errors.php (Dutch) * New translations errors.php (Hungarian) * New translations errors.php (Italian) * New translations errors.php (Chinese Traditional) * New translations errors.php (Swedish) * New translations errors.php (Portuguese) * New translations errors.php (Persian) * New translations errors.php (German Informal) * New translations errors.php (Ukrainian) * New translations errors.php (Turkish) * New translations errors.php (Korean) * New translations errors.php (Spanish, Argentina) * New translations errors.php (Spanish) * New translations errors.php (Slovak) * New translations errors.php (Russian) * New translations errors.php (Polish) * New translations errors.php (Japanese) * New translations errors.php (Portuguese, Brazilian) * New translations errors.php (Vietnamese) * New translations errors.php (Spanish) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations entities.php (Vietnamese) * New translations errors.php (Vietnamese) * New translations auth.php (Swedish) * New translations common.php (Swedish) * New translations entities.php (Swedish) * New translations settings.php (Swedish) * New translations errors.php (Chinese Simplified) * New translations errors.php (Russian) * New translations errors.php (Russian) * New translations common.php (Russian) * New translations settings.php (Russian) * New translations settings.php (Russian) * New translations errors.php (Hungarian) * New translations settings.php (Hungarian) * New translations settings.php (Russian) * New translations errors.php (Russian) * New translations settings.php (Russian) * New translations activities.php (Russian) * New translations auth.php (Russian) * New translations components.php (Russian) * New translations entities.php (Russian) * New translations validation.php (Russian) * New translations errors.php (Russian) * New translations common.php (Russian) * New translations entities.php (Russian) * New translations errors.php (Russian) * New translations settings.php (Russian) * New translations settings.php (Portuguese, Brazilian) * New translations auth.php (Russian) * New translations components.php (Russian) * New translations entities.php (Russian) * New translations errors.php (Russian) * New translations errors.php (Russian) * New translations settings.php (Russian) * New translations passwords.php (Russian) * New translations auth.php (Danish) * New translations auth.php (Danish) * New translations common.php (Danish) * New translations components.php (Danish) * New translations entities.php (Danish) * New translations entities.php (Danish) * New translations entities.php (Danish) * New translations errors.php (Danish) * New translations errors.php (Russian) * New translations settings.php (Russian) * New translations settings.php (Russian) * New translations validation.php (Russian) * New translations errors.php (Danish) * New translations errors.php (Danish) * New translations settings.php (Danish) * New translations settings.php (Danish) * New translations settings.php (Danish) * New translations validation.php (Danish) * New translations validation.php (Danish) * New translations settings.php (Danish) * New translations settings.php (Danish) * New translations auth.php (Russian) * New translations settings.php (Russian) * New translations errors.php (Russian) * New translations settings.php (Russian) * New translations validation.php (Russian) * New translations settings.php (Russian)
115 lines
6.6 KiB
PHP
115 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 muss akzeptiert werden.',
|
|
'active_url' => ':attribute ist keine valide URL.',
|
|
'after' => ':attribute muss ein Datum nach :date sein.',
|
|
'alpha' => ':attribute kann nur Buchstaben enthalten.',
|
|
'alpha_dash' => ':attribute kann nur Buchstaben, Zahlen und Bindestriche enthalten.',
|
|
'alpha_num' => ':attribute kann nur Buchstaben und Zahlen enthalten.',
|
|
'array' => ':attribute muss ein Array sein.',
|
|
'before' => ':attribute muss ein Datum vor :date sein.',
|
|
'between' => [
|
|
'numeric' => ':attribute muss zwischen :min und :max liegen.',
|
|
'file' => ':attribute muss zwischen :min und :max Kilobytes groß sein.',
|
|
'string' => ':attribute muss zwischen :min und :max Zeichen lang sein.',
|
|
'array' => ':attribute muss zwischen :min und :max Elemente enthalten.',
|
|
],
|
|
'boolean' => ':attribute Feld muss wahr oder falsch sein.',
|
|
'confirmed' => ':attribute stimmt nicht überein.',
|
|
'date' => ':attribute ist kein valides Datum.',
|
|
'date_format' => ':attribute entspricht nicht dem Format :format.',
|
|
'different' => ':attribute und :other müssen unterschiedlich sein.',
|
|
'digits' => ':attribute muss :digits Stellen haben.',
|
|
'digits_between' => ':attribute muss zwischen :min und :max Stellen haben.',
|
|
'email' => ':attribute muss eine valide E-Mail-Adresse sein.',
|
|
'ends_with' => ':attribute muss mit einem der folgenden Werte: :values enden',
|
|
'filled' => ':attribute ist erforderlich.',
|
|
'gt' => [
|
|
'numeric' => ':attribute muss größer als :value sein.',
|
|
'file' => ':attribute muss mindestens größer als :value Kilobytes sein.',
|
|
'string' => ':attribute muss mehr als :value Zeichen haben.',
|
|
'array' => ':attribute muss mehr als :value Elemente haben.',
|
|
],
|
|
'gte' => [
|
|
'numeric' => ':attribute muss größer-gleich :value sein.',
|
|
'file' => ':attribute muss größer-gleich :value Kilobytes sein.',
|
|
'string' => ':attribute muss mindestens :value Zeichen haben.',
|
|
'array' => ':attribute muss :value Elemente oder mehr haben.',
|
|
],
|
|
'exists' => ':attribute ist ungültig.',
|
|
'image' => ':attribute muss ein Bild sein.',
|
|
'image_extension' => ':attribute muss eine gültige und unterstützte Bild-Dateiendung haben.',
|
|
'in' => ':attribute ist ungültig.',
|
|
'integer' => ':attribute muss eine Zahl sein.',
|
|
'ip' => ':attribute muss eine valide IP-Adresse sein.',
|
|
'ipv4' => ':attribute muss eine gültige IPv4 Adresse sein.',
|
|
'ipv6' => ':attribute muss eine gültige IPv6-Adresse sein.',
|
|
'json' => ':attribute muss ein gültiger JSON-String sein.',
|
|
'lt' => [
|
|
'numeric' => ':attribute muss kleiner als :value sein.',
|
|
'file' => ':attribute muss kleiner als :value Kilobytes sein.',
|
|
'string' => ':attribute muss weniger als :value Zeichen haben.',
|
|
'array' => ':attribute muss weniger als :value Elemente haben.',
|
|
],
|
|
'lte' => [
|
|
'numeric' => ':attribute muss kleiner oder gleich :value sein.',
|
|
'file' => ':attribute muss kleiner oder gleich :value Kilobytes sein.',
|
|
'string' => ':attribute muss :value oder weniger Zeichen haben.',
|
|
'array' => ':attribute darf höchstens :value Elemente haben.',
|
|
],
|
|
'max' => [
|
|
'numeric' => ':attribute darf nicht größer als :max sein.',
|
|
'file' => ':attribute darf nicht größer als :max Kilobyte sein.',
|
|
'string' => ':attribute darf nicht länger als :max Zeichen sein.',
|
|
'array' => ':attribute darf nicht mehr als :max Elemente enthalten.',
|
|
],
|
|
'mimes' => ':attribute muss eine Datei vom Typ: :values sein.',
|
|
'min' => [
|
|
'numeric' => ':attribute muss mindestens :min sein',
|
|
'file' => ':attribute muss mindestens :min Kilobyte groß sein.',
|
|
'string' => ':attribute muss mindestens :min Zeichen lang sein.',
|
|
'array' => ':attribute muss mindesten :min Elemente enthalten.',
|
|
],
|
|
'no_double_extension' => ':attribute darf nur eine gültige Dateiendung',
|
|
'not_in' => ':attribute ist ungültig.',
|
|
'not_regex' => ':attribute ist kein gültiges Format.',
|
|
'numeric' => ':attribute muss eine Zahl sein.',
|
|
'regex' => ':attribute ist in einem ungültigen Format.',
|
|
'required' => ':attribute ist erforderlich.',
|
|
'required_if' => ':attribute ist erforderlich, wenn :other :value ist.',
|
|
'required_with' => ':attribute ist erforderlich, wenn :values vorhanden ist.',
|
|
'required_with_all' => ':attribute ist erforderlich, wenn :values vorhanden sind.',
|
|
'required_without' => ':attribute ist erforderlich, wenn :values nicht vorhanden ist.',
|
|
'required_without_all' => ':attribute ist erforderlich, wenn :values nicht vorhanden sind.',
|
|
'same' => ':attribute und :other müssen übereinstimmen.',
|
|
'size' => [
|
|
'numeric' => ':attribute muss :size sein.',
|
|
'file' => ':attribute muss :size Kilobytes groß sein.',
|
|
'string' => ':attribute muss :size Zeichen lang sein.',
|
|
'array' => ':attribute muss :size Elemente enthalten.',
|
|
],
|
|
'string' => ':attribute muss eine Zeichenkette sein.',
|
|
'timezone' => ':attribute muss eine valide zeitzone sein.',
|
|
'unique' => ':attribute wird bereits verwendet.',
|
|
'url' => ':attribute ist kein valides Format.',
|
|
'uploaded' => 'Die Datei konnte nicht hochgeladen werden. Der Server akzeptiert möglicherweise keine Dateien dieser Größe.',
|
|
|
|
// Custom validation lines
|
|
'custom' => [
|
|
'password-confirm' => [
|
|
'required_with' => 'Passwortbestätigung erforderlich',
|
|
],
|
|
],
|
|
|
|
// Custom validation attributes
|
|
'attributes' => [],
|
|
];
|