validation.php 4.83 KB
Newer Older
Tobias Orterer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php 

return array(

	/*
	|--------------------------------------------------------------------------
	| Validation Language Lines
	|--------------------------------------------------------------------------
	|
	| The following language lines contain the default error messages used
	| by the validator class. Some of the rules contain multiple versions,
	| such as the size (max, min, between) rules. These versions are used
	| for different input types such as strings and files.
	|
	| These language lines may be easily changed to provide custom error
	| messages in your application. Error messages for custom validation
	| rules may also be added to this file.
	|
	*/

	"accepted"       => ":attribute muss akzeptiert werden.",
22 23
	"active_url"     => ":attribute ist keine g&uuml;ltige URL.",
	"after"          => ":attribute muss ein Datum nach dem :date sein.",
Tobias Orterer committed
24
	"alpha"          => ":attribute darf nur Buchstaben beinhalten.",
25 26
	"alpha_dash"     => ":attribute darf nur aus Buchstaben, Nummern und Bindestrichen bestehen.",
	"alpha_num"      => ":attribute darf nur aus Buchstaben und Nummern bestehen.",
27
	"array"          => ":attribute muss ausgew&auml;hlte Elemente haben.",
28
	"before"         => ":attribute muss ein Datum vor dem :date sein.",
Tobias Orterer committed
29
	"between"        => array(
30 31 32
		"numeric" => ":attribute muss zwischen :min und :max liegen.",
		"file"    => ":attribute muss zwischen :min und :max Kilobytes gro&szlig; sein.",
		"string"  => ":attribute muss zwischen :min und :max Zeichen lang sein.",
Tobias Orterer committed
33
	),
34
	"confirmed"      => ":attribute stimmt nicht mit der Best&auml;tigung &uuml;berein.",
35 36 37 38
	"count"          => ":attribute muss genau :count ausgew&auml;hlte Elemente haben.",
	"countbetween"   => ":attribute muss zwischen :min und :max ausgew&auml;hlte Elemente haben.",
	"countmax"       => ":attribute muss weniger als :max ausgew&auml;hlte Elemente haben.",
	"countmin"       => ":attribute muss mindestens :min ausgew&auml;hlte Elemente haben.",
Tobias Orterer committed
39
	"different"      => ":attribute und :other m&uuml;ssen verschieden sein.",
40 41
	"email"          => ":attribute ist keine g&uuml;ltige Email-Adresse.",
	"exists"         => "Der gew&auml;hlte Wert f&uuml;r :attribute ist ung&uuml;ltig.",
Tobias Orterer committed
42
	"image"          => ":attribute muss ein Bild sein.",
43 44 45 46
	"in"             => "Der gew&auml;hlte Wert f&uuml;r :attribute ist ung&uuml;ltig.",
	"integer"        => ":attribute muss eine ganze Zahl sein.",
	"ip"             => ":attribute muss eine g&uuml;ltige IP-Adresse sein.",
	"match"          => ":attribute hat ein ung&uuml;ltiges Format.",
Tobias Orterer committed
47
	"max"            => array(
48 49 50
		"numeric" => ":attribute muss kleiner als :max sein.",
		"file"    => ":attribute muss kleiner als :max Kilobytes gro&szlig; sein.",
		"string"  => ":attribute muss k&uuml;rzer als :max Zeichen sein.",
Tobias Orterer committed
51
	),
52
	"mimes"          => ":attribute muss den Dateityp :values haben.",
Tobias Orterer committed
53
	"min"            => array(
54 55 56
		"numeric" => ":attribute muss gr&ouml;&szlig;er als :min sein.",
		"file"    => ":attribute muss gr&ouml;&szlig;er als :min Kilobytes gro&szlig; sein.",
		"string"  => ":attribute muss l&auml;nger als :min Zeichen sein.",
Tobias Orterer committed
57
	),
58 59
	"not_in"         => "Der gew&auml;hlte Wert f&uuml;r :attribute ist ung&uuml;ltig.",
	"numeric"        => ":attribute muss eine Zahl sein.",
60
	"required"       => ":attribute muss ausgef&uuml;llt sein.",
Tobias Orterer committed
61 62
	"same"           => ":attribute und :other m&uuml;ssen &uuml;bereinstimmen.",
	"size"           => array(
63 64 65
		"numeric" => ":attribute muss gleich :size sein.",
		"file"    => ":attribute muss :size Kilobyte gro&szlig; sein.",
		"string"  => ":attribute muss :size Zeichen lang sein.",
Tobias Orterer committed
66 67
	),
	"unique"         => ":attribute ist schon vergeben.",
68
	"url"            => "Das Format von :attribute ist ung&uuml;ltig.",
Tobias Orterer committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104

	/*
	|--------------------------------------------------------------------------
	| Custom Validation Language Lines
	|--------------------------------------------------------------------------
	|
	| Here you may specify custom validation messages for attributes using the
	| convention "attribute_rule" to name the lines. This helps keep your
	| custom validation clean and tidy.
	|
	| So, say you want to use a custom validation message when validating that
	| the "email" attribute is unique. Just add "email_unique" to this array
	| with your custom message. The Validator will handle the rest!
	|
	*/

	'custom' => array(),

	/*
	|--------------------------------------------------------------------------
	| Validation Attributes
	|--------------------------------------------------------------------------
	|
	| The following language lines are used to swap attribute place-holders
	| with something more reader friendly such as "E-Mail Address" instead
	| of "email". Your users will thank you.
	|
	| The Validator class will automatically search this array of lines it
	| is attempting to replace the :attribute place-holder in messages.
	| It's pretty slick. We think you'll like it.
	|
	*/

	'attributes' => array(),

);