From c79994c7735caa503351ae50ad5f387b96824086 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 9 Jan 2014 18:02:51 +0400 Subject: [PATCH] Removed exception translation, updated translations --- extensions/yii/elasticsearch/Exception.php | 2 +- extensions/yii/mongodb/Exception.php | 2 +- framework/yii/base/ErrorException.php | 28 +++++------ framework/yii/base/Exception.php | 2 +- framework/yii/base/InvalidCallException.php | 2 +- framework/yii/base/InvalidConfigException.php | 2 +- framework/yii/base/InvalidParamException.php | 2 +- framework/yii/base/InvalidRouteException.php | 2 +- framework/yii/base/NotSupportedException.php | 2 +- framework/yii/base/UnknownClassException.php | 2 +- framework/yii/base/UnknownMethodException.php | 2 +- framework/yii/base/UnknownPropertyException.php | 2 +- framework/yii/console/Exception.php | 2 +- framework/yii/db/Exception.php | 2 +- framework/yii/db/StaleObjectException.php | 2 +- framework/yii/messages/de/yii.php | 45 +++++------------- framework/yii/messages/pt-BR/yii.php | 62 ++++++++----------------- framework/yii/messages/ru/yii.php | 56 +++++++--------------- 18 files changed, 74 insertions(+), 145 deletions(-) diff --git a/extensions/yii/elasticsearch/Exception.php b/extensions/yii/elasticsearch/Exception.php index ade7cd1..1736dec 100644 --- a/extensions/yii/elasticsearch/Exception.php +++ b/extensions/yii/elasticsearch/Exception.php @@ -20,6 +20,6 @@ class Exception extends \yii\db\Exception */ public function getName() { - return \Yii::t('yii', 'Elasticsearch Database Exception'); + return 'Elasticsearch Database Exception'; } } \ No newline at end of file diff --git a/extensions/yii/mongodb/Exception.php b/extensions/yii/mongodb/Exception.php index 3288167..e3d8ba8 100644 --- a/extensions/yii/mongodb/Exception.php +++ b/extensions/yii/mongodb/Exception.php @@ -20,6 +20,6 @@ class Exception extends \yii\base\Exception */ public function getName() { - return \Yii::t('yii', 'Mongo Exception'); + return 'Mongo Exception'; } } \ No newline at end of file diff --git a/framework/yii/base/ErrorException.php b/framework/yii/base/ErrorException.php index 7c6ff6f..10ab19c 100644 --- a/framework/yii/base/ErrorException.php +++ b/framework/yii/base/ErrorException.php @@ -89,20 +89,20 @@ class ErrorException extends Exception public function getName() { $names = [ - E_ERROR => Yii::t('yii', 'Fatal Error'), - E_PARSE => Yii::t('yii', 'Parse Error'), - E_CORE_ERROR => Yii::t('yii', 'Core Error'), - E_COMPILE_ERROR => Yii::t('yii', 'Compile Error'), - E_USER_ERROR => Yii::t('yii', 'User Error'), - E_WARNING => Yii::t('yii', 'Warning'), - E_CORE_WARNING => Yii::t('yii', 'Core Warning'), - E_COMPILE_WARNING => Yii::t('yii', 'Compile Warning'), - E_USER_WARNING => Yii::t('yii', 'User Warning'), - E_STRICT => Yii::t('yii', 'Strict'), - E_NOTICE => Yii::t('yii', 'Notice'), - E_RECOVERABLE_ERROR => Yii::t('yii', 'Recoverable Error'), - E_DEPRECATED => Yii::t('yii', 'Deprecated'), + E_ERROR => 'Fatal Error', + E_PARSE => 'Parse Error', + E_CORE_ERROR => 'Core Error', + E_COMPILE_ERROR => 'Compile Error', + E_USER_ERROR => 'User Error', + E_WARNING => 'Warning', + E_CORE_WARNING => 'Core Warning', + E_COMPILE_WARNING => 'Compile Warning', + E_USER_WARNING => 'User Warning', + E_STRICT => 'Strict', + E_NOTICE => 'Notice', + E_RECOVERABLE_ERROR => 'Recoverable Error', + E_DEPRECATED => 'Deprecated', ]; - return isset($names[$this->getCode()]) ? $names[$this->getCode()] : Yii::t('yii', 'Error'); + return isset($names[$this->getCode()]) ? $names[$this->getCode()] : 'Error'; } } diff --git a/framework/yii/base/Exception.php b/framework/yii/base/Exception.php index 8f1af5e..a5b2b99 100644 --- a/framework/yii/base/Exception.php +++ b/framework/yii/base/Exception.php @@ -20,7 +20,7 @@ class Exception extends \Exception implements Arrayable */ public function getName() { - return \Yii::t('yii', 'Exception'); + return 'Exception'; } /** diff --git a/framework/yii/base/InvalidCallException.php b/framework/yii/base/InvalidCallException.php index 73cb4b9..bc46ca4 100644 --- a/framework/yii/base/InvalidCallException.php +++ b/framework/yii/base/InvalidCallException.php @@ -20,6 +20,6 @@ class InvalidCallException extends Exception */ public function getName() { - return \Yii::t('yii', 'Invalid Call'); + return 'Invalid Call'; } } diff --git a/framework/yii/base/InvalidConfigException.php b/framework/yii/base/InvalidConfigException.php index 0a6b4c5..1fb0b4a 100644 --- a/framework/yii/base/InvalidConfigException.php +++ b/framework/yii/base/InvalidConfigException.php @@ -20,6 +20,6 @@ class InvalidConfigException extends Exception */ public function getName() { - return \Yii::t('yii', 'Invalid Configuration'); + return 'Invalid Configuration'; } } diff --git a/framework/yii/base/InvalidParamException.php b/framework/yii/base/InvalidParamException.php index 44430a8..b2f9191 100644 --- a/framework/yii/base/InvalidParamException.php +++ b/framework/yii/base/InvalidParamException.php @@ -20,6 +20,6 @@ class InvalidParamException extends Exception */ public function getName() { - return \Yii::t('yii', 'Invalid Parameter'); + return 'Invalid Parameter'; } } diff --git a/framework/yii/base/InvalidRouteException.php b/framework/yii/base/InvalidRouteException.php index fbcc087..b94fab6 100644 --- a/framework/yii/base/InvalidRouteException.php +++ b/framework/yii/base/InvalidRouteException.php @@ -20,6 +20,6 @@ class InvalidRouteException extends UserException */ public function getName() { - return \Yii::t('yii', 'Invalid Route'); + return 'Invalid Route'; } } diff --git a/framework/yii/base/NotSupportedException.php b/framework/yii/base/NotSupportedException.php index 33f936f..5123f43 100644 --- a/framework/yii/base/NotSupportedException.php +++ b/framework/yii/base/NotSupportedException.php @@ -20,6 +20,6 @@ class NotSupportedException extends Exception */ public function getName() { - return \Yii::t('yii', 'Not Supported'); + return 'Not Supported'; } } diff --git a/framework/yii/base/UnknownClassException.php b/framework/yii/base/UnknownClassException.php index 8ccd09c..b64c585 100644 --- a/framework/yii/base/UnknownClassException.php +++ b/framework/yii/base/UnknownClassException.php @@ -20,6 +20,6 @@ class UnknownClassException extends Exception */ public function getName() { - return \Yii::t('yii', 'Unknown Class'); + return 'Unknown Class'; } } diff --git a/framework/yii/base/UnknownMethodException.php b/framework/yii/base/UnknownMethodException.php index 3b33659..2277aff 100644 --- a/framework/yii/base/UnknownMethodException.php +++ b/framework/yii/base/UnknownMethodException.php @@ -20,6 +20,6 @@ class UnknownMethodException extends Exception */ public function getName() { - return \Yii::t('yii', 'Unknown Method'); + return 'Unknown Method'; } } diff --git a/framework/yii/base/UnknownPropertyException.php b/framework/yii/base/UnknownPropertyException.php index 682fdfa..0a12ce1 100644 --- a/framework/yii/base/UnknownPropertyException.php +++ b/framework/yii/base/UnknownPropertyException.php @@ -20,6 +20,6 @@ class UnknownPropertyException extends Exception */ public function getName() { - return \Yii::t('yii', 'Unknown Property'); + return 'Unknown Property'; } } diff --git a/framework/yii/console/Exception.php b/framework/yii/console/Exception.php index f272bde..5148361 100644 --- a/framework/yii/console/Exception.php +++ b/framework/yii/console/Exception.php @@ -22,6 +22,6 @@ class Exception extends UserException */ public function getName() { - return \Yii::t('yii', 'Error'); + return 'Error'; } } diff --git a/framework/yii/db/Exception.php b/framework/yii/db/Exception.php index f502043..210dee7 100644 --- a/framework/yii/db/Exception.php +++ b/framework/yii/db/Exception.php @@ -39,6 +39,6 @@ class Exception extends \yii\base\Exception */ public function getName() { - return \Yii::t('yii', 'Database Exception'); + return 'Database Exception'; } } diff --git a/framework/yii/db/StaleObjectException.php b/framework/yii/db/StaleObjectException.php index dc88ceb..efa8ee9 100644 --- a/framework/yii/db/StaleObjectException.php +++ b/framework/yii/db/StaleObjectException.php @@ -18,6 +18,6 @@ class StaleObjectException extends Exception */ public function getName() { - return \Yii::t('yii', 'Stale Object Exception'); + return 'Stale Object Exception'; } } diff --git a/framework/yii/messages/de/yii.php b/framework/yii/messages/de/yii.php index 1127d31..91ef1f8 100644 --- a/framework/yii/messages/de/yii.php +++ b/framework/yii/messages/de/yii.php @@ -17,35 +17,14 @@ * NOTE: this file must be saved in UTF-8 encoding. */ return array ( - 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.', - 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel hoch sein.', - 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel breit sein.', - 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.', - 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel hoch sein.', - 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel breit sein.', - 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Sie können maximal {limit, plural, one{eine Datei} other{# Dateien}} hochladen.', - '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.', - '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.', - '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} muss aus genau {length, number} Zeichen bestehen.', + 'the input value' => '', '(not set)' => '(nicht gesetzt)', 'An internal server error occurred.' => 'Es ist ein interner Serverfehler aufgetreten.', 'Are you sure to delete this item?' => 'Wollen Sie den Eintrag wirklich löschen?', - 'Compile Error' => 'Fehler beim Compilieren', - 'Compile Warning' => 'Warnung beim Compilieren', - 'Core Error' => 'Fehler aus dem Systemkern', - 'Core Warning' => 'Warnung aus dem Systemkern', - 'Database Exception' => 'Fehler beim Zugriff auf die Datenbank', 'Delete' => 'Löschen', - 'Deprecated' => 'Überholt', 'Error' => 'Fehler', - 'Exception' => 'Ausnahmefehler', - 'Fatal Error' => 'Fataler Fehler', 'File upload failed.' => 'Das Hochladen der Datei ist gescheitert.', 'Home' => 'Home', - 'Invalid Call' => 'Ungültiger Aufruf', - 'Invalid Configuration' => 'Ungültige Konfiguration', - 'Invalid Parameter' => 'Ungültiger Parameter', - 'Invalid Route' => 'Ungültige Routing-Einstellung', 'Invalid data received for parameter "{param}".' => 'Ungültige Daten erhalten für Parameter"{param}".', 'Login Required' => 'Anmeldung erforderlich', 'Missing required arguments: {params}' => 'Pflichtargumente fehlen: {params}', @@ -54,35 +33,30 @@ return array ( 'No help for unknown command "{command}".' => 'Es gibt keine Hilfe für den unbekannten Befehl "{command}".', 'No help for unknown sub-command "{command}".' => 'Es gibt keine Hilfe für den unbekannten Unterbefehl "{command}".', 'No results found.' => 'Keine Ergebnisse gefunden', - 'Not Supported' => 'Nicht unterstützt', - 'Notice' => 'Hinweis', 'Only files with these extensions are allowed: {extensions}.' => 'Es sind nur Dateien mit folgenden Dateierweiterungen erlaubt: {extensions}.', 'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Es sind nur Dateien mit folgenden MIME-Typen erlaubt: {mimeTypes}.', 'Page not found.' => 'Seite nicht gefunden.', - 'Parse Error' => 'Fehler beim Parsen', 'Please fix the following errors:' => 'Bitte korrigieren Sie die folgenden Fehler:', 'Please upload a file.' => 'Bitte laden Sie eine Datei hoch.', - 'Recoverable Error' => 'Behebbarer Fehler', 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Zeige {begin, number}-{end, number} von {totalCount, number} {totalCount, plural, one{Eintrag} other{Einträgen}}.', - 'Stale Object Exception' => 'Ausnahme Stale Object', - 'Strict' => 'Strikt', 'The file "{file}" is not an image.' => 'Die Datei "{file}" ist kein Bild.', + 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.', + 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.', 'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.', + 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel hoch sein.', + 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel breit sein.', + 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel hoch sein.', + 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel breit sein.', 'The verification code is incorrect.' => 'Der Prüfcode ist falsch.', 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Insgesamt {count, number} {count, plural, one{Eintrag} other{Einträge}}.', 'Unable to verify your data submission.' => 'Es ist nicht möglich, Ihre Dateneingabe zu prüfen.', - 'Unknown Class' => 'Unbekannte Klasse', - 'Unknown Method' => 'Unbekannte Methode', - 'Unknown Property' => 'Unbekannte Eigenschaft', 'Unknown command "{command}".' => 'Unbekannter Befehl "{command}".', 'Unknown option: --{name}' => 'Unbekannte Option: --{name}', 'Update' => 'Aktualisieren', - 'User Error' => 'Benutzerfehler', - 'User Warning' => 'Benutzerwarnung', 'View' => 'Sicht', - 'Warning' => 'Warnung', 'Yes' => 'Ja', 'You are not allowed to perform this action.' => 'Sie dürfen diese Aktion nicht durchführen.', + 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Sie können maximal {limit, plural, one{eine Datei} other{# Dateien}} hochladen.', '{attribute} "{value}" has already been taken.' => '{attribute} "{value}" wird bereits verwendet.', '{attribute} cannot be blank.' => '{attribute} darf nicht leer sein.', '{attribute} is invalid.' => '{attribute} ist ungültig.', @@ -101,4 +75,7 @@ return array ( '{attribute} must be no less than {min}.' => '{attribute} darf nicht kleiner als {max} sein.', '{attribute} must be repeated exactly.' => '{attribute} muss genau wiederholt werden.', '{attribute} must not be equal to "{compareValue}".' => '{attribute} darf nicht "{compareValue}" sein.', + '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.', + '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.', + '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} muss aus genau {length, number} Zeichen bestehen.', ); diff --git a/framework/yii/messages/pt-BR/yii.php b/framework/yii/messages/pt-BR/yii.php index 7fabec2..4e7073f 100644 --- a/framework/yii/messages/pt-BR/yii.php +++ b/framework/yii/messages/pt-BR/yii.php @@ -17,70 +17,46 @@ * NOTE: this file must be saved in UTF-8 encoding. */ return array ( - 'Home' => 'Página Inicial', - 'Invalid data received for parameter "{param}".' => 'Dados inválidos recebidos para o parâmetro “{param}”.', - 'Login Required' => 'Login Necessário.', - 'Missing required arguments: {params}' => 'Argumentos obrigatórios ausentes: {params}', - 'Missing required parameters: {params}' => 'Parâmetros obrigatórios ausentes: {params}', - 'No help for unknown command "{command}".' => 'Não há ajuda para o comando desconhecido “{command}”.', - 'No help for unknown sub-command "{command}".' => 'Não há ajuda para o sub-comando desconhecido “{command}”.', - 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Exibindo {begin, number}-{end, number} de {totalCount, number} {totalCount, plural, one{item} other{itens}}.', - 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Total {count, number} {count, plural, one{item} other{itens}}.', - 'Unable to verify your data submission.' => 'Não foi possível verificar a sua submissão de dados.', - 'Unknown command "{command}".' => 'Comando desconhecido “{command}”.', - 'Unknown option: --{name}' => 'Opção desconhecida : --{name}', 'View' => '', - 'the input value' => 'o valor de entrada', '(not set)' => '(não definido)', 'An internal server error occurred.' => 'Ocorreu um erro interno do servidor.', 'Are you sure to delete this item?' => 'Tem certeza de que deseja excluir este item?', - 'Compile Error' => 'Compile Error', - 'Compile Warning' => 'Compile Warning', - 'Core Error' => 'Core Error', - 'Core Warning' => 'Core Warning', - 'Database Exception' => 'Database Exception', 'Delete' => 'Excluir', - 'Deprecated' => 'Deprecated', 'Error' => 'Error', - 'Exception' => 'Exception', - 'Fatal Error' => 'Fatal Error', 'File upload failed.' => 'O upload do arquivo falhou.', - 'Invalid Call' => 'Invalid Call', - 'Invalid Configuration' => 'Invalid Configuration', - 'Invalid Parameter' => 'Invalid Parameter', - 'Invalid Route' => 'Invalid Route', + 'Home' => 'Página Inicial', + 'Invalid data received for parameter "{param}".' => 'Dados inválidos recebidos para o parâmetro “{param}”.', + 'Login Required' => 'Login Necessário.', + 'Missing required arguments: {params}' => 'Argumentos obrigatórios ausentes: {params}', + 'Missing required parameters: {params}' => 'Parâmetros obrigatórios ausentes: {params}', 'No' => 'Não', + 'No help for unknown command "{command}".' => 'Não há ajuda para o comando desconhecido “{command}”.', + 'No help for unknown sub-command "{command}".' => 'Não há ajuda para o sub-comando desconhecido “{command}”.', 'No results found.' => 'Nenhum resultado foi encontrado.', - 'Not Supported' => 'Not Supported', - 'Notice' => 'Notice', 'Only files with these extensions are allowed: {extensions}.' => 'Só são permitidos arquivos com as seguintes extensões: {extensions}.', 'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Só são permitidos arquivos com os seguintes mimeTypes: {mimeTypes}.', 'Page not found.' => 'Página não encontrada.', - 'Parse Error' => 'Parse Error', 'Please fix the following errors:' => 'Por favor, corrija os seguintes erros:', - 'Please upload a file.' => 'Por favor, faça o upload de um arquivo.', - 'Recoverable Error' => 'Recoverable Error', - 'Stale Object Exception' => 'Stale Object Exception', - 'Strict' => 'Strict', + 'Please upload a file.' => 'Por favor suba um arquivo.', + 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Exibindo {begin, number}-{end, number} de {totalCount, number} {totalCount, plural, one{item} other{itens}}.', 'The file "{file}" is not an image.' => 'O arquivo “{file}” não é uma imagem.', 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O arquivo “{file}” é grande demais. Seu tamanho não pode exceder {limit, number} {limit, plural, one{byte} other{bytes}}.', - 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'A imagem “{file}” é grande demais. A altura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', - 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'A imagem “{file}” é grande demais. A largura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O arquivo “{file}” é pequeno demais. Seu tamanho não pode ser menor do que {limit, number} {limit, plural, one{byte} other{bytes}}.', - 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'A imagem “{file}” é pequena demais. A altura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', - 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'A imagem “{file}” é pequena demais. A largura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', 'The format of {attribute} is invalid.' => 'O formato de “{attribute}” é inválido.', + 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A altura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', + 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A largura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', + 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A altura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', + 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A largura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.', 'The verification code is incorrect.' => 'O código de verificação está incorreto.', - 'Unknown Class' => 'Unknown Class', - 'Unknown Method' => 'Unknown Method', - 'Unknown Property' => 'Unknown Property', + 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Total {count, number} {count, plural, one{item} other{itens}}.', + 'Unable to verify your data submission.' => 'Não foi possível verificar a sua submissão de dados.', + 'Unknown command "{command}".' => 'Comando desconhecido “{command}”.', + 'Unknown option: --{name}' => 'Opção desconhecida : --{name}', 'Update' => 'Atualizar', - 'User Error' => 'User Error', - 'User Warning' => 'User Warning', - 'Warning' => 'Warning', 'Yes' => 'Sim', 'You are not allowed to perform this action.' => 'Você não está autorizado a realizar essa ação.', 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Você pode fazer o upload de no máximo {limit, number} {limit, plural, one{arquivo} other{arquivos}}.', + 'the input value' => 'o valor de entrada', '{attribute} "{value}" has already been taken.' => '{attribute} “{value}” já foi utilizado.', '{attribute} cannot be blank.' => '“{attribute}” não pode ficar em branco.', '{attribute} is invalid.' => '“{attribute}” é inválido.', @@ -97,7 +73,7 @@ return array ( '{attribute} must be less than or equal to "{compareValue}".' => '“{attribute}” deve ser menor ou igual a “{compareValue}”.', '{attribute} must be no greater than {max}.' => '“{attribute}” não pode ser maior do que {max}.', '{attribute} must be no less than {min}.' => '“{attribute}” não pode ser menor do que {min}.', - '{attribute} must be repeated exactly.' => '“{attribute}” deve ser corretamente repetido.', + '{attribute} must be repeated exactly.' => '“{attribute}” deve ser repetido exatamente.', '{attribute} must not be equal to "{compareValue}".' => '“{attribute}” não deve ser igual a “{compareValue}”.', '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.', '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.', diff --git a/framework/yii/messages/ru/yii.php b/framework/yii/messages/ru/yii.php index 094410a..fbbc483 100644 --- a/framework/yii/messages/ru/yii.php +++ b/framework/yii/messages/ru/yii.php @@ -17,70 +17,46 @@ * NOTE: this file must be saved in UTF-8 encoding. */ return array ( - 'Home' => 'Главная', - 'Invalid data received for parameter "{param}".' => 'Неправильное значение параметра "{param}".', - 'Login Required' => 'Требуется вход.', - 'Missing required arguments: {params}' => 'Отсутствуют обязательные аргументы: {params}', - 'Missing required parameters: {params}' => 'Отсутствуют обязательные параметры: {params}', - 'No help for unknown command "{command}".' => 'Справка недоступна для неизвестной команды "{command}".', - 'No help for unknown sub-command "{command}".' => 'Справка недоступна для неизвестной субкоманды "{command}".', - 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Показаны записи {begin, number}-{end, number} из {totalCount, number}.', - 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Всего {count, number} {count, plural, one{# запись} few{# записи} many{# записей} other{# записи}}.', - 'Unable to verify your data submission.' => 'Не удалось проверить переданные данные.', - 'Unknown command "{command}".' => 'Неизвестная команда "{command}".', - 'Unknown option: --{name}' => 'Неизвестная опция : --{name}', 'View' => '', - 'the input value' => 'введённое значение', '(not set)' => '(не задано)', 'An internal server error occurred.' => 'Возникла внутренняя ошибка сервера.', 'Are you sure to delete this item?' => 'Вы уверены, что хотите удалить этот элемент?', - 'Compile Error' => 'Compile Error', - 'Compile Warning' => 'Compile Warning', - 'Core Error' => 'Core Error', - 'Core Warning' => 'Core Warning', - 'Database Exception' => 'Database Exception', 'Delete' => 'Удалить', - 'Deprecated' => 'Deprecated', - 'Error' => 'Error', - 'Exception' => 'Exception', - 'Fatal Error' => 'Fatal Error', + 'Error' => 'Ошибка', 'File upload failed.' => 'Загрузка файла не удалась.', - 'Invalid Call' => 'Invalid Call', - 'Invalid Configuration' => 'Invalid Configuration', - 'Invalid Parameter' => 'Invalid Parameter', - 'Invalid Route' => 'Invalid Route', + 'Home' => 'Главная', + 'Invalid data received for parameter "{param}".' => 'Неправильное значение параметра "{param}".', + 'Login Required' => 'Требуется вход.', + 'Missing required arguments: {params}' => 'Отсутствуют обязательные аргументы: {params}', + 'Missing required parameters: {params}' => 'Отсутствуют обязательные параметры: {params}', 'No' => 'Нет', + 'No help for unknown command "{command}".' => 'Справка недоступна для неизвестной команды "{command}".', + 'No help for unknown sub-command "{command}".' => 'Справка недоступна для неизвестной субкоманды "{command}".', 'No results found.' => 'Ничего не найдено.', - 'Not Supported' => 'Not Supported', - 'Notice' => 'Notice', 'Only files with these extensions are allowed: {extensions}.' => 'Разрешена загрузка файлов только со следующими расширениями: {extensions}.', 'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Разрешена загрузка файлов только со следующими MIME-типами: {mimeTypes}.', 'Page not found.' => 'Страница не найдена.', - 'Parse Error' => 'Parse Error', 'Please fix the following errors:' => 'Исправьте следующие ошибки:', 'Please upload a file.' => 'Загрузите файл.', - 'Recoverable Error' => 'Recoverable Error', - 'Stale Object Exception' => 'Stale Object Exception', - 'Strict' => 'Strict', + 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Показаны записи {begin, number}-{end, number} из {totalCount, number}.', 'The file "{file}" is not an image.' => 'Файл «{file}» не является изображением.', 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Файл «{file}» слишком большой. Размер не должен превышать {limit, number} {limit, plural, one{# байт} few{# байта} many{# байт} other{# байта}}.', + 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Файл «{file}» слишком маленький. Размер должен быть более {limit, number} {limit, plural, one{# байт} few{# байта} many{# байт} other{# байта}}.', + 'The format of {attribute} is invalid.' => 'Неверный формат значения «{attribute}».', 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Высота не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.', 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Ширина не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.', - 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Файл «{file}» слишком маленький. Размер должен быть более {limit, number} {limit, plural, one{# байт} few{# байта} many{# байт} other{# байта}}.', 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Высота должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.', 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Ширина должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.', - 'The format of {attribute} is invalid.' => 'Неверный формат значения «{attribute}».', 'The verification code is incorrect.' => 'Неправильный проверочный код.', - 'Unknown Class' => 'Unknown Class', - 'Unknown Method' => 'Unknown Method', - 'Unknown Property' => 'Unknown Property', + 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Всего {count, number} {count, plural, one{# запись} few{# записи} many{# записей} other{# записи}}.', + 'Unable to verify your data submission.' => 'Не удалось проверить переданные данные.', + 'Unknown command "{command}".' => 'Неизвестная команда "{command}".', + 'Unknown option: --{name}' => 'Неизвестная опция : --{name}', 'Update' => 'Редактировать', - 'User Error' => 'User Error', - 'User Warning' => 'User Warning', - 'Warning' => 'Warning', 'Yes' => 'Да', 'You are not allowed to perform this action.' => 'Вам не разрешено производить данное действие.', 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Вы не можете загружать более {limit, number} {limit, plural, one{# файла} few{# файлов} many{# файлов} other{# файла}}.', + 'the input value' => 'введённое значение', '{attribute} "{value}" has already been taken.' => '{attribute} «{value}» уже занят.', '{attribute} cannot be blank.' => 'Необходимо заполнить «{attribute}».', '{attribute} is invalid.' => 'Значение «{attribute}» не верно.',