|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Validation Language Lines |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | The following language lines contain the default error messages used by |
| 10 | + | the validator class. Some of these rules have multiple versions such |
| 11 | + | as the size rules. Feel free to tweak each of these messages. |
| 12 | + | |
| 13 | + */ |
| 14 | + |
| 15 | + 'accepted' => ':attribute muss akzeptiert werden.', |
| 16 | + 'active_url' => ':attribute ist keine gültige Internet-Adresse.', |
| 17 | + 'after' => ':attribute muss ein Datum nach dem :date sein.', |
| 18 | + 'after_or_equal' => ':attribute muss ein Datum nach dem :date oder gleich dem :date sein.', |
| 19 | + 'alpha' => ':attribute darf nur aus Buchstaben bestehen.', |
| 20 | + 'alpha_dash' => ':attribute darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.', |
| 21 | + 'alpha_num' => ':attribute darf nur aus Buchstaben und Zahlen bestehen.', |
| 22 | + 'array' => ':attribute muss ein Array sein.', |
| 23 | + 'before' => ':attribute muss ein Datum vor dem :date sein.', |
| 24 | + 'before_or_equal' => ':attribute muss ein Datum vor dem :date oder gleich dem :date sein.', |
| 25 | + 'between' => [ |
| 26 | + 'numeric' => ':attribute muss zwischen :min & :max liegen.', |
| 27 | + 'file' => ':attribute muss zwischen :min & :max Kilobytes gross sein.', |
| 28 | + 'string' => ':attribute muss zwischen :min & :max Zeichen lang sein.', |
| 29 | + 'array' => ':attribute muss zwischen :min & :max Elemente haben.', |
| 30 | + ], |
| 31 | + 'boolean' => ":attribute muss entweder 'true' oder 'false' sein.", |
| 32 | + 'confirmed' => ':attribute stimmt nicht mit der Bestätigung überein.', |
| 33 | + 'date' => ':attribute muss ein gültiges Datum sein.', |
| 34 | + 'date_format' => ':attribute entspricht nicht dem gültigen Format für :format.', |
| 35 | + 'different' => ':attribute und :other müssen sich unterscheiden.', |
| 36 | + 'digits' => ':attribute muss :digits Stellen haben.', |
| 37 | + 'digits_between' => ':attribute muss zwischen :min und :max Stellen haben.', |
| 38 | + 'dimensions' => ':attribute hat ungültige Bildabmessungen.', |
| 39 | + 'distinct' => ':attribute beinhaltet einen bereits vorhandenen Wert.', |
| 40 | + 'email' => ':attribute muss eine gültige E-Mail-Adresse sein.', |
| 41 | + 'exists' => 'Der gewählte Wert für :attribute ist ungültig.', |
| 42 | + 'file' => ':attribute muss eine Datei sein.', |
| 43 | + 'filled' => ':attribute muss ausgefüllt sein.', |
| 44 | + 'gt' => [ |
| 45 | + 'numeric' => ':attribute muss mindestens :min sein.', |
| 46 | + 'file' => ':attribute muss mindestens :min Kilobytes gross sein.', |
| 47 | + 'string' => ':attribute muss mindestens :min Zeichen lang sein.', |
| 48 | + 'array' => ':attribute muss mindestens :min Elemente haben.', |
| 49 | + ], |
| 50 | + 'gte' => [ |
| 51 | + 'numeric' => ':attribute muss grösser oder gleich :min sein.', |
| 52 | + 'file' => ':attribute muss grösser oder gleich :min Kilobytes sein.', |
| 53 | + 'string' => ':attribute muss grösser oder gleich :min Zeichen lang sein.', |
| 54 | + 'array' => ':attribute muss grösser oder gleich :min Elemente haben.', |
| 55 | + ], |
| 56 | + 'image' => ':attribute muss ein Bild sein.', |
| 57 | + 'in' => 'Der gewählte Wert für :attribute ist ungültig.', |
| 58 | + 'in_array' => 'Der gewählte Wert für :attribute kommt nicht in :other vor.', |
| 59 | + 'integer' => ':attribute muss eine ganze Zahl sein.', |
| 60 | + 'ip' => ':attribute muss eine gültige IP-Adresse sein.', |
| 61 | + 'ipv4' => ':attribute muss eine gültige IPv4-Adresse sein.', |
| 62 | + 'ipv6' => ':attribute muss eine gültige IPv6-Adresse sein.', |
| 63 | + 'json' => ':attribute muss ein gültiger JSON-String sein.', |
| 64 | + 'lt' => [ |
| 65 | + 'numeric' => ':attribute muss kleiner :min sein.', |
| 66 | + 'file' => ':attribute muss kleiner :min Kilobytes gross sein.', |
| 67 | + 'string' => ':attribute muss kleiner :min Zeichen lang sein.', |
| 68 | + 'array' => ':attribute muss kleiner :min Elemente haben.', |
| 69 | + ], |
| 70 | + 'lte' => [ |
| 71 | + 'numeric' => ':attribute muss kleiner oder gleich :min sein.', |
| 72 | + 'file' => ':attribute muss kleiner oder gleich :min Kilobytes sein.', |
| 73 | + 'string' => ':attribute muss kleiner oder gleich :min Zeichen lang sein.', |
| 74 | + 'array' => ':attribute muss kleiner oder gleich :min Elemente haben.', |
| 75 | + ], |
| 76 | + 'max' => [ |
| 77 | + 'numeric' => ':attribute darf maximal :max sein.', |
| 78 | + 'file' => ':attribute darf maximal :max Kilobytes gross sein.', |
| 79 | + 'string' => ':attribute darf maximal :max Zeichen haben.', |
| 80 | + 'array' => ':attribute darf nicht mehr als :max Elemente haben.', |
| 81 | + ], |
| 82 | + 'mimes' => ':attribute muss den Dateityp :values haben.', |
| 83 | + 'mimetypes' => ':attribute muss den Dateityp :values haben.', |
| 84 | + 'min' => [ |
| 85 | + 'numeric' => ':attribute muss mindestens :min sein.', |
| 86 | + 'file' => ':attribute muss mindestens :min Kilobytes gross sein.', |
| 87 | + 'string' => ':attribute muss mindestens :min Zeichen lang sein.', |
| 88 | + 'array' => ':attribute muss mindestens :min Elemente haben.', |
| 89 | + ], |
| 90 | + 'not_in' => 'Der gewählte Wert für :attribute ist ungültig.', |
| 91 | + 'not_regex' => ':attribute hat ein ungültiges Format.', |
| 92 | + 'numeric' => ':attribute muss eine Zahl sein.', |
| 93 | + 'present' => ':attribute muss vorhanden sein.', |
| 94 | + 'regex' => ':attribute Format ist ungültig.', |
| 95 | + 'required' => ':attribute muss ausgefüllt sein.', |
| 96 | + 'required_if' => ':attribute muss ausgefüllt sein, wenn :other :value ist.', |
| 97 | + 'required_unless' => ':attribute muss ausgefüllt sein, wenn :other nicht :values ist.', |
| 98 | + 'required_with' => ':attribute muss angegeben werden, wenn :values ausgefüllt wurde.', |
| 99 | + 'required_with_all' => ':attribute muss angegeben werden, wenn :values ausgefüllt wurde.', |
| 100 | + 'required_without' => ':attribute muss angegeben werden, wenn :values nicht ausgefüllt wurde.', |
| 101 | + 'required_without_all' => ':attribute muss angegeben werden, wenn keines der Felder :values ausgefüllt wurde.', |
| 102 | + 'same' => ':attribute und :other müssen übereinstimmen.', |
| 103 | + 'size' => [ |
| 104 | + 'numeric' => ':attribute muss gleich :size sein.', |
| 105 | + 'file' => ':attribute muss :size Kilobyte gross sein.', |
| 106 | + 'string' => ':attribute muss :size Zeichen lang sein.', |
| 107 | + 'array' => ':attribute muss genau :size Elemente haben.', |
| 108 | + ], |
| 109 | + 'string' => ':attribute muss ein String sein.', |
| 110 | + 'timezone' => ':attribute muss eine gültige Zeitzone sein.', |
| 111 | + 'unique' => ':attribute ist schon vergeben.', |
| 112 | + 'uploaded' => ':attribute konnte nicht hochgeladen werden.', |
| 113 | + 'url' => ':attribute muss eine URL sein.', |
| 114 | + |
| 115 | + /* |
| 116 | + |-------------------------------------------------------------------------- |
| 117 | + | Custom Validation Language Lines |
| 118 | + |-------------------------------------------------------------------------- |
| 119 | + | |
| 120 | + | Here you may specify custom validation messages for attributes using the |
| 121 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 122 | + | specify a specific custom language line for a given attribute rule. |
| 123 | + | |
| 124 | + */ |
| 125 | + |
| 126 | + 'custom' => [ |
| 127 | + 'attribute-name' => [ |
| 128 | + 'rule-name' => 'custom-message', |
| 129 | + ], |
| 130 | + ], |
| 131 | + |
| 132 | + /* |
| 133 | + |-------------------------------------------------------------------------- |
| 134 | + | Custom Validation Attributes |
| 135 | + |-------------------------------------------------------------------------- |
| 136 | + | |
| 137 | + | The following language lines are used to swap attribute place-holders |
| 138 | + | with something more reader friendly such as E-Mail Address instead |
| 139 | + | of "email". This simply helps us make messages a little cleaner. |
| 140 | + | |
| 141 | + */ |
| 142 | + |
| 143 | + 'attributes' => [ |
| 144 | + 'name' => 'Name', |
| 145 | + 'username' => 'Benutzername', |
| 146 | + 'email' => 'E-Mail-Adresse', |
| 147 | + 'first_name' => 'Vorname', |
| 148 | + 'last_name' => 'Nachname', |
| 149 | + 'password' => 'Passwort', |
| 150 | + 'password_confirmation' => 'Passwort-Bestätigung', |
| 151 | + 'city' => 'Stadt', |
| 152 | + 'country' => 'Land', |
| 153 | + 'address' => 'Adresse', |
| 154 | + 'phone' => 'Telefonnummer', |
| 155 | + 'mobile' => 'Handynummer', |
| 156 | + 'age' => 'Alter', |
| 157 | + 'sex' => 'Geschlecht', |
| 158 | + 'gender' => 'Geschlecht', |
| 159 | + 'day' => 'Tag', |
| 160 | + 'month' => 'Monat', |
| 161 | + 'year' => 'Jahr', |
| 162 | + 'hour' => 'Stunde', |
| 163 | + 'minute' => 'Minute', |
| 164 | + 'second' => 'Sekunde', |
| 165 | + 'title' => 'Titel', |
| 166 | + 'content' => 'Inhalt', |
| 167 | + 'description' => 'Beschreibung', |
| 168 | + 'excerpt' => 'Auszug', |
| 169 | + 'date' => 'Datum', |
| 170 | + 'time' => 'Uhrzeit', |
| 171 | + 'available' => 'verfügbar', |
| 172 | + 'size' => 'Grösse', |
| 173 | + ], |
| 174 | +]; |
0 commit comments