diff --git a/.gitignore b/.gitignore index ad7a860..d697fcd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ doc/_build/ dist/ .coverage password_validation/test/test.sqlite +.idea/ diff --git a/MANIFEST.in b/MANIFEST.in index fe96fce..fd6af02 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,3 +3,4 @@ include CHANGES.rst include LICENSE.txt include MANIFEST.in include README.rst +recursive-include password_validation *.mo diff --git a/password_validation/locale/fr/LC_MESSAGES/django.mo b/password_validation/locale/fr/LC_MESSAGES/django.mo new file mode 100644 index 0000000..326e415 Binary files /dev/null and b/password_validation/locale/fr/LC_MESSAGES/django.mo differ diff --git a/password_validation/locale/fr/LC_MESSAGES/django.po b/password_validation/locale/fr/LC_MESSAGES/django.po new file mode 100644 index 0000000..5df1d53 --- /dev/null +++ b/password_validation/locale/fr/LC_MESSAGES/django.po @@ -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 , 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 \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." diff --git a/setup.py b/setup.py index 922cc07..cef8158 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ def get_version(): maintainer_email='orcastech@orcasinc.com', url='https://github.com/orcasgit/django-password-validation/', packages=find_packages(), + include_package_data=True, package_data={ 'password_validation': ['common-passwords.txt.gz'], },