Skip to content

Commit 2b45921

Browse files
authored
[pt-BR] Updated translations (#485)
* feat(pt-BR): add missing error messages and improve validation messages * fix: adjust translations according to test errors
1 parent 91c8f89 commit 2b45921

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

Language/pt-BR/Errors.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
return [
1414
'pageNotFound' => '404 - Página não encontrada', // '404 - Page Not Found',
1515
'sorryCannotFind' => 'Desculpe! Infelizmente a página solicitada não pode ser encontrada.', // 'Sorry! Cannot seem to find the page you were looking for.',
16+
'badRequest' => '400 - Solicitação inválida', // '400 - Bad Request',
17+
'sorryBadRequest' => 'Pedimos desculpas! Algo está errado na sua requisição.', // 'Sorry! Something is wrong with your request.',
1618
'whoops' => 'Ooops!', // 'Whoops!',
1719
'weHitASnag' => 'Parece que temos um problema. Por favor, tente novamente mais tarde...', // 'We seem to have hit a snag. Please try again later...',
1820
];

Language/pt-BR/Publisher.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
'fileNotAllowed' => '"{0}" falha a seguinte restrição para "{1}": {2}', // '"{0}" fails the following restriction for "{1}": {2}',
1717

1818
// Publish Command
19-
'publishMissing' => 'Nenhuma classe Publisher detectada em {0} através de todos os namespaces.', // 'No Publisher classes detected in {0} across all namespaces.',
20-
'publishSuccess' => '"{0}" publicou {1} arquivo(s) para "{2}".', // '"{0}" published {1} file(s) to "{2}".',
21-
'publishFailure' => '"{0}" falhou ao publicar para "{1}".', // '"{0}" failed to publish to "{1}".',
19+
'publishMissing' => 'Nenhuma classe Publisher detectada em {0} através de todos os namespaces.', // 'No Publisher classes detected in {0} across all namespaces.',
20+
'publishMissingNamespace' => 'Nenhuma classe Publisher detectada em {0} no namespace {1}.', // 'No Publisher classes detected in {0} in the {1} namespace.',
21+
'publishSuccess' => '"{0}" publicou {1} arquivo(s) para "{2}".', // '"{0}" published {1} file(s) to "{2}".',
22+
'publishFailure' => '"{0}" falhou ao publicar para "{1}".', // '"{0}" failed to publish to "{1}".',
2223
];

Language/pt-BR/Security.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
// Security language settings
1313
return [
1414
'disallowedAction' => 'A ação que você requisitou não é permitida.', // 'The action you requested is not allowed.',
15-
'invalidSameSite' => 'O valor de SameSite deve ser None, Lax, Strict, ou uma string vazia. Dado: "{0}"', // 'The SameSite value must be None, Lax, Strict, or a blank string. Given: "{0}"',
15+
'insecureCookie' => 'Tentativa de enviar um cookie seguro por uma conexão insegura.', // 'Attempted to send a secure cookie over a non-secure connection.',
16+
17+
// @deprecated
18+
'invalidSameSite' => 'O valor de SameSite deve ser None, Lax, Strict, ou uma string vazia. Dado: "{0}"', // 'The SameSite value must be None, Lax, Strict, or a blank string. Given: "{0}"',
1619
];

Language/pt-BR/Validation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@
7272
'mime_in' => '{field} não tem um tipo mime válido.', // '{field} does not have a valid mime type.',
7373
'ext_in' => '{field} não tem uma extensão de arquivo válida.', // '{field} does not have a valid file extension.',
7474
'max_dims' => '{field} não é uma imagem, ou ela é muito larga ou muito grande.', // '{field} is either not an image, or it is too wide or tall.',
75+
'min_dims' => '{field} não é uma imagem ou não é larga ou alta o suficiente.', // '{field} is either not an image, or it is not wide or tall enough.',
7576
];

0 commit comments

Comments
 (0)