193 lines
11 KiB
PHP
193 lines
11 KiB
PHP
<?php
|
|
|
|
// Validierungsmeldungen (R16). Deutsch = Quelle der Wahrheit. Das `attributes`-Array
|
|
// gibt dem :attribute-Platzhalter ein lesbares Label; pro-Formular gesetzte
|
|
// validationAttributes() überschreiben diese weiterhin. Schlüssel spiegeln den
|
|
// Standardsatz von Laravel 13.
|
|
return [
|
|
'accepted' => ':attribute muss akzeptiert werden.',
|
|
'accepted_if' => ':attribute muss akzeptiert werden, wenn :other :value ist.',
|
|
'active_url' => ':attribute ist keine gültige URL.',
|
|
'after' => ':attribute muss ein Datum nach :date sein.',
|
|
'after_or_equal' => ':attribute muss ein Datum nach oder gleich :date sein.',
|
|
'alpha' => ':attribute darf nur Buchstaben enthalten.',
|
|
'alpha_dash' => ':attribute darf nur Buchstaben, Zahlen, Binde- und Unterstriche enthalten.',
|
|
'alpha_num' => ':attribute darf nur Buchstaben und Zahlen enthalten.',
|
|
'any_of' => ':attribute ist ungültig.',
|
|
'array' => ':attribute muss ein Array sein.',
|
|
'ascii' => ':attribute darf nur alphanumerische Einzelbyte-Zeichen und Symbole enthalten.',
|
|
'before' => ':attribute muss ein Datum vor :date sein.',
|
|
'before_or_equal' => ':attribute muss ein Datum vor oder gleich :date sein.',
|
|
'between' => [
|
|
'array' => ':attribute muss zwischen :min und :max Elemente haben.',
|
|
'file' => ':attribute muss zwischen :min und :max Kilobytes groß sein.',
|
|
'numeric' => ':attribute muss zwischen :min und :max liegen.',
|
|
'string' => ':attribute muss zwischen :min und :max Zeichen lang sein.',
|
|
],
|
|
'boolean' => ':attribute muss wahr oder falsch sein.',
|
|
'can' => ':attribute enthält einen nicht autorisierten Wert.',
|
|
'confirmed' => ':attribute stimmt nicht mit der Bestätigung überein.',
|
|
'contains' => ':attribute fehlt ein erforderlicher Wert.',
|
|
'current_password' => 'Das Passwort ist falsch.',
|
|
'date' => ':attribute muss ein gültiges Datum sein.',
|
|
'date_equals' => ':attribute muss ein Datum gleich :date sein.',
|
|
'date_format' => ':attribute muss dem Format :format entsprechen.',
|
|
'decimal' => ':attribute muss :decimal Dezimalstellen haben.',
|
|
'declined' => ':attribute muss abgelehnt werden.',
|
|
'declined_if' => ':attribute muss abgelehnt werden, wenn :other :value ist.',
|
|
'different' => ':attribute und :other müssen sich unterscheiden.',
|
|
'digits' => ':attribute muss :digits Ziffern lang sein.',
|
|
'digits_between' => ':attribute muss zwischen :min und :max Ziffern lang sein.',
|
|
'dimensions' => ':attribute hat ungültige Bildabmessungen.',
|
|
'distinct' => ':attribute hat einen doppelten Wert.',
|
|
'doesnt_contain' => ':attribute darf keinen der folgenden Werte enthalten: :values.',
|
|
'doesnt_end_with' => ':attribute darf nicht mit einem der folgenden Werte enden: :values.',
|
|
'doesnt_start_with' => ':attribute darf nicht mit einem der folgenden Werte beginnen: :values.',
|
|
'email' => ':attribute muss eine gültige E-Mail-Adresse sein.',
|
|
'encoding' => ':attribute muss in :encoding kodiert sein.',
|
|
'ends_with' => ':attribute muss mit einem der folgenden Werte enden: :values.',
|
|
'enum' => 'Der gewählte Wert für :attribute ist ungültig.',
|
|
'exists' => 'Der gewählte Wert für :attribute ist ungültig.',
|
|
'extensions' => ':attribute muss eine der folgenden Dateiendungen haben: :values.',
|
|
'file' => ':attribute muss eine Datei sein.',
|
|
'filled' => ':attribute muss ausgefüllt sein.',
|
|
'gt' => [
|
|
'array' => ':attribute muss mehr als :value Elemente haben.',
|
|
'file' => ':attribute muss größer als :value Kilobytes sein.',
|
|
'numeric' => ':attribute muss größer als :value sein.',
|
|
'string' => ':attribute muss länger als :value Zeichen sein.',
|
|
],
|
|
'gte' => [
|
|
'array' => ':attribute muss mindestens :value Elemente haben.',
|
|
'file' => ':attribute muss größer oder gleich :value Kilobytes sein.',
|
|
'numeric' => ':attribute muss größer oder gleich :value sein.',
|
|
'string' => ':attribute muss mindestens :value Zeichen lang sein.',
|
|
],
|
|
'hex_color' => ':attribute muss eine gültige Hexadezimalfarbe sein.',
|
|
'image' => ':attribute muss ein Bild sein.',
|
|
'in' => 'Der gewählte Wert für :attribute ist ungültig.',
|
|
'in_array' => ':attribute muss in :other vorkommen.',
|
|
'in_array_keys' => ':attribute muss mindestens einen der folgenden Schlüssel enthalten: :values.',
|
|
'integer' => ':attribute muss eine ganze Zahl sein.',
|
|
'ip' => ':attribute muss eine gültige 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.',
|
|
'list' => ':attribute muss eine Liste sein.',
|
|
'lowercase' => ':attribute darf nur Kleinbuchstaben enthalten.',
|
|
'lt' => [
|
|
'array' => ':attribute muss weniger als :value Elemente haben.',
|
|
'file' => ':attribute muss kleiner als :value Kilobytes sein.',
|
|
'numeric' => ':attribute muss kleiner als :value sein.',
|
|
'string' => ':attribute muss kürzer als :value Zeichen sein.',
|
|
],
|
|
'lte' => [
|
|
'array' => ':attribute darf nicht mehr als :value Elemente haben.',
|
|
'file' => ':attribute muss kleiner oder gleich :value Kilobytes sein.',
|
|
'numeric' => ':attribute muss kleiner oder gleich :value sein.',
|
|
'string' => ':attribute darf maximal :value Zeichen lang sein.',
|
|
],
|
|
'mac_address' => ':attribute muss eine gültige MAC-Adresse sein.',
|
|
'max' => [
|
|
'array' => ':attribute darf nicht mehr als :max Elemente haben.',
|
|
'file' => ':attribute darf nicht größer als :max Kilobytes sein.',
|
|
'numeric' => ':attribute darf nicht größer als :max sein.',
|
|
'string' => ':attribute darf maximal :max Zeichen lang sein.',
|
|
],
|
|
'max_digits' => ':attribute darf nicht mehr als :max Ziffern haben.',
|
|
'mimes' => ':attribute muss eine Datei des Typs :values sein.',
|
|
'mimetypes' => ':attribute muss eine Datei des Typs :values sein.',
|
|
'min' => [
|
|
'array' => ':attribute muss mindestens :min Elemente haben.',
|
|
'file' => ':attribute muss mindestens :min Kilobytes groß sein.',
|
|
'numeric' => ':attribute muss mindestens :min sein.',
|
|
'string' => ':attribute muss mindestens :min Zeichen lang sein.',
|
|
],
|
|
'min_digits' => ':attribute muss mindestens :min Ziffern haben.',
|
|
'missing' => ':attribute muss fehlen.',
|
|
'missing_if' => ':attribute muss fehlen, wenn :other :value ist.',
|
|
'missing_unless' => ':attribute muss fehlen, außer :other ist :value.',
|
|
'missing_with' => ':attribute muss fehlen, wenn :values vorhanden ist.',
|
|
'missing_with_all' => ':attribute muss fehlen, wenn :values vorhanden sind.',
|
|
'multiple_of' => ':attribute muss ein Vielfaches von :value sein.',
|
|
'not_in' => 'Der gewählte Wert für :attribute ist ungültig.',
|
|
'not_regex' => 'Das Format von :attribute ist ungültig.',
|
|
'numeric' => ':attribute muss eine Zahl sein.',
|
|
'password' => [
|
|
'letters' => ':attribute muss mindestens einen Buchstaben enthalten.',
|
|
'mixed' => ':attribute muss mindestens einen Groß- und einen Kleinbuchstaben enthalten.',
|
|
'numbers' => ':attribute muss mindestens eine Zahl enthalten.',
|
|
'symbols' => ':attribute muss mindestens ein Sonderzeichen enthalten.',
|
|
'uncompromised' => ':attribute ist in einem Datenleck aufgetaucht. Bitte ein anderes :attribute wählen.',
|
|
],
|
|
'present' => ':attribute muss vorhanden sein.',
|
|
'present_if' => ':attribute muss vorhanden sein, wenn :other :value ist.',
|
|
'present_unless' => ':attribute muss vorhanden sein, außer :other ist :value.',
|
|
'present_with' => ':attribute muss vorhanden sein, wenn :values vorhanden ist.',
|
|
'present_with_all' => ':attribute muss vorhanden sein, wenn :values vorhanden sind.',
|
|
'prohibited' => ':attribute ist unzulässig.',
|
|
'prohibited_if' => ':attribute ist unzulässig, wenn :other :value ist.',
|
|
'prohibited_if_accepted' => ':attribute ist unzulässig, wenn :other akzeptiert ist.',
|
|
'prohibited_if_declined' => ':attribute ist unzulässig, wenn :other abgelehnt ist.',
|
|
'prohibited_unless' => ':attribute ist unzulässig, außer :other ist in :values.',
|
|
'prohibits' => ':attribute verhindert, dass :other vorhanden ist.',
|
|
'regex' => 'Das Format von :attribute ist ungültig.',
|
|
'required' => ':attribute muss ausgefüllt werden.',
|
|
'required_array_keys' => ':attribute muss Einträge für :values enthalten.',
|
|
'required_if' => ':attribute muss ausgefüllt werden, wenn :other :value ist.',
|
|
'required_if_accepted' => ':attribute muss ausgefüllt werden, wenn :other akzeptiert ist.',
|
|
'required_if_declined' => ':attribute muss ausgefüllt werden, wenn :other abgelehnt ist.',
|
|
'required_unless' => ':attribute muss ausgefüllt werden, außer :other ist in :values.',
|
|
'required_with' => ':attribute muss ausgefüllt werden, wenn :values vorhanden ist.',
|
|
'required_with_all' => ':attribute muss ausgefüllt werden, wenn :values vorhanden sind.',
|
|
'required_without' => ':attribute muss ausgefüllt werden, wenn :values nicht vorhanden ist.',
|
|
'required_without_all' => ':attribute muss ausgefüllt werden, wenn keines von :values vorhanden ist.',
|
|
'same' => ':attribute und :other müssen übereinstimmen.',
|
|
'size' => [
|
|
'array' => ':attribute muss genau :size Elemente enthalten.',
|
|
'file' => ':attribute muss genau :size Kilobytes groß sein.',
|
|
'numeric' => ':attribute muss genau :size sein.',
|
|
'string' => ':attribute muss genau :size Zeichen lang sein.',
|
|
],
|
|
'starts_with' => ':attribute muss mit einem der folgenden Werte beginnen: :values.',
|
|
'string' => ':attribute muss eine Zeichenkette sein.',
|
|
'timezone' => ':attribute muss eine gültige Zeitzone sein.',
|
|
'unique' => ':attribute ist bereits vergeben.',
|
|
'uploaded' => ':attribute konnte nicht hochgeladen werden.',
|
|
'uppercase' => ':attribute darf nur Großbuchstaben enthalten.',
|
|
'url' => ':attribute muss eine gültige URL sein.',
|
|
'ulid' => ':attribute muss eine gültige ULID sein.',
|
|
'uuid' => ':attribute muss eine gültige UUID sein.',
|
|
|
|
'custom' => [
|
|
'attribute-name' => [
|
|
'rule-name' => 'custom-message',
|
|
],
|
|
],
|
|
|
|
'attributes' => [
|
|
'name' => 'Name',
|
|
'ip' => 'IP-Adresse oder Hostname',
|
|
'ssh_port' => 'SSH-Port',
|
|
'sshPort' => 'SSH-Port',
|
|
'username' => 'Benutzername',
|
|
'password' => 'Passwort',
|
|
'password_confirmation' => 'Passwort-Bestätigung',
|
|
'current_password' => 'aktuelles Passwort',
|
|
'current' => 'aktuelles Passwort',
|
|
'email' => 'E-Mail-Adresse',
|
|
'secret' => 'Zugangsdaten',
|
|
'passphrase' => 'Schlüssel-Passphrase',
|
|
'credentialName' => 'Zugangs-Name',
|
|
'credential_name' => 'Zugangs-Name',
|
|
'domainInput' => 'Domain',
|
|
'code' => 'Code',
|
|
'maxretry' => 'Maximale Fehlversuche',
|
|
'bantime' => 'Bann-Dauer',
|
|
'findtime' => 'Zeitfenster',
|
|
'ignoreip' => 'Whitelist',
|
|
'upload' => 'Datei',
|
|
'path' => 'Pfad',
|
|
],
|
|
];
|