diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-22 08:18:59 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-22 08:18:59 +0100 |
commit | e1dab7f062f495b225fbab4f66044d6d3134bdec (patch) | |
tree | a9e9463f7c15e70d71c1e3c95d882a40f8efaeb3 /src | |
parent | Updated translations. (diff) | |
download | newspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.tar.gz newspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.tar.bz2 newspipe-e1dab7f062f495b225fbab4f66044d6d3134bdec.zip |
Updated translations.
Diffstat (limited to 'src')
-rw-r--r-- | src/web/translations/fr/LC_MESSAGES/messages.mo | bin | 17912 -> 18007 bytes | |||
-rw-r--r-- | src/web/translations/fr/LC_MESSAGES/messages.po | 8 | ||||
-rw-r--r-- | src/web/translations/messages.pot | 6 | ||||
-rw-r--r-- | src/web/views/user.py | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/src/web/translations/fr/LC_MESSAGES/messages.mo b/src/web/translations/fr/LC_MESSAGES/messages.mo Binary files differindex 19e062fa..81dad4bc 100644 --- a/src/web/translations/fr/LC_MESSAGES/messages.mo +++ b/src/web/translations/fr/LC_MESSAGES/messages.mo diff --git a/src/web/translations/fr/LC_MESSAGES/messages.po b/src/web/translations/fr/LC_MESSAGES/messages.po index 0fb41d61..a4e8b036 100644 --- a/src/web/translations/fr/LC_MESSAGES/messages.po +++ b/src/web/translations/fr/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-21 13:33+0100\n" -"PO-Revision-Date: 2016-11-21 13:33+0100\n" +"POT-Creation-Date: 2016-11-22 08:18+0100\n" +"PO-Revision-Date: 2016-11-22 08:18+0100\n" "Last-Translator: Cedric Bonhomme <cedric.bonhomme@list.lu>\n" "Language-Team: fr <LL@li.org>\n" "Language: fr\n" @@ -913,6 +913,10 @@ msgstr "Problème lors de l'envoi d'email d'activation: %(error)s" msgid "Your account has been created. Check your mail to confirm it." msgstr "Votre compte a été créé. Vérifiez votre courrier pour le confirmer." +#: ../views/user.py:32 +msgid "You must set your profile to public." +msgstr "Vous devez mettre votre profil en public." + #: ../views/user.py:60 ../views/user.py:76 ../views/user.py:85 msgid "File not allowed." msgstr "Fichier non autorisé." diff --git a/src/web/translations/messages.pot b/src/web/translations/messages.pot index d9cb53b0..bd36878b 100644 --- a/src/web/translations/messages.pot +++ b/src/web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-11-21 13:33+0100\n" +"POT-Creation-Date: 2016-11-22 08:17+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -881,6 +881,10 @@ msgstr "" msgid "Your account has been created. Check your mail to confirm it." msgstr "" +#: ../views/user.py:32 +msgid "You must set your profile to public." +msgstr "" + #: ../views/user.py:60 ../views/user.py:76 ../views/user.py:85 msgid "File not allowed." msgstr "" diff --git a/src/web/views/user.py b/src/web/views/user.py index 58c23dd2..34e0b513 100644 --- a/src/web/views/user.py +++ b/src/web/views/user.py @@ -29,7 +29,7 @@ def profile_public(nickname=None): user = user_contr.get(nickname=nickname) if not user.is_public_profile: if current_user.is_authenticated and current_user.id == user.id: - flash('You must set your profile to public.', 'info') + flash(gettext('You must set your profile to public.'), 'info') return redirect(url_for('user.profile')) filters = {} |