Skip to content

Commit

Permalink
Fix spanish language error.
Browse files Browse the repository at this point in the history
  • Loading branch information
pipoburgos authored and JeremySkinner committed Mar 24, 2023
1 parent 422b687 commit 783fde1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/FluentValidation/Resources/Languages/SpanishLanguage.cs
Expand Up @@ -29,9 +29,9 @@ internal class SpanishLanguage {
"EmailValidator" => "'{PropertyName}' no es una dirección de correo electrónico válida.",
"GreaterThanOrEqualValidator" => "'{PropertyName}' debe ser mayor o igual que '{ComparisonValue}'.",
"GreaterThanValidator" => "'{PropertyName}' debe ser mayor que '{ComparisonValue}'.",
"LengthValidator" => "'{PropertyName}' debe tener entre {MinLength} y {MaxLength} carácteres. Actualmente tiene {TotalLength} carácteres.",
"MinimumLengthValidator" => "'{PropertyName}' debe ser mayor o igual que {MinLength} carácteres. Ingresó {TotalLength} carácteres.",
"MaximumLengthValidator" => "'{PropertyName}' debe ser menor o igual que {MaxLength} carácteres. Ingresó {TotalLength} carácteres.",
"LengthValidator" => "'{PropertyName}' debe tener entre {MinLength} y {MaxLength} caracteres. Actualmente tiene {TotalLength} caracteres.",
"MinimumLengthValidator" => "'{PropertyName}' debe ser mayor o igual que {MinLength} caracteres. Ingresó {TotalLength} caracteres.",
"MaximumLengthValidator" => "'{PropertyName}' debe ser menor o igual que {MaxLength} caracteres. Ingresó {TotalLength} caracteres.",
"LessThanOrEqualValidator" => "'{PropertyName}' debe ser menor o igual que '{ComparisonValue}'.",
"LessThanValidator" => "'{PropertyName}' debe ser menor que '{ComparisonValue}'.",
"NotEmptyValidator" => "'{PropertyName}' no debería estar vacío.",
Expand All @@ -41,7 +41,7 @@ internal class SpanishLanguage {
"AsyncPredicateValidator" => "'{PropertyName}' no cumple con la condición especificada.",
"RegularExpressionValidator" => "'{PropertyName}' no tiene el formato correcto.",
"EqualValidator" => "'{PropertyName}' debería ser igual a '{ComparisonValue}'.",
"ExactLengthValidator" => "'{PropertyName}' debe tener una longitud de {MaxLength} carácteres. Actualmente tiene {TotalLength} carácteres.",
"ExactLengthValidator" => "'{PropertyName}' debe tener una longitud de {MaxLength} caracteres. Actualmente tiene {TotalLength} caracteres.",
"ExclusiveBetweenValidator" => "'{PropertyName}' debe estar entre {From} y {To} (exclusivo). Actualmente tiene un valor de {PropertyValue}.",
"InclusiveBetweenValidator" => "'{PropertyName}' debe estar entre {From} y {To}. Actualmente tiene un valor de {PropertyValue}.",
"CreditCardValidator" => "'{PropertyName}' no es un número de tarjeta de crédito válido.",
Expand All @@ -50,10 +50,10 @@ internal class SpanishLanguage {
"NullValidator" => "'{PropertyName}' debe estar vacío.",
"EnumValidator" => "'{PropertyName}' tiene un rango de valores que no incluye '{PropertyValue}'.",
// Additional fallback messages used by clientside validation integration.
"Length_Simple" => "'{PropertyName}' debe tener entre {MinLength} y {MaxLength} carácteres.",
"MinimumLength_Simple" => "'{PropertyName}' debe ser mayor o igual que {MinLength} carácteres.",
"MaximumLength_Simple" => "'{PropertyName}' debe ser menor o igual que {MaxLength} carácteres.",
"ExactLength_Simple" => "'{PropertyName}' debe tener una longitud de {MaxLength} carácteres.",
"Length_Simple" => "'{PropertyName}' debe tener entre {MinLength} y {MaxLength} caracteres.",
"MinimumLength_Simple" => "'{PropertyName}' debe ser mayor o igual que {MinLength} caracteres.",
"MaximumLength_Simple" => "'{PropertyName}' debe ser menor o igual que {MaxLength} caracteres.",
"ExactLength_Simple" => "'{PropertyName}' debe tener una longitud de {MaxLength} caracteres.",
"InclusiveBetween_Simple" => "'{PropertyName}' debe estar entre {From} y {To}.",
_ => null,
};
Expand Down

0 comments on commit 783fde1

Please sign in to comment.