From 434162056d7faf4ffba821d5bca0b23e2d1c1a87 Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Fri, 6 Jul 2018 17:57:29 +0200 Subject: [PATCH 2/2] update translation for password validation (#24438) --- .../locale/fr/LC_MESSAGES/django.po | 206 +++++++++++------- 1 file changed, 126 insertions(+), 80 deletions(-) diff --git a/src/authentic2/locale/fr/LC_MESSAGES/django.po b/src/authentic2/locale/fr/LC_MESSAGES/django.po index 59aabf1d..10bedf97 100644 --- a/src/authentic2/locale/fr/LC_MESSAGES/django.po +++ b/src/authentic2/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Authentic\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-07-05 16:39+0200\n" +"POT-Creation-Date: 2018-07-06 16:53+0200\n" "PO-Revision-Date: 2018-07-05 14:08+0200\n" "Last-Translator: Mikaël Ates \n" "Language-Team: None\n" @@ -17,7 +17,13 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n>1;\n" -#: authentic2/admin.py:26 +#: debian-jessie/multitenant/debian_config.py:37 +#: debian-wheezy/multitenant/debian_config.py:38 +#: authentic2/profile_forms.py:19 +#: authentic2/registration_backend/forms.py:33 +#: authentic2/templates/authentic2/api_user_create_registration_email_body.txt:4 +msgid "Email" +msgstr "Courriel" msgid "Cleanup expired objects" msgstr "Nettoyer les objets qui ont expiré" @@ -63,11 +69,11 @@ msgstr "domaine" msgid "You must at least give a username or an email to your user" msgstr "Un utilisateur doit au minimum posséder un courriel ou un identifiant." -#: authentic2/admin.py:167 authentic2/admin.py:204 -#: authentic2/auth_frontends.py:14 authentic2/forms.py:24 -#: authentic2/registration_backend/forms.py:118 -#: authentic2/registration_backend/forms.py:204 -#: authentic2/templates/authentic2/login_password_profile.html:4 +#: admin.py:167 admin.py:204 +#: auth_frontends.py:14 forms.py:24 +#: registration_backend/forms.py:120 +#: registration_backend/forms.py:206 +#: templates/authentic2/login_password_profile.html:4 msgid "Password" msgstr "Mot de passe" @@ -82,7 +88,7 @@ msgstr "" "modifier le mot de passe de l'usager en utilisant ce " "formulaire." -#: authentic2/admin.py:201 authentic2/registration_backend/forms.py:132 +#: admin.py:201 registration_backend/forms.py:134 msgid "The two password fields didn't match." msgstr "Les deux champs mot de passe ne correspondent pas." @@ -114,19 +120,19 @@ msgstr "Attributs" msgid "you are not authorized to create users in this ou" msgstr "Vous n'êtes pas autorisé à vous inscrire dans cette collectivité." -#: authentic2/api_views.py:119 authentic2/api_views.py:126 +#: authentic2/api_views.py:120 authentic2/api_views.py:127 msgid "You already have an account" msgstr "Vous avez déjà un compte." -#: authentic2/api_views.py:123 +#: authentic2/api_views.py:124 tests/test_all.py:530 tests/test_all.py:675 msgid "Username is required in this ou" msgstr "L'identifiant est requis dans cette collectivité." -#: authentic2/api_views.py:654 +#: authentic2/api_views.py:655 msgid "User successfully added to role" msgstr "Utilisateur ajouté au rôle" -#: authentic2/api_views.py:659 +#: authentic2/api_views.py:660 msgid "User successfully removed from role" msgstr "Utilisateur retiré du rôle" @@ -596,10 +602,25 @@ msgstr "application" msgid "base service models" msgstr "applications" -#: authentic2/profile_forms.py:19 authentic2/registration_backend/forms.py:32 -#: authentic2/templates/authentic2/api_user_create_registration_email_body.txt:4 -msgid "Email" -msgstr "Courriel" +#: authentic2/passwords.py:80 +#, python-format +msgid "%s characters" +msgstr "%s caractères" + +#: authentic2/passwords.py:85 +#: authentic2/templates/authentic2/widgets/assisted_password.html:12 +msgid "1 lowercase letter" +msgstr "1 minuscule" + +#: authentic2/passwords.py:90 +#: authentic2/templates/authentic2/widgets/assisted_password.html:15 +msgid "1 digit" +msgstr "1 chiffre" + +#: authentic2/passwords.py:95 +#: authentic2/templates/authentic2/widgets/assisted_password.html:18 +msgid "1 uppercase letter" +msgstr "1 majuscule" #: authentic2/profile_urls.py:41 #: authentic2/templates/registration/password_change_done.html:9 @@ -646,17 +667,17 @@ msgstr "" msgid "Enter new password" msgstr "Entrez un nouveau mot de passe" -#: authentic2/registration_backend/forms.py:52 +#: authentic2/registration_backend/forms.py:53 msgid "You cannot register with this email." msgstr "Vous ne pouvez pas vous inscrire avec cette adresse de courriel." -#: authentic2/registration_backend/forms.py:81 +#: authentic2/registration_backend/forms.py:82 tests/test_all.py:763 msgid "This username is already in use. Please supply a different username." msgstr "" "Cet identifiant est déjà utilisé. Utilisez s'il vous plait un autre " "identifiant." -#: authentic2/registration_backend/forms.py:100 +#: authentic2/registration_backend/forms.py:101 msgid "" "This email address is already in use. Please supply a different email " "address." @@ -664,49 +685,49 @@ msgstr "" "Cette adresse de courriel est déjà utilisée. Utilisez s'il vous plait une " "autre adresse de courriel." -#: authentic2/registration_backend/forms.py:121 +#: authentic2/registration_backend/forms.py:123 msgid "Password (again)" msgstr "Confirmation du mot de passe" -#: authentic2/registration_backend/forms.py:168 -#: authentic2/registration_backend/forms.py:182 +#: authentic2/registration_backend/forms.py:170 +#: authentic2/registration_backend/forms.py:184 msgid "New password" msgstr "Nouveau mot de passe" -#: authentic2/registration_backend/forms.py:176 -#: authentic2/registration_backend/forms.py:191 +#: authentic2/registration_backend/forms.py:178 +#: authentic2/registration_backend/forms.py:193 msgid "New password must differ from old password" msgstr "Le nouveau mot de passe doit être différent de l'ancien." -#: authentic2/registration_backend/forms.py:213 +#: authentic2/registration_backend/forms.py:215 msgid "Password is invalid" msgstr "Le mot de passe est invalide" -#: authentic2/registration_backend/views.py:44 +#: authentic2/registration_backend/views.py:45 msgid "Your activation key is expired" msgstr "Votre clé d'activation a expiré" -#: authentic2/registration_backend/views.py:47 +#: authentic2/registration_backend/views.py:48 msgid "Activation failed" msgstr "Échec à l'activation du compte" -#: authentic2/registration_backend/views.py:56 +#: authentic2/registration_backend/views.py:57 #: authentic2/templates/registration/registration_completion_choose.html:6 #: authentic2/templates/registration/registration_completion_form.html:17 #: authentic2/templates/registration/registration_completion_form.html:26 msgid "Registration" msgstr "Création d'un compte" -#: authentic2/registration_backend/views.py:344 +#: authentic2/registration_backend/views.py:345 msgid "You have just created an account." msgstr "Vous venez de créer un compte." -#: authentic2/registration_backend/views.py:369 +#: authentic2/registration_backend/views.py:370 #: authentic2/templates/authentic2/accounts.html:41 msgid "Delete account" msgstr "Supprimer votre compte" -#: authentic2/registration_backend/views.py:400 +#: authentic2/registration_backend/views.py:401 msgid "" "Your account has been scheduled for deletion. You cannot use it anymore." msgstr "" @@ -1133,7 +1154,44 @@ msgstr "" msgid "Notification: %(user)s, your account has been deleted" msgstr "Notification: %(user)s, votre compte a été supprimé" -#: authentic2/templates/error_ssl.html:4 +#: templates/authentic2/widgets/assisted_password.html:4 +msgid "In order to create a secure password, please use at least : " +msgstr "" +"Pour avoir un mot de passe sécurisé, veuillez utiliser à minima :" + +#: authentic2/templates/authentic2/widgets/assisted_password.html:9 +#, python-format +msgid "%(A2_PASSWORD_POLICY_MIN_LENGTH)s characters" +msgstr "%(A2_PASSWORD_POLICY_MIN_LENGTH)s caratères" + +#: templates/authentic2/widgets/assisted_password.html:16 +#, python-format +msgid "%(A2_PASSWORD_POLICY_REGEX_ERROR_MSG)s" +msgstr "%(A2_PASSWORD_POLICY_REGEX_ERROR_MSG)s" + +#: authentic2/templates/authentic2/widgets/assisted_password.html:24 +#, python-format +msgid "" +"Match the regular expression: %(A2_PASSWORD_POLICY_REGEX)s, please change " +"this message using the A2_PASSWORD_POLICY_REGEX_ERROR_MSG setting.'" +msgstr "" +"Valider l'expression régulière %(A2_PASSWORD_POLICY_REGEX)s. Veuillez " +"changer ce message en modifiant le paramètre " +"A2_PASSWORD_POLICY_REGEX_ERROR_MSG." + +#: authentic2/templates/authentic2/widgets/assisted_password.html:31 +msgid "Both passwords must match." +msgstr "Les deux mots de passe doivent être identiques." + +#: authentic2/templates/authentic2/widgets/assisted_password.html:32 +msgid "Passwords match." +msgstr "Les mots de passe sont identiques." + +#: authentic2/templates/authentic2/widgets/assisted_password.html:33 +msgid "Passwords do not match." +msgstr "Les deux mots de passe ne sont pas identiques." + +#: templates/error_ssl.html:4 msgid "Error: authentication failure" msgstr "Erreur: échec de l'authentification" @@ -1488,57 +1546,12 @@ msgstr "Adresse de courriel inexistante." #: authentic2/validators.py:95 #, python-format -msgid "password must contain at least %d characters" -msgstr "Le mot de passe doit contenir au moins %d caractères." - -#: authentic2/validators.py:104 -#, python-format -msgid "" -"password must contain characters from at least %d classes among: lowercase " -"letters, uppercase letters, digits, and punctuations" -msgstr "" -"Le mot de passe doit contenir des caractères d'au moins %d types parmi: " -"minuscules, majuscules, chiffres et ponctuations." - -#: authentic2/validators.py:110 -#, python-format -msgid "your password dit not match the regular expession %s" -msgstr "Votre mot de passe ne valide pas l'expression régulière %s." - -#: authentic2/validators.py:125 -#, python-format -msgid "" -"Your password must contain at least %(min_length)d characters from at least " -"%(min_classes)d classes among: lowercase letters, uppercase letters, digits " -"and punctuations." -msgstr "" -"Le mot de passe doit contenir au moins %(min_length)d caractères d'au moins " -"%(min_classes)d types parmi : minuscules, majuscules, chiffres et " -"ponctuation." - -#: authentic2/validators.py:132 -#, python-format -msgid "Your password must contain at least %(min_length)d characters." -msgstr "Le mot de passe doit contenir au moins %(min_length)d caractères." - -#: authentic2/validators.py:134 -#, python-format -msgid "" -"Your password must contain characters from at least %(min_classes)d classes " -"among: lowercase letters, uppercase letters, digits and punctuations." +msgid "Password must obey the rule: %s" msgstr "" -"Le mot de passe doit contenir des caractères d'au moins %(min_classes)d " -"types parmi: minuscules, majuscules, chiffres et ponctuations." -#: authentic2/validators.py:139 -#, python-format -msgid "" -"Your password must match the regular expression: %(regexp)s, please change " -"this message using the A2_PASSWORD_POLICY_REGEX_ERROR_MSG setting." +#: authentic2/validators.py:102 +msgid "Password must obey the rules: " msgstr "" -"Votre mot de passe ne valide pas l'expression régulière %(regexp)s. Veuillez " -"changer ce message en modifiant le paramètre " -"A2_PASSWORD_POLICY_REGEX_ERROR_MSG." #: authentic2/views.py:175 msgid "Email Change" @@ -1604,6 +1617,39 @@ msgstr "" msgid "Format:" msgstr "Format :" +#~ msgid "password must contain at least %d characters" +#~ msgstr "Le mot de passe doit contenir au moins %d caractères." + +#~ msgid "" +#~ "password must contain characters from at least %d classes among: " +#~ "lowercase letters, uppercase letters, digits, and punctuations" +#~ msgstr "" +#~ "Le mot de passe doit contenir des caractères d'au moins %d types parmi: " +#~ "minuscules, majuscules, chiffres et ponctuations." + +#~ msgid "your password dit not match the regular expression %s" +#~ msgstr "Votre mot de passe ne valide pas l'expression régulière %s." + +#~ msgid "" +#~ "Your password must contain at least %(min_length)d characters from at " +#~ "least %(min_classes)d classes among: lowercase letters, uppercase " +#~ "letters, digits and punctuations." +#~ msgstr "" +#~ "Le mot de passe doit contenir au moins %(min_length)d caractères d'au " +#~ "moins %(min_classes)d types parmi : minuscules, majuscules, chiffres et " +#~ "ponctuation." + +#~ msgid "Your password must contain at least %(min_length)d characters." +#~ msgstr "Le mot de passe doit contenir au moins %(min_length)d caractères." + +#~ msgid "" +#~ "Your password must contain characters from at least %(min_classes)d " +#~ "classes among: lowercase letters, uppercase letters, digits and " +#~ "punctuations." +#~ msgstr "" +#~ "Le mot de passe doit contenir des caractères d'au moins %(min_classes)d " +#~ "types parmi: minuscules, majuscules, chiffres et ponctuations." + #~ msgid "Modify" #~ msgstr "Modifier" -- 2.18.0