]> BookStack Code Mirror - bookstack/commitdiff
New translations validation.php (Spanish)
authorDan Brown <redacted>
Fri, 27 Dec 2019 16:40:30 +0000 (16:40 +0000)
committerDan Brown <redacted>
Fri, 27 Dec 2019 16:40:30 +0000 (16:40 +0000)
resources/lang/es/validation.php

index c30e168fc03b2c8a3a64b2dcffc626f5661b48c3..de6094a71ccdddd3032dac53982ce85bbaf308aa 100644 (file)
@@ -30,19 +30,19 @@ return [
     'digits'               => ':attribute debe ser de :digits dígitos.',
     'digits_between'       => ':attribute debe ser un valor entre :min y :max dígios.',
     'email'                => ':attribute debe ser un correo electrónico válido.',
-    'ends_with' => 'The :attribute must end with one of the following: :values',
+    'ends_with' => 'El :attribute debe terminar con uno de los siguientes: :values',
     'filled'               => 'El campo :attribute es requerido.',
     'gt'                   => [
-        'numeric' => 'The :attribute must be greater than :value.',
-        'file'    => 'The :attribute must be greater than :value kilobytes.',
-        'string'  => 'The :attribute must be greater than :value characters.',
-        'array'   => 'The :attribute must have more than :value items.',
+        'numeric' => 'El :attribute debe ser mayor que :value.',
+        'file'    => 'El :attribute debe ser mayor que :value kilobytes.',
+        'string'  => 'El :attribute debe ser mayor que :value caracteres.',
+        'array'   => 'El :attribute debe tener más de :value elementos.',
     ],
     'gte'                  => [
-        'numeric' => 'The :attribute must be greater than or equal :value.',
-        'file'    => 'The :attribute must be greater than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be greater than or equal :value characters.',
-        'array'   => 'The :attribute must have :value items or more.',
+        'numeric' => 'El :attribute debe ser mayor o igual que :value.',
+        'file'    => 'El :attribute debe ser mayor o igual que :value kilobytes.',
+        'string'  => 'El :attribute debe ser mayor o igual que :value caracteres.',
+        'array'   => 'El :attribute debe tener :value o más elementos.',
     ],
     'exists'               => 'El :attribute seleccionado es inválido.',
     'image'                => 'El :attribute debe ser una imagen.',
@@ -50,20 +50,20 @@ return [
     'in'                   => 'El selected :attribute es inválio.',
     'integer'              => 'El :attribute debe ser un entero.',
     'ip'                   => 'El :attribute debe ser una dirección IP válida.',
-    'ipv4'                 => 'The :attribute must be a valid IPv4 address.',
-    'ipv6'                 => 'The :attribute must be a valid IPv6 address.',
-    'json'                 => 'The :attribute must be a valid JSON string.',
+    'ipv4'                 => 'El :attribute debe ser una dirección IPv4 válida.',
+    'ipv6'                 => 'El :attribute debe ser una dirección IPv6 válida.',
+    'json'                 => 'El :attribute debe ser una cadena JSON válida.',
     'lt'                   => [
-        'numeric' => 'The :attribute must be less than :value.',
-        'file'    => 'The :attribute must be less than :value kilobytes.',
-        'string'  => 'The :attribute must be less than :value characters.',
-        'array'   => 'The :attribute must have less than :value items.',
+        'numeric' => 'El :attribute debe ser menor que :value.',
+        'file'    => 'El :attribute debe ser menor que :value kilobytes.',
+        'string'  => 'El :attribute debe ser menor que :value caracteres.',
+        'array'   => 'El :attribute debe tener menos de :value elementos.',
     ],
     'lte'                  => [
-        'numeric' => 'The :attribute must be less than or equal :value.',
-        'file'    => 'The :attribute must be less than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be less than or equal :value characters.',
-        'array'   => 'The :attribute must not have more than :value items.',
+        'numeric' => 'El :attribute debe ser menor o igual que :value.',
+        'file'    => 'El :attribute debe ser menor o igual que :value kilobytes.',
+        'string'  => 'El :attribute debe ser menor o igual que :value caracteres.',
+        'array'   => 'El :attribute no debe tener más de :value elementos.',
     ],
     'max'                  => [
         'numeric' => 'El :attribute no puede ser mayor que :max.',
@@ -80,7 +80,7 @@ return [
     ],
     'no_double_extension'  => 'El :attribute solo debe tener una extensión de archivo.',
     'not_in'               => 'El :attribute seleccionado es inválio.',
-    'not_regex'            => 'The :attribute format is invalid.',
+    'not_regex'            => 'El formato de :attribute es inválido.',
     'numeric'              => 'El :attribute debe ser numérico.',
     'regex'                => 'El formato de :attribute es inválido',
     'required'             => 'El :attribute es requerido.',