Skip to content

Commit

Permalink
better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
frithjof committed Jun 17, 2015
1 parent 133c905 commit bb5eb1c
Show file tree
Hide file tree
Showing 5 changed files with 533 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/lang/errors/de/Zend_Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

// Zend_Validate_NotEmpty
"Invalid type given. String, integer, float, boolean or array expected" => "Ungültiger Typ angegeben. String, Integer, Float, Boolean oder Array erwartet",
"Value is required and can't be empty" => "Es wird ein Wert benötigt. Dieser darf nicht leer sein",
"Value is required and can't be empty" => "Pflichtfeld",

// Zend_Validate_PostCode
"Invalid type given. String or integer expected" => "Ungültiger Typ angegeben. String oder Integer erwartet",
Expand Down
2 changes: 1 addition & 1 deletion data/lang/errors/en/Zend_Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

// Zend_Validate_NotEmpty
"Invalid type given. String, integer, float, boolean or array expected" => "Invalid type given. String, integer, float, boolean or array expected",
"Value is required and can't be empty" => "Value is required and can't be empty",
"Value is required and can't be empty" => "Field required",

// Zend_Validate_PostCode
"Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
Expand Down
2 changes: 1 addition & 1 deletion data/lang/errors/es/Zend_Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

// Zend_Validate_NotEmpty
"Invalid type given, value should be float, string, array, boolean or integer" => "El tipo especificado es inválido, el valor deberí­a ser un float, una cadena de texto, un array, un boolean o un entero",
"Value is required and can't be empty" => "Se requiere un valor y éste no puede estar vací­o",
"Value is required and can't be empty" => "Campo obligatorio",

// Zend_Validate_PostCode
"Invalid type given. The value should be a string or a integer" => "El tipo especificado es incorrecto, el valor deberí­a ser una cadena de texto",
Expand Down
Loading

0 comments on commit bb5eb1c

Please sign in to comment.