From ee93c952301fa07564a241fb369210c677d7c8fe Mon Sep 17 00:00:00 2001 From: Luciano Baraglia Date: Thu, 9 Jan 2014 23:58:55 -0300 Subject: [PATCH] Added spanish translation --- framework/yii/messages/config.php | 2 +- framework/yii/messages/es/yii.php | 81 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 framework/yii/messages/es/yii.php diff --git a/framework/yii/messages/config.php b/framework/yii/messages/config.php index 0617d5e..fbb5cac 100644 --- a/framework/yii/messages/config.php +++ b/framework/yii/messages/config.php @@ -7,7 +7,7 @@ return [ 'messagePath' => __DIR__, // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. - 'languages' => ['da', 'de', 'ru', 'pl', 'pt-BR', 'it'], + 'languages' => ['da', 'de', 'ru', 'pl', 'pt-BR', 'it', 'es'], // string, the name of the function for translating messages. // Defaults to 'Yii::t'. This is used as a mark to find the messages to be // translated. You may use a string for single function name or an array for diff --git a/framework/yii/messages/es/yii.php b/framework/yii/messages/es/yii.php new file mode 100644 index 0000000..2c6fe93 --- /dev/null +++ b/framework/yii/messages/es/yii.php @@ -0,0 +1,81 @@ + '(no definido)', + 'An internal server error occurred.' => 'Hubo un error interno del servidor.', + 'Are you sure to delete this item?' => '¿Está seguro de eliminar este elemento?', + 'Delete' => 'Eliminar', + 'Error' => 'Error', + 'File upload failed.' => 'Falló la subida del archivo.', + 'Home' => 'Inicio', + 'Invalid data received for parameter "{param}".' => 'Se recibieron datos erróneos para el parámetro "{param}"', + 'Login Required' => 'Login Requerido', + 'Missing required arguments: {params}' => 'Argumentos requeridos ausentes: {params}', + 'Missing required parameters: {params}' => 'Parámetros requeridos ausentes: {params}', + 'No' => 'No', + 'No help for unknown command "{command}".' => 'No existe ayuda para el comando desconocido "{command}"', + 'No help for unknown sub-command "{command}".' => 'No existe ayuda para el sub-comando desconocido "{command}"', + 'No results found.' => 'No se encontraron resultados.', + 'Only files with these extensions are allowed: {extensions}.' => 'Sólo se aceptan archivos con las siguientes extensiones: {extensions}', + 'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Sólo se aceptan archivos con los siguientes tipos mime: {mimeTypes}', + 'Page not found.' => 'Página no entontrada.', + 'Please fix the following errors:' => 'Por favor corrija los siguientes errores:', + 'Please upload a file.' => 'Por favor suba un archivo.', + 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Mostrando {begin, number}-{end, number} de {totalCount, number} {totalCount, plural, one{elemento} other{elementos}}.', + 'The file "{file}" is not an image.' => 'El archivo "{file}" no es una imagen.', + 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'El archivo "{file}" es demasiado grande. Su tamaño no puede exceder {limit, number} {limit, plural, one{byte} other{bytes}}.', + 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'El archivo "{file}" es demasiado pequeño. Su tamaño no puede ser menor a {limit, number} {limit, plural, one{byte} other{bytes}}.', + 'The format of {attribute} is invalid.' => 'El formato de {attribute} es inválido.', + 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'La imagen "{file}" es demasiado grande. La altura no puede ser mayor a {limit, number} {limit, plural, one{píxel} other{píxeles}}.', + 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'La imagen "{file}" es demasiado grande. La anchura no puede ser mayor a {limit, number} {limit, plural, one{píxel} other{píxeles}}.', + 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'La imagen "{file}" es demasiado pequeña. La altura no puede ser menor a {limit, number} {limit, plural, one{píxel} other{píxeles}}.', + 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'La imagen "{file}" es demasiado pequeña. La anchura no puede ser menor a {limit, number} {limit, plural, one{píxel} other{píxeles}}.', + 'The verification code is incorrect.' => 'El código de verificación es incorrecto.', + 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Total {count, number} {count, plural, one{elemento} other{elementos}}.', + 'Unable to verify your data submission.' => 'Incapaz de verificar los datos enviados.', + 'Unknown command "{command}".' => 'Comando desconocido "{command}".', + 'Unknown option: --{name}' => 'Opción desconocida: --{name}', + 'Update' => 'Actualizar', + 'View' => 'Ver', + 'Yes' => 'Sí', + 'You are not allowed to perform this action.' => 'No tiene permitido ejecutar esta acción.', + 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Puedes subir como máximo {limit, number} {limit, plural, one{archivo} other{archivos}}.', + 'the input value' => 'el valor de entrada', + '{attribute} "{value}" has already been taken.' => '{attribute} "{value}" ya ha sido utilizado.', + '{attribute} cannot be blank.' => '{attribute} no puede estar vacío.', + '{attribute} is invalid.' => '{attribute} es inválido.', + '{attribute} is not a valid URL.' => '{attribute} no es una URL válida.', + '{attribute} is not a valid email address.' => '{attribute} no es una dirección de correo válida.', + '{attribute} must be "{requiredValue}".' => '{attribute} debe ser "{requiredValue}".', + '{attribute} must be a number.' => '{attribute} debe ser un número.', + '{attribute} must be a string.' => '{attribute} debe ser una cadena de caracteres.', + '{attribute} must be an integer.' => '{attribute} debe ser un número entero.', + '{attribute} must be either "{true}" or "{false}".' => '{attribute} debe ser "{true}" o "{false}".', + '{attribute} must be greater than "{compareValue}".' => '{attribute} debe ser mayor a "{compareValue}', + '{attribute} must be greater than or equal to "{compareValue}".' => '{attribute} debe ser mayor o igual a "{compareValue}".', + '{attribute} must be less than "{compareValue}".' => '{attribute} debe ser menor a "{compareValue}".', + '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} debe ser menor o igual a "{compareValue}".', + '{attribute} must be no greater than {max}.' => '{attribute} no debe ser mayor a {max}.', + '{attribute} must be no less than {min}.' => '{attribute} no debe ser menor a {min}.', + '{attribute} must be repeated exactly.' => '{attribute} debe ser repetido exactamente igual.', + '{attribute} must not be equal to "{compareValue}".' => '{attribute} no debe ser igual a "{compareValue}".', + '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} debería contener al menos {min, number} {min, plural, one{letra} other{letras}}.', + '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} debería contener como máximo {max, number} {max, plural, one{letra} other{letras}}.', + '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} debería contener {length, number} {length, plural, one{letra} other{letras}}.', +);