Skip to content

add french translation to the backport #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ doc/_build/
dist/
.coverage
password_validation/test/test.sqlite
.idea/
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include CHANGES.rst
include LICENSE.txt
include MANIFEST.in
include README.rst
recursive-include password_validation *.mo
Binary file not shown.
60 changes: 60 additions & 0 deletions password_validation/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-16 17:47+0200\n"
"PO-Revision-Date: 2015-10-07 10:56+0100\n"
"Last-Translator: Antoine Fontaine <[email protected]>\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"
"X-Generator: Poedit 1.5.4\n"
"Language-Team: \n"

#: validation.py:109
#, python-format
msgid ""
"This password is too short. It must contain at least %(min_length)d "
"characters."
msgstr ""
"Ce mot de passe est trop court. Il doit contenir au moins %(min_length)d "
"caractères."

#: validation.py:115
#, python-format
msgid "Your password must contain at least %(min_length)d characters."
msgstr "Votre mot de passe doit contenir au moins %(min_length)d caractères."

#: validation.py:148
#, python-format
msgid "The password is too similar to the %(verbose_name)s."
msgstr "Ce mot de passe est trop similaire à %(verbose_name)s."

#: validation.py:154
msgid "Your password can't be too similar to your other personal information."
msgstr ""
"Votre mot de passe ne peut pas être similaire à vos autres informations "
"personnelles."

#: validation.py:179
msgid "This password is too common."
msgstr "Votre mot de passe est trop courant."

#: validation.py:184
msgid "Your password can't be a commonly used password."
msgstr ""
"Votre mot de passe ne peut pas être un mot de passe utilisé couramment. "

#: validation.py:194
msgid "This password is entirely numeric."
msgstr "Votre mot de passe est composé uniquement de chiffres."

#: validation.py:199
msgid "Your password can't be entirely numeric."
msgstr "Votre mot de passe ne peut pas être composé uniquement de chiffres."
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def get_version():
maintainer_email='[email protected]',
url='https://github.com/orcasgit/django-password-validation/',
packages=find_packages(),
include_package_data=True,
package_data={
'password_validation': ['common-passwords.txt.gz'],
},
Expand Down