mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fixed frontend language activation for pt_BR
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = {
|
||||
'ja',
|
||||
'nl',
|
||||
'pl',
|
||||
'pt',
|
||||
'pt_BR',
|
||||
'ru',
|
||||
'sv',
|
||||
'tr',
|
||||
|
||||
@@ -123,9 +123,10 @@ async function updateGeneralSettings() {
|
||||
.updateAccount(form.value)
|
||||
.then(() => {
|
||||
busStore.displayNotification({ msg: $gettext('Profile updated') })
|
||||
if (!(authStore.authUser.language in available)) {
|
||||
languageError.value =
|
||||
'<a href="google.com">language does not exists</a>'
|
||||
console.log(authStore.accountLanguage)
|
||||
console.log(available)
|
||||
if (!(authStore.accountLanguage in available)) {
|
||||
languageError.value = $gettext('Language does no exist')
|
||||
}
|
||||
})
|
||||
.finally(() => (loadingUpdateProfile.value = false))
|
||||
|
||||
@@ -1 +1 @@
|
||||
en br cs de el es fi fr it ja nl pl pt ru sv tr zh
|
||||
en br cs de el es fi fr it ja nl pl pt_BR ru sv tr zh
|
||||
@@ -4,8 +4,8 @@ msgstr ""
|
||||
"PO-Revision-Date: 2024-08-01 13:53+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: English\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
@@ -71,7 +71,7 @@ msgid "Account updated"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FidoAuthForm.vue:137
|
||||
#: src/components/account/FilterForm.vue:87
|
||||
#: src/components/account/FilterForm.vue:76
|
||||
#: src/components/admin/alarms/AlarmList.vue:20
|
||||
#: src/components/admin/alarms/AlarmList.vue:98
|
||||
#: src/components/admin/domains/DomainList.vue:213
|
||||
@@ -115,7 +115,7 @@ msgstr ""
|
||||
msgid "Add a new domain alias"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:131
|
||||
#: src/components/account/FilterForm.vue:127
|
||||
msgid "Add action"
|
||||
msgstr ""
|
||||
|
||||
@@ -123,7 +123,7 @@ msgstr ""
|
||||
msgid "Add administrator"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:71
|
||||
#: src/components/account/FilterForm.vue:60
|
||||
msgid "Add condition"
|
||||
msgstr ""
|
||||
|
||||
@@ -265,15 +265,15 @@ msgstr ""
|
||||
msgid "Alignment"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:31
|
||||
#: src/components/account/FilterForm.vue:18
|
||||
msgid "All messages"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:23
|
||||
#: src/components/account/FilterForm.vue:16
|
||||
msgid "All of the following"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:27
|
||||
#: src/components/account/FilterForm.vue:17
|
||||
msgid "Any of the following"
|
||||
msgstr ""
|
||||
|
||||
@@ -372,7 +372,7 @@ msgstr ""
|
||||
|
||||
#: src/components/account/APISetupForm.vue:98
|
||||
#: src/components/account/FidoAuthForm.vue:204
|
||||
#: src/components/account/FilterForm.vue:151
|
||||
#: src/components/account/FilterForm.vue:147
|
||||
#: src/components/account/FilterSetForm.vue:24
|
||||
#: src/components/admin/domains/DomainEditForm.vue:160
|
||||
#: src/components/admin/identities/AccountEditForm.vue:186
|
||||
@@ -398,7 +398,7 @@ msgstr ""
|
||||
msgid "Choose a domain"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:39
|
||||
#: src/components/account/FilterForm.vue:28
|
||||
msgid "Choose a header"
|
||||
msgstr ""
|
||||
|
||||
@@ -406,11 +406,11 @@ msgstr ""
|
||||
msgid "Choose a role"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:91
|
||||
#: src/components/account/FilterForm.vue:84
|
||||
msgid "Choose an action"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:49
|
||||
#: src/components/account/FilterForm.vue:38
|
||||
msgid "Choose an operator"
|
||||
msgstr ""
|
||||
|
||||
@@ -436,7 +436,7 @@ msgstr ""
|
||||
msgid "Closed"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:16
|
||||
#: src/components/account/FilterForm.vue:14
|
||||
msgid "Conditions"
|
||||
msgstr ""
|
||||
|
||||
@@ -484,7 +484,7 @@ msgstr ""
|
||||
msgid "Could not save parameters"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:199
|
||||
#: src/components/account/FilterForm.vue:195
|
||||
#: src/components/account/FilterSetForm.vue:30
|
||||
msgid "Create"
|
||||
msgstr ""
|
||||
@@ -798,7 +798,7 @@ msgstr ""
|
||||
msgid "Edit domain alias"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:196
|
||||
#: src/components/account/FilterForm.vue:192
|
||||
msgid "Edit filter"
|
||||
msgstr ""
|
||||
|
||||
@@ -898,7 +898,7 @@ msgstr ""
|
||||
msgid "Field is required"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:298
|
||||
#: src/components/account/FilterForm.vue:300
|
||||
msgid "Filter added"
|
||||
msgstr ""
|
||||
|
||||
@@ -930,7 +930,7 @@ msgstr ""
|
||||
msgid "Filter set updated"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:301
|
||||
#: src/components/account/FilterForm.vue:303
|
||||
msgid "Filter updated"
|
||||
msgstr ""
|
||||
|
||||
@@ -1284,7 +1284,7 @@ msgid "name"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FidoAuthForm.vue:133
|
||||
#: src/components/account/FilterForm.vue:9
|
||||
#: src/components/account/FilterForm.vue:7
|
||||
#: src/components/account/FilterSetForm.vue:9
|
||||
#: src/components/admin/domains/DNSDetail.vue:170
|
||||
#: src/components/admin/domains/DomainAdminList.vue:107
|
||||
@@ -1346,7 +1346,7 @@ msgstr ""
|
||||
msgid "New domain"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:196
|
||||
#: src/components/account/FilterForm.vue:192
|
||||
msgid "New filter"
|
||||
msgstr ""
|
||||
|
||||
@@ -1670,11 +1670,11 @@ msgstr ""
|
||||
msgid "Reload"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:139
|
||||
#: src/components/account/FilterForm.vue:135
|
||||
msgid "Remove action"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:79
|
||||
#: src/components/account/FilterForm.vue:68
|
||||
msgid "Remove condition"
|
||||
msgstr ""
|
||||
|
||||
@@ -1940,6 +1940,8 @@ msgstr ""
|
||||
#: src/components/admin/domains/DomainEditForm.vue:20
|
||||
msgid "Type: "
|
||||
msgstr ""
|
||||
|
||||
#: src/components/admin/domains/DNSStatusChip.vue:29
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
@@ -1961,7 +1963,7 @@ msgstr ""
|
||||
msgid "Until"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:199
|
||||
#: src/components/account/FilterForm.vue:195
|
||||
#: src/components/account/ForwardForm.vue:25
|
||||
#: src/components/admin/domains/DomainAliasForm.vue:68
|
||||
msgid "Update"
|
||||
@@ -2005,7 +2007,7 @@ msgstr ""
|
||||
msgid "Valid"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/account/FilterForm.vue:60
|
||||
#: src/components/account/FilterForm.vue:49
|
||||
msgid "Value"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Adrien spitfireap, 2024
|
||||
# Antoine Nguyen <tonio@ngyn.org>, 2024
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"PO-Revision-Date: 2024-08-01 12:26+0000\n"
|
||||
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>, 2024\n"
|
||||
"Language-Team: French (https://app.transifex.com/tonio/teams/13749/fr/)\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
|
||||
"1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#: src/components/admin/imap_migration/ProviderCreationForm.vue:41
|
||||
msgid "(the domain will be created locally)"
|
||||
@@ -35,8 +36,8 @@ msgid ""
|
||||
"A user with all privileges, can do anything. By default, such a user does "
|
||||
"not have a mailbox so he can't access end-user features."
|
||||
msgstr ""
|
||||
"Un utilisateur ayant tous les privilège, peut tout faire. Par défaut, il n'a"
|
||||
" pas de boîte mail et ne peut donc pas accéder aux fonctionnalités d'un "
|
||||
"Un utilisateur ayant tous les privilège, peut tout faire. Par défaut, il n'a "
|
||||
"pas de boîte mail et ne peut donc pas accéder aux fonctionnalités d'un "
|
||||
"utilisateur final."
|
||||
|
||||
#: src/components/admin/identities/form_steps/AccountRoleForm.vue:82
|
||||
@@ -44,8 +45,8 @@ msgid ""
|
||||
"A user with no privileges but with a mailbox. He will be allowed to use all "
|
||||
"end-user features: webmail, calendar, contacts, filters."
|
||||
msgstr ""
|
||||
"Un utilisateur sans privilèges mais ayant une boîte mail. Il sera autorisé à"
|
||||
" utiliser toutes les fonctionnalités de l'utilisateur final : webmail, "
|
||||
"Un utilisateur sans privilèges mais ayant une boîte mail. Il sera autorisé à "
|
||||
"utiliser toutes les fonctionnalités de l'utilisateur final : webmail, "
|
||||
"calendrier, contacts, filtres."
|
||||
|
||||
#: src/components/admin/identities/form_steps/AccountRoleForm.vue:92
|
||||
@@ -88,7 +89,7 @@ msgid "Account updated"
|
||||
msgstr "Compte mis à jour"
|
||||
|
||||
#: src/components/account/FidoAuthForm.vue:137
|
||||
#: src/components/account/FilterForm.vue:87
|
||||
#: src/components/account/FilterForm.vue:76
|
||||
#: src/components/admin/alarms/AlarmList.vue:20
|
||||
#: src/components/admin/alarms/AlarmList.vue:98
|
||||
#: src/components/admin/domains/DomainList.vue:213
|
||||
@@ -132,7 +133,7 @@ msgstr "Ajouter"
|
||||
msgid "Add a new domain alias"
|
||||
msgstr "Ajouter un nouvel alias de domaine"
|
||||
|
||||
#: src/components/account/FilterForm.vue:131
|
||||
#: src/components/account/FilterForm.vue:127
|
||||
msgid "Add action"
|
||||
msgstr "Ajouter une action"
|
||||
|
||||
@@ -140,7 +141,7 @@ msgstr "Ajouter une action"
|
||||
msgid "Add administrator"
|
||||
msgstr "Ajouter un administrateur"
|
||||
|
||||
#: src/components/account/FilterForm.vue:71
|
||||
#: src/components/account/FilterForm.vue:60
|
||||
msgid "Add condition"
|
||||
msgstr "Ajouter une condition"
|
||||
|
||||
@@ -261,11 +262,11 @@ msgstr "Alias mis à jour"
|
||||
#: src/components/admin/identities/form_steps/AccountAliasForm.vue:8
|
||||
#: src/components/admin/identities/form_steps/AliasRecipientForm.vue:8
|
||||
msgid ""
|
||||
"Alias(es) of this mailbox. To create a catchall alias, just enter the domain"
|
||||
" name (@domain.tld)."
|
||||
"Alias(es) of this mailbox. To create a catchall alias, just enter the domain "
|
||||
"name (@domain.tld)."
|
||||
msgstr ""
|
||||
"Alias(s) de cette boîte aux lettres. Pour créer un alias fourre-tout, entrer"
|
||||
" uniquement le nom du domaine (@domain.tld)."
|
||||
"Alias(s) de cette boîte aux lettres. Pour créer un alias fourre-tout, entrer "
|
||||
"uniquement le nom du domaine (@domain.tld)."
|
||||
|
||||
#: src/components/admin/domains/DomainList.vue:204
|
||||
#: src/components/admin/domains/DomainSummary.vue:40
|
||||
@@ -284,15 +285,15 @@ msgstr "Alias :"
|
||||
msgid "Alignment"
|
||||
msgstr "Alignement"
|
||||
|
||||
#: src/components/account/FilterForm.vue:31
|
||||
#: src/components/account/FilterForm.vue:18
|
||||
msgid "All messages"
|
||||
msgstr "Tous les messages"
|
||||
|
||||
#: src/components/account/FilterForm.vue:23
|
||||
#: src/components/account/FilterForm.vue:16
|
||||
msgid "All of the following"
|
||||
msgstr "Tous les éléments suivants"
|
||||
|
||||
#: src/components/account/FilterForm.vue:27
|
||||
#: src/components/account/FilterForm.vue:17
|
||||
msgid "Any of the following"
|
||||
msgstr "Un des éléments suivants"
|
||||
|
||||
@@ -391,7 +392,7 @@ msgstr "Format bind/named. Cliquez pour copier"
|
||||
|
||||
#: src/components/account/APISetupForm.vue:98
|
||||
#: src/components/account/FidoAuthForm.vue:204
|
||||
#: src/components/account/FilterForm.vue:151
|
||||
#: src/components/account/FilterForm.vue:147
|
||||
#: src/components/account/FilterSetForm.vue:24
|
||||
#: src/components/admin/domains/DomainEditForm.vue:160
|
||||
#: src/components/admin/identities/AccountEditForm.vue:186
|
||||
@@ -412,14 +413,14 @@ msgstr "Consulter la liste suivante pour trouver des composants associés"
|
||||
#: src/views/admin/identities/IdentitiesView.vue:85
|
||||
msgid "Check this option if passwords contained in your file are not crypted"
|
||||
msgstr ""
|
||||
"Cochez cette option si les mots de passe contenus dans votre fichier ne sont"
|
||||
" pas chiffrés"
|
||||
"Cochez cette option si les mots de passe contenus dans votre fichier ne sont "
|
||||
"pas chiffrés"
|
||||
|
||||
#: src/components/admin/domains/DomainAliasForm.vue:15
|
||||
msgid "Choose a domain"
|
||||
msgstr "Choisissez un domaine"
|
||||
|
||||
#: src/components/account/FilterForm.vue:39
|
||||
#: src/components/account/FilterForm.vue:28
|
||||
msgid "Choose a header"
|
||||
msgstr "Choisissez un entếte"
|
||||
|
||||
@@ -427,11 +428,11 @@ msgstr "Choisissez un entếte"
|
||||
msgid "Choose a role"
|
||||
msgstr "Choisissez un rôle"
|
||||
|
||||
#: src/components/account/FilterForm.vue:91
|
||||
#: src/components/account/FilterForm.vue:84
|
||||
msgid "Choose an action"
|
||||
msgstr "Choisissez une action"
|
||||
|
||||
#: src/components/account/FilterForm.vue:49
|
||||
#: src/components/account/FilterForm.vue:38
|
||||
msgid "Choose an operator"
|
||||
msgstr "Choisissez un opérateur"
|
||||
|
||||
@@ -457,7 +458,7 @@ msgstr "Fermer l'alarme"
|
||||
msgid "Closed"
|
||||
msgstr "Fermé"
|
||||
|
||||
#: src/components/account/FilterForm.vue:16
|
||||
#: src/components/account/FilterForm.vue:14
|
||||
msgid "Conditions"
|
||||
msgstr "Conditions"
|
||||
|
||||
@@ -508,7 +509,7 @@ msgstr "Copier le jeton dans la presse-papiers"
|
||||
msgid "Could not save parameters"
|
||||
msgstr "Impossible de sauvegarder les paramètres"
|
||||
|
||||
#: src/components/account/FilterForm.vue:199
|
||||
#: src/components/account/FilterForm.vue:195
|
||||
#: src/components/account/FilterSetForm.vue:30
|
||||
msgid "Create"
|
||||
msgstr "Créer"
|
||||
@@ -650,8 +651,8 @@ msgid ""
|
||||
"DKIM key does not seem to be generated yet or has failed. Do you want to "
|
||||
"requeue the job?"
|
||||
msgstr ""
|
||||
"La génération de la clé DKIM ne semble pas avoir eu lieu ou a échoué. Voulez"
|
||||
" vous replanifier cette action ?"
|
||||
"La génération de la clé DKIM ne semble pas avoir eu lieu ou a échoué. Voulez "
|
||||
"vous replanifier cette action ?"
|
||||
|
||||
#: src/components/admin/domains/DomainCreationForm.vue:208
|
||||
#: src/components/admin/domains/form_steps/DomainDNSForm.vue:22
|
||||
@@ -664,8 +665,7 @@ msgid "DKIM key selector"
|
||||
msgstr "Sélecteur de clé DKIM"
|
||||
|
||||
#: src/components/admin/domains/DNSDetail.vue:238
|
||||
msgid ""
|
||||
"DKIM keys already exist for this domain. Do you want to overwrite them?"
|
||||
msgid "DKIM keys already exist for this domain. Do you want to overwrite them?"
|
||||
msgstr "Des clés DKIM existent déjà pour ce domaine. Voulez-vous les écraser?"
|
||||
|
||||
#: src/components/admin/domains/DomainDKIMKey.vue:5
|
||||
@@ -827,7 +827,7 @@ msgstr "Modifier le domaine"
|
||||
msgid "Edit domain alias"
|
||||
msgstr "Modifier l'alias de domaine"
|
||||
|
||||
#: src/components/account/FilterForm.vue:196
|
||||
#: src/components/account/FilterForm.vue:192
|
||||
msgid "Edit filter"
|
||||
msgstr "Modifier le filtre"
|
||||
|
||||
@@ -927,7 +927,7 @@ msgstr "N'hésitez pas à améliorer les traductions"
|
||||
msgid "Field is required"
|
||||
msgstr "Ce champ est requis"
|
||||
|
||||
#: src/components/account/FilterForm.vue:298
|
||||
#: src/components/account/FilterForm.vue:300
|
||||
msgid "Filter added"
|
||||
msgstr "Filtre ajouté"
|
||||
|
||||
@@ -959,7 +959,7 @@ msgstr "Jeu de filtre supprimé"
|
||||
msgid "Filter set updated"
|
||||
msgstr "Jeu de filtre mis à jour"
|
||||
|
||||
#: src/components/account/FilterForm.vue:301
|
||||
#: src/components/account/FilterForm.vue:303
|
||||
msgid "Filter updated"
|
||||
msgstr "Filtre mis à jour"
|
||||
|
||||
@@ -1092,8 +1092,8 @@ msgid ""
|
||||
"If you configured it recently, please wait for the first report to be "
|
||||
"received and processed."
|
||||
msgstr ""
|
||||
"Si vous l'avez récemment configuré, veuillez attendre que le premier rapport"
|
||||
" soit reçu et traité. "
|
||||
"Si vous l'avez récemment configuré, veuillez attendre que le premier rapport "
|
||||
"soit reçu et traité. "
|
||||
|
||||
#: src/layouts/dashboard/NavBar.vue:223
|
||||
msgid "IMAP Migration"
|
||||
@@ -1133,11 +1133,12 @@ msgstr "Information"
|
||||
|
||||
#: src/components/account/TotpAuthForm.vue:34
|
||||
msgid ""
|
||||
"Install a soft token authenticator like FreeOTP or Google Authenticator from"
|
||||
" your application repository and use that app to scan this QR code."
|
||||
"Install a soft token authenticator like FreeOTP or Google Authenticator from "
|
||||
"your application repository and use that app to scan this QR code."
|
||||
msgstr ""
|
||||
"Installez un logiciel d'authentification de jeton comme FreeOTP ou google\n"
|
||||
" Authentification depuis votre magasin d'applications et utilisez\n"
|
||||
" Authentification depuis votre magasin d'applications et "
|
||||
"utilisez\n"
|
||||
" cette application pour scanner ce QR code."
|
||||
|
||||
#: src/views/admin/InformationView.vue:8
|
||||
@@ -1159,8 +1160,7 @@ msgstr "Numéro de port incorrect"
|
||||
#: src/components/admin/imap_migration/form_steps/ProviderGeneralForm.vue:27
|
||||
msgid "Is the IMAP connection secured using SSL/TLS or StartTLS"
|
||||
msgstr ""
|
||||
"La connexion IMAP est-elle sécurisée via l'utilisation de SSL/TLS ou "
|
||||
"StartTLS"
|
||||
"La connexion IMAP est-elle sécurisée via l'utilisation de SSL/TLS ou StartTLS"
|
||||
|
||||
#: src/views/Dashboard.vue:9
|
||||
msgid ""
|
||||
@@ -1328,7 +1328,7 @@ msgid "name"
|
||||
msgstr "nom"
|
||||
|
||||
#: src/components/account/FidoAuthForm.vue:133
|
||||
#: src/components/account/FilterForm.vue:9
|
||||
#: src/components/account/FilterForm.vue:7
|
||||
#: src/components/account/FilterSetForm.vue:9
|
||||
#: src/components/admin/domains/DNSDetail.vue:170
|
||||
#: src/components/admin/domains/DomainAdminList.vue:107
|
||||
@@ -1339,8 +1339,7 @@ msgstr "nom"
|
||||
#: src/components/admin/identities/IdentityList.vue:118
|
||||
#: src/components/admin/imap_migration/ProviderCreationForm.vue:53
|
||||
#: src/components/admin/imap_migration/ProvidersList.vue:96
|
||||
#: src/views/account/FiltersView.vue:164
|
||||
#: src/views/admin/InformationView.vue:59
|
||||
#: src/views/account/FiltersView.vue:164 src/views/admin/InformationView.vue:59
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
@@ -1391,7 +1390,7 @@ msgstr "Nom du nouveau périphérique"
|
||||
msgid "New domain"
|
||||
msgstr "Nouveau domaine"
|
||||
|
||||
#: src/components/account/FilterForm.vue:196
|
||||
#: src/components/account/FilterForm.vue:192
|
||||
msgid "New filter"
|
||||
msgstr "Nouveau filtre"
|
||||
|
||||
@@ -1646,9 +1645,9 @@ msgstr "Quota"
|
||||
|
||||
#: src/components/admin/identities/form_steps/AccountMailboxForm.vue:15
|
||||
msgid ""
|
||||
"Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a"
|
||||
" custom value or use domain's default one. Leave empty to define an "
|
||||
"unlimited value (not allowed for domain administrators)."
|
||||
"Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a "
|
||||
"custom value or use domain's default one. Leave empty to define an unlimited "
|
||||
"value (not allowed for domain administrators)."
|
||||
msgstr ""
|
||||
"Quota pour cette boite. Peut être exprimé en Ko, Mo (défaut) ou Go. Définir "
|
||||
"une valeur spécifique ou utiliser la valeur par défaut du domaine. Laisser "
|
||||
@@ -1728,11 +1727,11 @@ msgstr "domaine relais"
|
||||
msgid "Reload"
|
||||
msgstr "Recharger"
|
||||
|
||||
#: src/components/account/FilterForm.vue:139
|
||||
#: src/components/account/FilterForm.vue:135
|
||||
msgid "Remove action"
|
||||
msgstr "Supprimer l'action"
|
||||
|
||||
#: src/components/account/FilterForm.vue:79
|
||||
#: src/components/account/FilterForm.vue:68
|
||||
msgid "Remove condition"
|
||||
msgstr "Supprimer la condition"
|
||||
|
||||
@@ -1935,8 +1934,8 @@ msgid ""
|
||||
"The first element of each line is mandatory and must be equal to one of the "
|
||||
"previous values."
|
||||
msgstr ""
|
||||
"Le premier élément de chaque ligne est obligatoire et doit être égal à l'une"
|
||||
" des valeurs précédentes."
|
||||
"Le premier élément de chaque ligne est obligatoire et doit être égal à l'une "
|
||||
"des valeurs précédentes."
|
||||
|
||||
#: src/components/account/RecoveryCodesResetDialog.vue:9
|
||||
#: src/components/account/TotpAuthForm.vue:61
|
||||
@@ -2013,6 +2012,7 @@ msgstr "Type"
|
||||
msgid "Type: "
|
||||
msgstr "Type :"
|
||||
|
||||
#: src/components/admin/domains/DNSStatusChip.vue:29
|
||||
msgid "Unknown"
|
||||
msgstr "Inconnu"
|
||||
|
||||
@@ -2034,7 +2034,7 @@ msgstr "illimité"
|
||||
msgid "Until"
|
||||
msgstr "Jusqu'au"
|
||||
|
||||
#: src/components/account/FilterForm.vue:199
|
||||
#: src/components/account/FilterForm.vue:195
|
||||
#: src/components/account/ForwardForm.vue:25
|
||||
#: src/components/admin/domains/DomainAliasForm.vue:68
|
||||
msgid "Update"
|
||||
@@ -2078,7 +2078,7 @@ msgstr "Nom d'utilisateur :"
|
||||
msgid "Valid"
|
||||
msgstr "Valide"
|
||||
|
||||
#: src/components/account/FilterForm.vue:60
|
||||
#: src/components/account/FilterForm.vue:49
|
||||
msgid "Value"
|
||||
msgstr "Valeur"
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -15,7 +15,7 @@ export default createGettext({
|
||||
ja: 'Japanese',
|
||||
nl: 'Dutch',
|
||||
pl: 'Polish',
|
||||
pt: 'Portuguese',
|
||||
pt_BR: 'Portuguese (BR)',
|
||||
ru: 'Russian',
|
||||
sv: 'Swedish',
|
||||
tr: 'tr',
|
||||
|
||||
@@ -36,10 +36,18 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
return authUser.value.mailbox !== null
|
||||
})
|
||||
|
||||
const accountLanguage = computed(() => {
|
||||
if (authUser.value.language.indexOf('-') !== -1) {
|
||||
const parts = authUser.value.language.split('-')
|
||||
return `${parts[0]}_${parts[1].toUpperCase()}`
|
||||
}
|
||||
return authUser.value.language
|
||||
})
|
||||
|
||||
async function fetchUser() {
|
||||
return accountApi.getMe().then((resp) => {
|
||||
gettext.current = resp.data.language
|
||||
authUser.value = resp.data
|
||||
gettext.current = accountLanguage.value
|
||||
isAuthenticated.value = true
|
||||
})
|
||||
}
|
||||
@@ -151,15 +159,12 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
|
||||
async function updateAccount(data) {
|
||||
return accountsApi.patch(authUser.value.pk, data).then((response) => {
|
||||
if (
|
||||
response.data.language != authUser.value.language &&
|
||||
response.data.language in gettext.available
|
||||
) {
|
||||
gettext.current = response.data.language
|
||||
}
|
||||
const newAuthUser = { ...authUser.value, ...response.data }
|
||||
delete newAuthUser.password
|
||||
authUser.value = { ...newAuthUser }
|
||||
if (accountLanguage.value in gettext.available) {
|
||||
gettext.current = accountLanguage.value
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -175,6 +180,7 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
|
||||
return {
|
||||
authUser,
|
||||
accountLanguage,
|
||||
completeLogin,
|
||||
isAuthenticated,
|
||||
userHasMailbox,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,24 +1,26 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Jose Marcos Araujo <jmaraujo@avancetec.com.br>, 2016
|
||||
# Paulino Michelazzo <michelazzo@me.com>, 2014
|
||||
# RAMON PEGO <ramon.pego.stl@gmail.com>, 2021
|
||||
# Antoine Nguyen <tonio@ngyn.org>, 2023
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Modoboa\n"
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-01 11:53+0200\n"
|
||||
"PO-Revision-Date: 2020-03-09 15:49+0000\n"
|
||||
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/tonio/modoboa/"
|
||||
"language/pt_BR/)\n"
|
||||
"Language: pt_BR\n"
|
||||
"PO-Revision-Date: 2020-10-02 13:39+0000\n"
|
||||
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>, 2023\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/tonio/teams/13749/pt_BR/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Language: pt_BR\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#: admin/static/admin/js/admin.js:129 admin/static/admin/js/admin.js:174
|
||||
msgid "No more domain to show"
|
||||
@@ -45,10 +47,8 @@ msgid "No more quota to show"
|
||||
msgstr "Nenhuma quota a mais para mostrar"
|
||||
|
||||
#: admin/static/admin/js/admin.js:180
|
||||
#, fuzzy
|
||||
#| msgid "No more quota to show"
|
||||
msgid "No more log to show"
|
||||
msgstr "Nenhuma quota a mais para mostrar"
|
||||
msgstr ""
|
||||
|
||||
#: admin/static/admin/js/admin.js:309
|
||||
msgid "No domain administrator defined"
|
||||
@@ -68,7 +68,7 @@ msgstr "'"
|
||||
|
||||
#: bower_components/swagger-ui/dist/swagger-ui-bundle.js:133
|
||||
msgid "operation"
|
||||
msgstr ""
|
||||
msgstr "operação"
|
||||
|
||||
#: core/static/core/js/settings.js:16
|
||||
msgid "No more log entry to show"
|
||||
@@ -101,63 +101,3 @@ msgstr "Busca"
|
||||
#: static/js/searchbar.js:28
|
||||
msgid "Search..."
|
||||
msgstr "Buscar..."
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Parameters updated"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Provider name"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No domain administrator defined"
|
||||
#~ msgid "Administrator added"
|
||||
#~ msgstr "Nenhum administrador de domínio definido"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No domain administrator defined"
|
||||
#~ msgid "Administrator removed"
|
||||
#~ msgstr "Nenhum administrador de domínio definido"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Search a domain"
|
||||
#~ msgid "Choose a domain"
|
||||
#~ msgstr "Buscar um domínio"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No domain administrator defined"
|
||||
#~ msgid "Create a domain administrator"
|
||||
#~ msgstr "Nenhum administrador de domínio definido"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No domain administrator defined"
|
||||
#~ msgid "Administrator name"
|
||||
#~ msgstr "Nenhum administrador de domínio definido"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Service"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No domain administrator defined"
|
||||
#~ msgid "Domain administrator"
|
||||
#~ msgstr "Nenhum administrador de domínio definido"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Alias updated"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Profile updated"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Services updated"
|
||||
#~ msgid "Domain updated"
|
||||
#~ msgstr "Serviço atualizado"
|
||||
|
||||
Reference in New Issue
Block a user