validation.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Validation Language Lines
  5. |--------------------------------------------------------------------------
  6. |
  7. | The following language lines contain the default error messages used by
  8. | the validator class. Some of these rules have multiple versions such
  9. | as the size rules. Feel free to tweak each of these messages here.
  10. |
  11. */
  12. return [
  13. 'accepted' => ':attribute muss akzeptiert werden.',
  14. 'accepted_if' => ':attribute muss akzeptiert werden, wenn :other :value ist.',
  15. 'active_url' => ':attribute ist keine gültige Internet-Adresse.',
  16. 'after' => ':attribute muss ein Datum nach :date sein.',
  17. 'after_or_equal' => ':attribute muss ein Datum nach :date oder gleich :date sein.',
  18. 'alpha' => ':attribute darf nur aus Buchstaben bestehen.',
  19. 'alpha_dash' => ':attribute darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.',
  20. 'alpha_num' => ':attribute darf nur aus Buchstaben und Zahlen bestehen.',
  21. 'array' => ':attribute muss ein Array sein.',
  22. 'attached' => ':attribute ist bereits angehängt.',
  23. 'before' => ':attribute muss ein Datum vor :date sein.',
  24. 'before_or_equal' => ':attribute muss ein Datum vor :date oder gleich :date sein.',
  25. 'between' => [
  26. 'array' => ':attribute muss zwischen :min & :max Elemente haben.',
  27. 'file' => ':attribute muss zwischen :min & :max Kilobytes groß sein.',
  28. 'numeric' => ':attribute muss zwischen :min & :max liegen.',
  29. 'string' => ':attribute muss zwischen :min & :max Zeichen lang sein.',
  30. ],
  31. 'boolean' => ':attribute muss entweder \'true\' oder \'false\' sein.',
  32. 'confirmed' => ':attribute stimmt nicht mit der Bestätigung überein.',
  33. 'current_password' => 'Das Passwort ist falsch.',
  34. 'date' => ':attribute muss ein gültiges Datum sein.',
  35. 'date_equals' => ':attribute muss ein Datum gleich :date sein.',
  36. 'date_format' => ':attribute entspricht nicht dem gültigen Format für :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => ':attribute und :other müssen sich unterscheiden.',
  40. 'digits' => ':attribute muss :digits Stellen haben.',
  41. 'digits_between' => ':attribute muss zwischen :min und :max Stellen haben.',
  42. 'dimensions' => ':attribute hat ungültige Bildabmessungen.',
  43. 'distinct' => ':attribute beinhaltet einen bereits vorhandenen Wert.',
  44. 'email' => ':attribute muss eine gültige E-Mail-Adresse sein.',
  45. 'ends_with' => ':attribute muss eine der folgenden Endungen aufweisen: :values',
  46. 'exists' => 'Der gewählte Wert für :attribute ist ungültig.',
  47. 'file' => ':attribute muss eine Datei sein.',
  48. 'filled' => ':attribute muss ausgefüllt sein.',
  49. 'gt' => [
  50. 'array' => ':attribute muss mehr als :value Elemente haben.',
  51. 'file' => ':attribute muss größer als :value Kilobytes sein.',
  52. 'numeric' => ':attribute muss größer als :value sein.',
  53. 'string' => ':attribute muss länger als :value Zeichen sein.',
  54. ],
  55. 'gte' => [
  56. 'array' => ':attribute muss mindestens :value Elemente haben.',
  57. 'file' => ':attribute muss größer oder gleich :value Kilobytes sein.',
  58. 'numeric' => ':attribute muss größer oder gleich :value sein.',
  59. 'string' => ':attribute muss mindestens :value Zeichen lang sein.',
  60. ],
  61. 'image' => ':attribute muss ein Bild sein.',
  62. 'in' => 'Der gewählte Wert für :attribute ist ungültig.',
  63. 'in_array' => 'Der gewählte Wert für :attribute kommt nicht in :other vor.',
  64. 'integer' => ':attribute muss eine ganze Zahl sein.',
  65. 'ip' => ':attribute muss eine gültige IP-Adresse sein.',
  66. 'ipv4' => ':attribute muss eine gültige IPv4-Adresse sein.',
  67. 'ipv6' => ':attribute muss eine gültige IPv6-Adresse sein.',
  68. 'json' => ':attribute muss ein gültiger JSON-String sein.',
  69. 'lt' => [
  70. 'array' => ':attribute muss weniger als :value Elemente haben.',
  71. 'file' => ':attribute muss kleiner als :value Kilobytes sein.',
  72. 'numeric' => ':attribute muss kleiner als :value sein.',
  73. 'string' => ':attribute muss kürzer als :value Zeichen sein.',
  74. ],
  75. 'lte' => [
  76. 'array' => ':attribute darf maximal :value Elemente haben.',
  77. 'file' => ':attribute muss kleiner oder gleich :value Kilobytes sein.',
  78. 'numeric' => ':attribute muss kleiner oder gleich :value sein.',
  79. 'string' => ':attribute darf maximal :value Zeichen lang sein.',
  80. ],
  81. 'max' => [
  82. 'array' => ':attribute darf maximal :max Elemente haben.',
  83. 'file' => ':attribute darf maximal :max Kilobytes groß sein.',
  84. 'numeric' => ':attribute darf maximal :max sein.',
  85. 'string' => ':attribute darf maximal :max Zeichen haben.',
  86. ],
  87. 'mimes' => ':attribute muss den Dateityp :values haben.',
  88. 'mimetypes' => ':attribute muss den Dateityp :values haben.',
  89. 'min' => [
  90. 'array' => ':attribute muss mindestens :min Elemente haben.',
  91. 'file' => ':attribute muss mindestens :min Kilobytes groß sein.',
  92. 'numeric' => ':attribute muss mindestens :min sein.',
  93. 'string' => ':attribute muss mindestens :min Zeichen lang sein.',
  94. ],
  95. 'multiple_of' => ':attribute muss ein Vielfaches von :value sein.',
  96. 'not_in' => 'Der gewählte Wert für :attribute ist ungültig.',
  97. 'not_regex' => ':attribute hat ein ungültiges Format.',
  98. 'numeric' => ':attribute muss eine Zahl sein.',
  99. 'password' => 'Das Passwort ist falsch.',
  100. 'present' => ':attribute muss vorhanden sein.',
  101. 'prohibited' => ':attribute ist unzulässig.',
  102. 'prohibited_if' => ':attribute ist unzulässig, wenn :other :value ist.',
  103. 'prohibited_unless' => ':attribute ist unzulässig, wenn :other nicht :values ist.',
  104. 'prohibits' => ':attribute verbietet die Angabe von :other.',
  105. 'regex' => ':attribute Format ist ungültig.',
  106. 'relatable' => ':attribute kann nicht mit dieser Ressource verbunden werden.',
  107. 'required' => ':attribute muss ausgefüllt werden.',
  108. 'required_if' => ':attribute muss ausgefüllt werden, wenn :other den Wert :value hat.',
  109. 'required_unless' => ':attribute muss ausgefüllt werden, wenn :other nicht den Wert :values hat.',
  110. 'required_with' => ':attribute muss ausgefüllt werden, wenn :values ausgefüllt wurde.',
  111. 'required_with_all' => ':attribute muss ausgefüllt werden, wenn :values ausgefüllt wurde.',
  112. 'required_without' => ':attribute muss ausgefüllt werden, wenn :values nicht ausgefüllt wurde.',
  113. 'required_without_all' => ':attribute muss ausgefüllt werden, wenn keines der Felder :values ausgefüllt wurde.',
  114. 'same' => ':attribute und :other müssen übereinstimmen.',
  115. 'size' => [
  116. 'array' => ':attribute muss genau :size Elemente haben.',
  117. 'file' => ':attribute muss :size Kilobyte groß sein.',
  118. 'numeric' => ':attribute muss gleich :size sein.',
  119. 'string' => ':attribute muss :size Zeichen lang sein.',
  120. ],
  121. 'starts_with' => ':attribute muss mit einem der folgenden Anfänge aufweisen: :values',
  122. 'string' => ':attribute muss ein String sein.',
  123. 'timezone' => ':attribute muss eine gültige Zeitzone sein.',
  124. 'unique' => ':attribute ist bereits vergeben.',
  125. 'uploaded' => ':attribute konnte nicht hochgeladen werden.',
  126. 'url' => ':attribute muss eine URL sein.',
  127. 'uuid' => ':attribute muss ein UUID sein.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];