diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web/translations/fr/LC_MESSAGES/messages.mo | bin | 16775 -> 16887 bytes | |||
-rw-r--r-- | src/web/translations/fr/LC_MESSAGES/messages.po | 14 | ||||
-rw-r--r-- | src/web/translations/messages.pot | 12 | ||||
-rw-r--r-- | src/web/views/session_mgmt.py | 2 |
4 files changed, 19 insertions, 9 deletions
diff --git a/src/web/translations/fr/LC_MESSAGES/messages.mo b/src/web/translations/fr/LC_MESSAGES/messages.mo Binary files differindex 760c6127..653f3365 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 4c60fcf2..a1c0243d 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-08-29 10:26+0200\n" -"PO-Revision-Date: 2016-08-29 10:27+0100\n" +"POT-Creation-Date: 2016-09-07 07:34+0200\n" +"PO-Revision-Date: 2016-09-07 07:35+0100\n" "Last-Translator: Cedric Bonhomme <cedric.bonhomme@list.lu>\n" "Language-Team: fr <LL@li.org>\n" "Language: fr\n" @@ -837,16 +837,20 @@ msgstr "" "La récupération manuelle de nouvelles est disponible uniquement pour " "l'administrateur, sur la plate-forme Heroku." -#: ../views/session_mgmt.py:82 +#: ../views/session_mgmt.py:28 +msgid "Please log in to access this page." +msgstr "S'il vous plaît connectez vous pour accéder à cette page." + +#: ../views/session_mgmt.py:90 msgid "Self-registration is disabled." msgstr "L'auto-enregistrement est désactivé." -#: ../views/session_mgmt.py:97 +#: ../views/session_mgmt.py:105 #, python-format msgid "Problem while sending activation email: %(error)s" msgstr "Problème lors de l'envoi d'email d'activation: %(error)s" -#: ../views/session_mgmt.py:101 +#: ../views/session_mgmt.py:109 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." diff --git a/src/web/translations/messages.pot b/src/web/translations/messages.pot index d96b92a1..1aeec48f 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-08-29 10:26+0200\n" +"POT-Creation-Date: 2016-09-07 07:35+0200\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" @@ -807,16 +807,20 @@ msgid "" " Heroku platform." msgstr "" -#: ../views/session_mgmt.py:82 +#: ../views/session_mgmt.py:28 +msgid "Please log in to access this page." +msgstr "" + +#: ../views/session_mgmt.py:90 msgid "Self-registration is disabled." msgstr "" -#: ../views/session_mgmt.py:97 +#: ../views/session_mgmt.py:105 #, python-format msgid "Problem while sending activation email: %(error)s" msgstr "" -#: ../views/session_mgmt.py:101 +#: ../views/session_mgmt.py:109 msgid "Your account has been created. Check your mail to confirm it." msgstr "" diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py index febb3f13..d2371305 100644 --- a/src/web/views/session_mgmt.py +++ b/src/web/views/session_mgmt.py @@ -25,6 +25,8 @@ Principal(current_app) login_manager = LoginManager() login_manager.init_app(current_app) login_manager.login_view = 'login' +login_manager.login_message = gettext("Please log in to access this page.") +login_manager.login_message_category = "info" logger = logging.getLogger(__name__) |