Skip to content

Commit b4ebb5e

Browse files
authored
Merge pull request #48 from Romerolweb/spanish
Adding Spanish for the back end
2 parents 21b2c93 + 94b8f6b commit b4ebb5e

File tree

5 files changed

+249
-1
lines changed

5 files changed

+249
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ a quick start, follow these steps:
8181

8282
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/8CGKmu?referralCode=KvSr11)
8383

84+
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/8DIRY6)
85+
8486
### 🐳 Quick Start with Docker
8587

8688
> [!IMPORTANT]
@@ -128,4 +130,4 @@ reach out to us at [[email protected]](mailto:[email protected]).
128130

129131
Hi.Events is licensed under the terms of the [AGPL-3.0](https://github.com/HiEventsDev/hi.events/blob/main/LICENCE) license.
130132

131-
For more licensing information, including commercial licencing options, please visit our licensing page [here](https://hi.events/licensing).
133+
For more licensing information, including commercial licencing options, please visit our licensing page [here](https://hi.events/licensing).

backend/lang/es/auth.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
|
14+
*/
15+
16+
'failed' => 'Estas credenciales no coinciden con nuestros registros.',
17+
'password' => 'La contraseña proporcionada es incorrecta.',
18+
'throttle' => 'Demasiados intentos de inicio de sesión. Por favor, inténtelo de nuevo en :seconds segundos.',
19+
20+
];

backend/lang/es/pagination.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the simple pagination links. You are free to change them to anything
12+
| you want to customize your views to better match your application.
13+
|
14+
*/
15+
16+
'previous' => '&laquo; Anterior',
17+
'next' => 'Siguiente &raquo;',
18+
19+
];

backend/lang/es/passwords.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reset Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
|
14+
*/
15+
16+
'reset' => 'Tu contraseña ha sido restablecida.',
17+
'sent' => 'Hemos enviado por correo electrónico el enlace para restablecer tu contraseña.',
18+
'throttled' => 'Por favor espera antes de intentarlo de nuevo.',
19+
'token' => 'Este token de restablecimiento de contraseña no es válido.',
20+
'user' => 'No podemos encontrar un usuario con esa dirección de correo electrónico.',
21+
22+
];

backend/lang/es/validation.php

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used by
11+
| the validator class. Some of these rules have multiple versions such
12+
| as the size rules. Feel free to tweak each of these messages here.
13+
|
14+
*/
15+
return [
16+
'accepted' => 'El campo :attribute debe ser aceptado.',
17+
'accepted_if' => 'El campo :attribute debe ser aceptado cuando :other es :value.',
18+
'active_url' => 'El campo :attribute no es una URL válida.',
19+
'after' => 'El campo :attribute debe ser una fecha posterior a :date.',
20+
'after_or_equal' => 'El campo :attribute debe ser una fecha posterior o igual a :date.',
21+
'alpha' => 'El campo :attribute solo debe contener letras.',
22+
'alpha_dash' => 'El campo :attribute solo debe contener letras, números, guiones y guiones bajos.',
23+
'alpha_num' => 'El campo :attribute solo debe contener letras y números.',
24+
'array' => 'El campo :attribute debe ser un arreglo.',
25+
'ascii' => 'El campo :attribute solo debe contener caracteres alfanuméricos de un solo byte y símbolos.',
26+
'before' => 'El campo :attribute debe ser una fecha anterior a :date.',
27+
'before_or_equal' => 'El campo :attribute debe ser una fecha anterior o igual a :date.',
28+
'between' => [
29+
'array' => 'El campo :attribute debe tener entre :min y :max elementos.',
30+
'file' => 'El campo :attribute debe tener entre :min y :max kilobytes.',
31+
'numeric' => 'El campo :attribute debe estar entre :min y :max.',
32+
'string' => 'El campo :attribute debe tener entre :min y :max caracteres.',
33+
],
34+
'boolean' => 'El campo :attribute debe ser verdadero o falso.',
35+
'confirmed' => 'La confirmación del campo :attribute no coincide.',
36+
'current_password' => 'La contraseña es incorrecta.',
37+
'date' => 'El campo :attribute no es una fecha válida.',
38+
'date_equals' => 'El campo :attribute debe ser una fecha igual a :date.',
39+
'date_format' => 'El campo :attribute no coincide con el formato :format.',
40+
'decimal' => 'El campo :attribute debe tener :decimal lugares decimales.',
41+
'declined' => 'El campo :attribute debe ser rechazado.',
42+
'declined_if' => 'El campo :attribute debe ser rechazado cuando :other es :value.',
43+
'different' => 'El campo :attribute y :other deben ser diferentes.',
44+
'digits' => 'El campo :attribute debe tener :digits dígitos.',
45+
'digits_between' => 'El campo :attribute debe tener entre :min y :max dígitos.',
46+
'dimensions' => 'El campo :attribute tiene dimensiones de imagen inválidas.',
47+
'distinct' => 'El campo :attribute tiene un valor duplicado.',
48+
'doesnt_end_with' => 'El campo :attribute no debe terminar con ninguno de los siguientes: :values.',
49+
'doesnt_start_with' => 'El campo :attribute no debe comenzar con ninguno de los siguientes: :values.',
50+
'email' => 'El campo :attribute debe ser una dirección de correo electrónico válida.',
51+
'ends_with' => 'El campo :attribute debe terminar con uno de los siguientes: :values.',
52+
'enum' => 'El :attribute seleccionado es inválido.',
53+
'exists' => 'El :attribute seleccionado es inválido.',
54+
'file' => 'El campo :attribute debe ser un archivo.',
55+
'filled' => 'El campo :attribute debe tener un valor.',
56+
'gt' => [
57+
'array' => 'El campo :attribute debe tener más de :value elementos.',
58+
'file' => 'El campo :attribute debe ser mayor que :value kilobytes.',
59+
'numeric' => 'El campo :attribute debe ser mayor que :value.',
60+
'string' => 'El campo :attribute debe ser mayor que :value caracteres.',
61+
],
62+
'gte' => [
63+
'array' => 'El campo :attribute debe tener :value elementos o más.',
64+
'file' => 'El campo :attribute debe ser mayor o igual que :value kilobytes.',
65+
'numeric' => 'El campo :attribute debe ser mayor o igual que :value.',
66+
'string' => 'El campo :attribute debe ser mayor o igual que :value caracteres.',
67+
],
68+
'image' => 'El campo :attribute debe ser una imagen.',
69+
'in' => 'El :attribute seleccionado es inválido.',
70+
'in_array' => 'El campo :attribute no existe en :other.',
71+
'integer' => 'El campo :attribute debe ser un número entero.',
72+
'ip' => 'El campo :attribute debe ser una dirección IP válida.',
73+
'ipv4' => 'El campo :attribute debe ser una dirección IPv4 válida.',
74+
'ipv6' => 'El campo :attribute debe ser una dirección IPv6 válida.',
75+
'json' => 'El campo :attribute debe ser una cadena JSON válida.',
76+
'lowercase' => 'El campo :attribute debe estar en minúsculas.',
77+
'lt' => [
78+
'array' => 'El campo :attribute debe tener menos de :value elementos.',
79+
'file' => 'El campo :attribute debe ser menor que :value kilobytes.',
80+
'numeric' => 'El campo :attribute debe ser menor que :value.',
81+
'string' => 'El campo :attribute debe ser menor que :value caracteres.',
82+
],
83+
'lte' => [
84+
'array' => 'El campo :attribute no debe tener más de :value elementos.',
85+
'file' => 'El campo :attribute debe ser menor o igual que :value kilobytes.',
86+
'numeric' => 'El campo :attribute debe ser menor o igual que :value.',
87+
'string' => 'El campo :attribute debe ser menor o igual que :value caracteres.',
88+
],
89+
'mac_address' => 'El campo :attribute debe ser una dirección MAC válida.',
90+
'max' => [
91+
'array' => 'El campo :attribute no debe tener más de :max elementos.',
92+
'file' => 'El campo :attribute no debe ser mayor que :max kilobytes.',
93+
'numeric' => 'El campo :attribute no debe ser mayor que :max.',
94+
'string' => 'El campo :attribute no debe ser mayor que :max caracteres.',
95+
],
96+
'max_digits' => 'El campo :attribute no debe tener más de :max dígitos.',
97+
'mimes' => 'El campo :attribute debe ser un archivo de tipo: :values.',
98+
'mimetypes' => 'El campo :attribute debe ser un archivo de tipo: :values.',
99+
'min' => [
100+
'array' => 'El campo :attribute debe tener al menos :min elementos.',
101+
'file' => 'El campo :attribute debe ser al menos :min kilobytes.',
102+
'numeric' => 'El campo :attribute debe ser al menos :min.',
103+
'string' => 'El campo :attribute debe tener al menos :min caracteres.',
104+
],
105+
'min_digits' => 'El campo :attribute debe tener al menos :min dígitos.',
106+
'missing' => 'El campo :attribute debe estar ausente.',
107+
'missing_if' => 'El campo :attribute debe estar ausente cuando :other es :value.',
108+
'missing_unless' => 'El campo :attribute debe estar ausente a menos que :other sea :value.',
109+
'missing_with' => 'El campo :attribute debe estar ausente cuando :values está presente.',
110+
'missing_with_all' => 'El campo :attribute debe estar ausente cuando :values están presentes.',
111+
'multiple_of' => 'El campo :attribute debe ser un múltiplo de :value.',
112+
'not_in' => 'El :attribute seleccionado es inválido.',
113+
'not_regex' => 'El formato del campo :attribute es inválido.',
114+
'numeric' => 'El campo :attribute debe ser un número.',
115+
'password' => [
116+
'letters' => 'El campo :attribute debe contener al menos una letra.',
117+
'mixed' => 'El campo :attribute debe contener al menos una letra mayúscula y una minúscula.',
118+
'numbers' => 'El campo :attribute debe contener al menos un número.',
119+
'symbols' => 'El campo :attribute debe contener al menos un símbolo.',
120+
'uncompromised' => 'El :attribute proporcionado ha aparecido en una filtración de datos. Por favor, elija un :attribute diferente.',
121+
],
122+
'present' => 'El campo :attribute debe estar presente.',
123+
'prohibited' => 'El campo :attribute está prohibido.',
124+
'prohibited_if' => 'El campo :attribute está prohibido cuando :other es :value.',
125+
'prohibited_unless' => 'El campo :attribute está prohibido a menos que :other esté en :values.',
126+
'prohibits' => 'El campo :attribute prohíbe que :other esté presente.',
127+
'regex' => 'El formato del campo :attribute es inválido.',
128+
'required' => 'El campo :attribute es obligatorio.',
129+
'required_array_keys' => 'El campo :attribute debe contener entradas para: :values.',
130+
'required_if' => 'El campo :attribute es obligatorio cuando :other es :value.',
131+
'required_if_accepted' => 'El campo :attribute es obligatorio cuando :other es aceptado.',
132+
'required_unless' => 'El campo :attribute es obligatorio a menos que :other esté en :values.',
133+
'required_with' => 'El campo :attribute es obligatorio cuando :values está presente.',
134+
'required_with_all' => 'El campo :attribute es obligatorio cuando :values están presentes.',
135+
'required_without' => 'El campo :attribute es obligatorio cuando :values no está presente.',
136+
'required_without_all' => 'El campo :attribute es obligatorio cuando ninguno de los :values está presente.',
137+
'same' => 'El campo :attribute debe coincidir con :other.',
138+
'size' => [
139+
'array' => 'El campo :attribute debe contener :size elementos.',
140+
'file' => 'El campo :attribute debe ser :size kilobytes.',
141+
'numeric' => 'El campo :attribute debe ser :size.',
142+
'string' => 'El campo :attribute debe tener :size caracteres.',
143+
],
144+
'starts_with' => 'El campo :attribute debe comenzar con uno de los siguientes: :values.',
145+
'string' => 'El campo :attribute debe ser una cadena de texto.',
146+
'timezone' => 'El campo :attribute debe ser una zona horaria válida.',
147+
'unique' => 'El :attribute ya ha sido tomado.',
148+
'uploaded' => 'El :attribute no se pudo subir.',
149+
'uppercase' => 'El campo :attribute debe estar en mayúsculas.',
150+
'url' => 'El campo :attribute debe ser una URL válida.',
151+
'ulid' => 'El campo :attribute debe ser un ULID válido.',
152+
'uuid' => 'El campo :attribute debe ser un UUID válido.',
153+
];
154+
155+
/*
156+
|--------------------------------------------------------------------------
157+
| Custom Validation Language Lines
158+
|--------------------------------------------------------------------------
159+
|
160+
| Here you may specify custom validation messages for attributes using the
161+
| convention "attribute.rule" to name the lines. This makes it quick to
162+
| specify a specific custom language line for a given attribute rule.
163+
|
164+
*/
165+
166+
'custom' => [
167+
'attribute-name' => [
168+
'rule-name' => 'Mensaje-Personalizado',
169+
],
170+
],
171+
172+
/*
173+
|--------------------------------------------------------------------------
174+
| Custom Validation Attributes
175+
|--------------------------------------------------------------------------
176+
|
177+
| The following language lines are used to swap our attribute placeholder
178+
| with something more reader friendly such as "E-Mail Address" instead
179+
| of "email". This simply helps us make our message more expressive.
180+
|
181+
*/
182+
183+
'attributes' => [],
184+
185+
];

0 commit comments

Comments
 (0)