From 3ea1d48746a6e4a5124f2a4b039fe608c1577bfe Mon Sep 17 00:00:00 2001 From: xmacaba Date: Tue, 12 Dec 2023 12:17:24 -0300 Subject: [PATCH 1/3] pt-BR Update Added Errors.php and Language.php --- Language/pt-BR/CLI.php | 4 ++++ Language/pt-BR/Core.php | 3 ++- Language/pt-BR/Errors.php | 18 ++++++++++++++++++ Language/pt-BR/HTTP.php | 2 ++ Language/pt-BR/Language.php | 15 +++++++++++++++ 5 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Language/pt-BR/Errors.php create mode 100644 Language/pt-BR/Language.php diff --git a/Language/pt-BR/CLI.php b/Language/pt-BR/CLI.php index bdf340ed..10db91f1 100644 --- a/Language/pt-BR/CLI.php +++ b/Language/pt-BR/CLI.php @@ -17,6 +17,7 @@ 'generator' => [ 'cancelOperation' => 'Operação foi cancelada.', 'className' => [ + 'cell' => 'Nome da classe da célula', 'command' => 'Nome da classe de comando', 'config' => 'Nome da classe de configuração', 'controller' => 'Nome da classe de controlador', @@ -38,6 +39,9 @@ 'returnType' => 'Tipo de retorno', 'tableName' => 'Nome da tabela', 'usingCINamespace' => 'Atenção: Usar o namespace "CodeIgniter" irá gerar o arquivo no diretório system.', + 'viewName' => [ + 'cell' => 'Nome da view da célula', + ], ], 'helpArguments' => 'Argumentos:', 'helpDescription' => 'Descrição:', diff --git a/Language/pt-BR/Core.php b/Language/pt-BR/Core.php index 54d4f864..71670740 100644 --- a/Language/pt-BR/Core.php +++ b/Language/pt-BR/Core.php @@ -14,7 +14,8 @@ 'copyError' => 'Um erro foi encontrado ao tentar substituir o arquivo. Por favor, certifique-se de que seu diretório de arquivos é gravável.', 'enabledZlibOutputCompression' => 'Sua diretiva zlib.output_compression ini está on. Isso não irá trabalhar bem com a saída de buffers.', 'invalidFile' => 'Arquivo inválido: {0}', - 'invalidPhpVersion' => 'Sua versão do PHP deve ser {0} ou maior para rodar CodeIgniter. Versão atual: {1}', + 'invalidDirectory' => 'O diretório não existe: "{0}"', + 'invalidPhpVersion' => 'Sua versão do PHP deve ser {0} ou mais recente para rodar CodeIgniter. Versão atual: {1}', 'missingExtension' => 'A extensão {0} não está carregada.', 'noHandlers' => '{0} deve prover pelo menos um Handler.', ]; diff --git a/Language/pt-BR/Errors.php b/Language/pt-BR/Errors.php new file mode 100644 index 00000000..a8bd4594 --- /dev/null +++ b/Language/pt-BR/Errors.php @@ -0,0 +1,18 @@ + + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +// Errors language settings +return [ + 'pageNotFound' => '404 - Página não encontrada', + 'sorryCannotFind' => 'Desculpe! Infelizmente a página solicitada não pode ser encontrada.', + 'whoops' => 'Ooops!', + 'weHitASnag' => 'Parece que temos um problema. Por favor, tente novamente mais tarde...', +]; diff --git a/Language/pt-BR/HTTP.php b/Language/pt-BR/HTTP.php index ede138a2..cc085ecc 100644 --- a/Language/pt-BR/HTTP.php +++ b/Language/pt-BR/HTTP.php @@ -52,6 +52,8 @@ 'emptyController' => 'Nenhum Controller especificado.', 'controllerNotFound' => 'Controller ou seu método não foi encontrado: {0}::{1}', 'methodNotFound' => 'Método do Controller não foi encontrado: {0}', + 'localeNotSupported' => 'Idioma não suportado: {0}', + // CSRF 'disallowedAction' => 'A ação que você solicitou não é permitida.', diff --git a/Language/pt-BR/Language.php b/Language/pt-BR/Language.php new file mode 100644 index 00000000..87c758d3 --- /dev/null +++ b/Language/pt-BR/Language.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +// "Language" language settings +return [ + 'invalidMessageFormat' => 'Formato de mensagem inválido: "{0}", Argumente: "{1}"', +]; \ No newline at end of file From a0ec41d69cd5ecaca1da61d16f5c25a21e72545b Mon Sep 17 00:00:00 2001 From: xmacaba Date: Wed, 13 Dec 2023 10:32:46 -0300 Subject: [PATCH 2/3] Added Errors.php and Language.php Added Errors.php and Language.php files with respective translations and also completed all the missing fields listed in the translation status. --- Language/pt-BR/HTTP.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Language/pt-BR/HTTP.php b/Language/pt-BR/HTTP.php index cc085ecc..1380281d 100644 --- a/Language/pt-BR/HTTP.php +++ b/Language/pt-BR/HTTP.php @@ -54,7 +54,6 @@ 'methodNotFound' => 'Método do Controller não foi encontrado: {0}', 'localeNotSupported' => 'Idioma não suportado: {0}', - // CSRF 'disallowedAction' => 'A ação que você solicitou não é permitida.', @@ -62,7 +61,6 @@ 'alreadyMoved' => 'O arquivo enviado já foi movido.', 'invalidFile' => 'O arquivo original não é um arquivo válido.', 'moveFailed' => 'Não foi possível mover o arquivo {0} para {1} ({2})', - 'uploadErrOk' => 'O upload do arquivo foi realizado com sucesso.', 'uploadErrIniSize' => 'O arquivo "%s" excede a diretiva ini upload_max_filesize.', 'uploadErrFormSize' => 'O arquivo "%s" excede o limite de upload definido em seu formulário.', From c4d369c697b7c3d8c1fa1b51144e17f157631f86 Mon Sep 17 00:00:00 2001 From: xmacaba Date: Sat, 23 Dec 2023 13:03:50 -0300 Subject: [PATCH 3/3] Added HTTP: invalidJSON and unsupportedJSONFormat Added HTTP.invalidJSON and HTTP.unsupportedJSONFormat --- Language/pt-BR/HTTP.php | 8 +++++--- Language/pt-BR/Language.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Language/pt-BR/HTTP.php b/Language/pt-BR/HTTP.php index 1380281d..ef1a9f25 100644 --- a/Language/pt-BR/HTTP.php +++ b/Language/pt-BR/HTTP.php @@ -19,6 +19,8 @@ // IncomingRequest 'invalidNegotiationType' => '{0} não é um tipo de negociação válido. Deve ser um dos seguintes: media, charset, encoding, language.', + 'invalidJSON' => 'Falha ao analisar a string JSON. Erro: {0}', + 'unsupportedJSONFormat' => 'O formato JSON fornecido não é compatível.', // Message 'invalidHTTPProtocol' => 'Versão inválida do Protocolo HTTP. Deve ser uma dessas: {0}', @@ -58,9 +60,9 @@ 'disallowedAction' => 'A ação que você solicitou não é permitida.', // Uploaded file moving - 'alreadyMoved' => 'O arquivo enviado já foi movido.', - 'invalidFile' => 'O arquivo original não é um arquivo válido.', - 'moveFailed' => 'Não foi possível mover o arquivo {0} para {1} ({2})', + 'alreadyMoved' => 'O arquivo enviado já foi movido.', + 'invalidFile' => 'O arquivo original não é um arquivo válido.', + 'moveFailed' => 'Não foi possível mover o arquivo {0} para {1} ({2})', 'uploadErrOk' => 'O upload do arquivo foi realizado com sucesso.', 'uploadErrIniSize' => 'O arquivo "%s" excede a diretiva ini upload_max_filesize.', 'uploadErrFormSize' => 'O arquivo "%s" excede o limite de upload definido em seu formulário.', diff --git a/Language/pt-BR/Language.php b/Language/pt-BR/Language.php index 87c758d3..862cbfc6 100644 --- a/Language/pt-BR/Language.php +++ b/Language/pt-BR/Language.php @@ -12,4 +12,4 @@ // "Language" language settings return [ 'invalidMessageFormat' => 'Formato de mensagem inválido: "{0}", Argumente: "{1}"', -]; \ No newline at end of file +];