Browse Source

Merge pull request #1880 from lucianobaraglia/spanish-message-translation

Added spanish translation
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
9daac9643e
  1. 2
      framework/yii/messages/config.php
  2. 81
      framework/yii/messages/es/yii.php

2
framework/yii/messages/config.php

@ -7,7 +7,7 @@ return [
'messagePath' => __DIR__, 'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages // array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de']. // 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. // 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 // 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 // translated. You may use a string for single function name or an array for

81
framework/yii/messages/es/yii.php

@ -0,0 +1,81 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return array (
'(not set)' => '(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 <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.' => 'Mostrando <b>{begin, number}-{end, number}</b> de <b>{totalCount, number}</b> {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 <b>{count, number}</b> {count, plural, one{item} other{items}}.' => 'Total <b>{count, number}</b> {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}}.',
);
Loading…
Cancel
Save