Skip to content

Commit

Permalink
Update pt-BR (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Nov 14, 2021
1 parent 751338f commit 5239fd9
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Language/pt-BR/Cast.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@

// Cast language settings
return [
'baseCastMissing' => 'A classe "{0}" deve herdar da classe "CodeIgniter\Entity\Cast\BaseCast".',
'invalidCastMethod' => 'O método de conversão "{0}" é inválido, métodos válidos são: ["get", "set"].',
'invalidTimestamp' => 'Conversão do tipo "timestamp" espera um timestamp correto.',
'jsonErrorCtrlChar' => 'Caractere de controle inesperado encontrado',
'jsonErrorDepth' => 'Profundidade máxima da pilha foi excedida',
'jsonErrorStateMismatch' => 'Underflow ou a incompatibilidade de modos',
'jsonErrorCtrlChar' => 'Caractere de controle inesperado encontrado',
'jsonErrorSyntax' => 'Erro de sintaxe, JSON malformado',
'jsonErrorUtf8' => 'Caracteres UTF-8 malformados, possivelmente codificados incorretamente',
'jsonErrorUnknown' => 'Erro desconhecido',
'jsonErrorUtf8' => 'Caracteres UTF-8 malformados, possivelmente codificados incorretamente',
];
24 changes: 24 additions & 0 deletions Language/pt-BR/Cookie.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Cookie language settings
return [
'invalidExpiresTime' => 'Tipo "{0}" é inválido para o atributo "Expires". Esperado: string, integer, objeto de DateTimeInterface.',
'invalidExpiresValue' => 'O tempo de expiração do cookie não é válido.',
'invalidCookieName' => 'O nome do cookie "{0}" contém caracteres inválidos.',
'emptyCookieName' => 'O nome do cookie não pode ser vazio.',
'invalidSecurePrefix' => 'Usando o prefixo "__Secure-" requer que seja setado o atributo "Secure".',
'invalidHostPrefix' => 'Usando o prefixo "__Host-" deve ser setado com a flag "Secure", não deve possuir o atributo "Domain", e "Path" deve ser "/".',
'invalidSameSite' => 'O valor de SameSite deve ser None, Lax, Strict ou uma string vazia, {0} foi passado.',
'invalidSameSiteNone' => 'Usando o atributo "SameSite=None" requer que seja setado o atributo "Secure".',
'invalidCookieInstance' => 'Classe "{0}" espera array de cookies serem instâncias de "{1}" mas recebeu "{2}" no índice {3}.',
'unknownCookieInstance' => 'Objeto Cookie com o nome "{0}" e prefixo "{1}" não foi encontrado na coleção.',
];
1 change: 1 addition & 0 deletions Language/pt-BR/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'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}',
'missingExtension' => 'A extensão {0} não está carregada.',
'noHandlers' => '{0} deve prover pelo menos um Handler.',
];
6 changes: 4 additions & 2 deletions Language/pt-BR/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

// Files language settings
return [
'fileNotFound' => 'Arquivo não encontrado: {0}',
'cannotMove' => 'Não pode mover o arquivo {0} para {1} ({2})',
'fileNotFound' => 'Arquivo não encontrado: {0}',
'cannotMove' => 'Não pode mover o arquivo {0} para {1} ({2})',
'expectedDirectory' => '{0} espera um diretório válido.',
'expectedFile' => '{0} espera um arquivo válido.',
];
3 changes: 2 additions & 1 deletion Language/pt-BR/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@

// Log language settings
return [
'invalidLogLevel' => '{0} é um level de log inválido.',
'invalidLogLevel' => '{0} é um level de log inválido.',
'invalidMessageType' => 'O tipo "{0}" fornecido na mensagem não é suportado.',
];
22 changes: 22 additions & 0 deletions Language/pt-BR/Publisher.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Publisher language settings
return [
'collision' => 'Publisher encontrou uma {0} inesperada enquanto copiava {1} para {2}.',
'destinationNotAllowed' => 'Destino não está na lista de diretórios permitidos do Publisher: {0}',
'fileNotAllowed' => '{0} falha a seguinte restrição para {1}: {2}',

// Publish Command
'publishMissing' => 'Nenhuma classe Publisher detectada em {0} através de todos os namespaces.',
'publishSuccess' => '{0} publicou {1} arquivo(s) para {2}.',
'publishFailure' => '{0} falhou para publicar para {1}!',
];
15 changes: 15 additions & 0 deletions Language/pt-BR/Test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Testing language settings
return [
'invalidMockClass' => '{0} não é uma classe Mock válida',
];

0 comments on commit 5239fd9

Please sign in to comment.