aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/pt-BR/user.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2025-10-06 15:09:01 -0400
committerGravatar GitHub <noreply@github.com> 2025-10-06 21:09:01 +0200
commitb6f4276c6cc2e5a53f0a4afb1536960427fa995e (patch)
tree8ac7062239b9fa4d3cdb1a9d106db6ada1676a77 /app/i18n/pt-BR/user.php
parentaeecba7b30cf04a53fc23f7ed7a8c5ce12cb11a6 (diff)
Change regional language codes (#8065)
* Change regional language codes According to `ISO-639-1` and `ISO-3166-1 alpha-2` recommendations, regional languages must be written with the language code in lowercase and the region in uppercase. For instance, we should have `en-US` instead of `en-us`. Folders have been updated to reflect those recommendations and regional language codes have been updated in the translation files. * Update README files * Fix configuration for typos * Revert language order in documentation * Remove unnecessary code * Change language configuration getter * Fix phpstan error * Fix typo * Add types * escape regex * Move language logic to avoid magic or deprecated methods * Minor fix on regex
Diffstat (limited to 'app/i18n/pt-BR/user.php')
-rw-r--r--app/i18n/pt-BR/user.php54
1 files changed, 54 insertions, 0 deletions
diff --git a/app/i18n/pt-BR/user.php b/app/i18n/pt-BR/user.php
new file mode 100644
index 000000000..e1655313c
--- /dev/null
+++ b/app/i18n/pt-BR/user.php
@@ -0,0 +1,54 @@
+<?php
+
+/******************************************************************************
+ * Each entry of that file can be associated with a comment to indicate its *
+ * state. When there is no comment, it means the entry is fully translated. *
+ * The recognized comments are (comment matching is case-insensitive): *
+ * + TODO: the entry has never been translated. *
+ * + DIRTY: the entry has been translated but needs to be updated. *
+ * + IGNORE: the entry does not need to be translated. *
+ * When a comment is not recognized, it is discarded. *
+ ******************************************************************************/
+
+return array(
+ 'email' => array(
+ 'feedback' => array(
+ 'invalid' => 'Endereço de email inválido',
+ 'required' => 'O endereço de email é necessário',
+ ),
+ 'validation' => array(
+ 'change_email' => 'Você pode mudar seu endereço de email <a href="%s">na página do perfil</a>.',
+ 'email_sent_to' => 'Enviamos um email para <strong>%s</strong>. Por favor, siga as instruções contidas nele para verificar sua conta.',
+ 'feedback' => array(
+ 'email_failed' => 'Não foi possível enviar um email para você devido a um erro de configuração no servidor.',
+ 'email_sent' => 'Um email foi enviado para o seu endereço',
+ 'error' => 'Falha na verificação do endereço de email',
+ 'ok' => 'O endereço de email foi verificado com sucesso.',
+ 'unnecessary' => 'Esse endereço de email já foi verificado.',
+ 'wrong_token' => 'A verificação do endereço de email falhou por causa do token incorreto.',
+ ),
+ 'need_to' => 'Para poder utilizar o %s, você deve verificar seu endereço de email.',
+ 'resend_email' => 'Reenviar o email',
+ 'title' => 'Validação do endereço de email',
+ ),
+ ),
+ 'mailer' => array(
+ 'email_need_validation' => array(
+ 'body' => 'Você se registrou no %s. Mas ainda é necessário verificar seu endereço de email. Para isso, basta seguir o link:',
+ 'title' => 'Você precisa verificar sua conta',
+ 'welcome' => 'Bem vindo %s,',
+ ),
+ ),
+ 'password' => array(
+ 'invalid' => 'Senha incorreta',
+ ),
+ 'tos' => array(
+ 'feedback' => array(
+ 'invalid' => 'Para se registrar, você deve aceitar os Termos do serviço.',
+ ),
+ ),
+ 'username' => array(
+ 'invalid' => 'Nome de usuário inválido.',
+ 'taken' => 'O nome de usuário %s já está sendo utilizado',
+ ),
+);