Skip to content

Commit 50abb31

Browse files
committed
Added Spanish translation support
1 parent 552a6d1 commit 50abb31

3 files changed

Lines changed: 145 additions & 1 deletion

File tree

messages/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'sourcePath' => __DIR__ . '/../',
66
// array, required, list of language codes that the extracted messages
77
// should be translated to. For example, ['zh-CN', 'de'].
8-
'languages' => ['cs', 'de', 'ru','pt-BR','ko-KR', 'pt-PT'],
8+
'languages' => ['cs', 'de', 'es', 'ru','pt-BR','ko-KR', 'pt-PT'],
99
// string, the name of the function for translating messages.
1010
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
1111
// translated. You may use a string for single function name or an array for

messages/es/back.php

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?php
2+
/**
3+
* Message translations.
4+
*
5+
* This file is automatically generated by 'yii message/extract' command.
6+
* It contains the localizable messages extracted from source code.
7+
* You may modify this file by translating the extracted messages.
8+
*
9+
* Each array element represents the translation (value) of a message (key).
10+
* If the value is empty, the message is considered as not translated.
11+
* Messages that no longer need translation will have their translations
12+
* enclosed between a pair of '@@' marks.
13+
*
14+
* Message string can be used with plural forms format. Check i18n section
15+
* of the guide for details.
16+
*
17+
* NOTE: this file must be saved in UTF-8 encoding.
18+
*/
19+
return [
20+
'Active' => 'Activo',
21+
'Are you sure you want to delete this user?' => '¿Está seguro que desea eliminar este usuario?',
22+
'Banned' => 'Bloqueado',
23+
'Bind to IP' => 'Casar a IP',
24+
'Browser' => 'Navegador',
25+
'Change own password' => 'Cambiar propia contraseña',
26+
'Change password' => 'Cambiar contraseña de usuario',
27+
'Changing password' => 'Cambiando contraseña',
28+
'Changing password for user: ' => 'Cambiando contraseña para usuario: ',
29+
'Child permissions' => 'Permisos hijos',
30+
'Child roles' => 'Roles hijos',
31+
'Code' => 'Código',
32+
'Confirmation Token' => 'Token de confirmación',
33+
'Create' => 'Crear',
34+
'Created' => 'Creado',
35+
'Creating permission group' => 'Creación de grupo de permisos',
36+
'Current password' => 'Actual contraseña',
37+
'Data' => 'Dato',
38+
'Delete' => 'Eliminar',
39+
'Description' => 'Descripción',
40+
'E-mail' => 'Correo electrónico',
41+
'E-mail confirmed' => 'Correo confirmado',
42+
'E-mail with activation link has been sent to <b>{email}</b>. This link will expire in {minutes} min.' => 'Un correo electrónico con un enlace de activación ha sido enviado a <b>{email}</b>. El enlace expirara en {minutes} minutos.',
43+
'Edit' => 'Editar',
44+
'Editing' => 'Editando',
45+
'Editing permission group' => 'Editando grupo de permiso',
46+
'Editing permission: ' => 'Editando permiso:',
47+
'Editing role: ' => 'Editando rol:',
48+
'Editing user: ' => 'Editando usuario:',
49+
'For example: 123.34.56.78, 168.111.192.12' => 'Por ejemplo: 123.34.56.78, 168.111.192.12',
50+
'Group' => 'Grupo',
51+
'Inactive' => 'Inactivo',
52+
'Language' => 'Idioma',
53+
'Login' => 'Inicio de sesión',
54+
'Name' => 'Nombre',
55+
'OS' => 'Sistema Operativo',
56+
'Password' => 'Contraseña',
57+
'Password has been changed' => 'Contraseña ha sido cambiada',
58+
'Permission creation' => 'Creación de permisos',
59+
'Permission groups' => 'Grupos de permisos',
60+
'Permissions' => 'Permisos',
61+
'Permissions for role:' => 'Permisos de role:',
62+
'Refresh routes' => 'Refrescar rutas',
63+
'Refresh routes (and delete unused)' => 'Refrescar rutas (y eliminar sin uso)',
64+
'Registration IP' => 'IP Registrada',
65+
'Repeat password' => 'Repetir contraseña',
66+
'Reset' => 'Reestablecer',
67+
'Role creation' => 'Creación de Rol',
68+
'Roles' => 'Roles',
69+
'Roles and permissions' => 'Roles y permisos',
70+
'Roles and permissions for user:' => 'Roles y permisos para el usuario',
71+
'Routes that are not exists in this application will be deleted. Do not recommended for application with "advanced" structure, because frontend and backend have they own set of routes.' => 'Se eliminarán rutas que no existan en esta aplicación. No se recomienda para aplicaciones con estructura de "avanzada", porque frontend y backend tienen que propio conjunto de rutas.',
72+
'Rule' => 'Regla',
73+
'Save' => 'Guardar',
74+
'Saved' => 'Guardado',
75+
'Search' => 'Buscar',
76+
'Search route' => 'Buscar ruta',
77+
'Settings for permission' => 'Configuración de permiso',
78+
'Show all' => 'Mostrar todos',
79+
'Show only selected' => 'Mostrar solo seleccionados',
80+
'Status' => 'Estatus',
81+
'Superadmin' => 'Super admin',
82+
'Too many attempts' => 'Demasiados intentos',
83+
'Type' => 'Tipo',
84+
'Updated' => 'Actualizado',
85+
'User' => 'Usuario',
86+
'User agent' => 'Agente de Usuario',
87+
'User creation' => 'Creación de Usuario',
88+
'Users' => 'Usuarios',
89+
'Visit Time' => 'Fecha de visita',
90+
'Visit log' => 'Registro de visita',
91+
'Wrong format. Enter valid IPs separated by comma' => 'Formato incorrecto. Ingrese IPs valida separada por coma',
92+
'Wrong password' => 'Contraseña incorrecta',
93+
'You can not change own permissions' => 'Usted no puede cambiar sus propios permisos',
94+
];

messages/es/front.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
/**
3+
* Message translations.
4+
*
5+
* This file is automatically generated by 'yii message/extract' command.
6+
* It contains the localizable messages extracted from source code.
7+
* You may modify this file by translating the extracted messages.
8+
*
9+
* Each array element represents the translation (value) of a message (key).
10+
* If the value is empty, the message is considered as not translated.
11+
* Messages that no longer need translation will have their translations
12+
* enclosed between a pair of '@@' marks.
13+
*
14+
* Message string can be used with plural forms format. Check i18n section
15+
* of the guide for details.
16+
*
17+
* NOTE: this file must be saved in UTF-8 encoding.
18+
*/
19+
return [
20+
'Authorization' => 'Autorización',
21+
'Captcha' => 'Código Captcha',
22+
'Check your E-mail for further instructions' => 'Verifique su correo electrónico para futura instrucciones',
23+
'Check your e-mail {email} for instructions to activate account' => 'Verifique su correo electrónico {mail} para obtener las instrucciones para activar la cuenta',
24+
'Confirm' => 'Confirmar',
25+
'Confirm E-mail' => 'Confirmar correo electrónico',
26+
'Continue' => 'Continuar',
27+
'Could not send confirmation email' => 'No fue posible enviar correo electrónico de confirmación',
28+
'E-mail confirmation for' => 'Confirmación de correo electrónico para',
29+
'E-mail confirmed' => 'Correo electrónico confirmado',
30+
'E-mail is invalid' => 'Correo electrónico inválido',
31+
'Forgot password ?' => '¿Olvido la contraseña?',
32+
'Incorrect username or password.' => 'Nombre de usuario o contraseña incorrecta.',
33+
'Login' => 'Usuario',
34+
'Login has been taken' => 'Este login ya existe',
35+
'Password' => 'contraseña',
36+
'Password recovery' => 'Recuperación de contraseña',
37+
'Password reset for' => 'Redefinir contraseña para',
38+
'Recover' => 'Recuperar',
39+
'Register' => 'Registrar',
40+
'Registration' => 'Registro',
41+
'Registration - confirm your e-mail' => 'Registro - Confirmar su correo electrónico',
42+
'Remember me' => 'Recordarme',
43+
'Repeat password' => 'Repita a contraseña',
44+
'This E-mail already exists' => 'Este correo electrónico ya existe',
45+
'Token not found. It may be expired' => 'Token no encontrado. Pode haber expirado',
46+
'Token not found. It may be expired. Try reset password once more' => 'Token no encontrado. Pode haber expirado. Trate de redefinir a contraseña una vez mas',
47+
'Too many attempts' => 'Demasiados intentos',
48+
'Unable to send message for email provided' => 'Deshabilitado para enviar mensaje por correo electrónico proveído',
49+
'You could not login from this IP' => 'Usted no puede iniciar sesión desde esta dirección IP',
50+
];

0 commit comments

Comments
 (0)