From 7ce895bf5e0531b96b2cf0692b9da3814fb742f8 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 10 Jan 2016 12:49:43 +0100 Subject: Use HTML email for 2FA Related to #1490 --- .../UserBundle/Resources/translations/wallabag_user.en.yml | 7 +++---- .../UserBundle/Resources/translations/wallabag_user.fr.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'src/Wallabag/UserBundle/Resources/translations') diff --git a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml index f806d1d6..7298bb28 100644 --- a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml +++ b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml @@ -1,10 +1,9 @@ # Two factor mail auth_code.mailer.subject: 'Wallabag authentication Code' -auth_code.mailer.body: | - Hi %user%, - +auth_code.mailer.body.hello: "Hi %user%," +auth_code.mailer.body.content: | Since you enable two factor authentication on your wallabag account and you just logged in from a new device (computer, phone, etc.), we send you a code to validate your connection. Here is the code: %code% - +auth_code.mailer.body.signature: | Please don't hesitate to contact us if you have any problems: %support% The wallabag team diff --git a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml index 386b2d9e..0c492d04 100644 --- a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml +++ b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml @@ -1,10 +1,9 @@ # Two factor mail auth_code.mailer.subject: "Code d'authentification wallabag" -auth_code.mailer.body: | - Bonjour %user%, - +auth_code.mailer.body.hello: "Bonjour %user%," +auth_code.mailer.body.content: | Comme vous avez activé la double authentification sur votre compte wallabag et que vous venez de vous connecter depuis un nouvel appareil (ordinateur, téléphone, etc.), nous vous envoyons un code pour valider votre connexion. Voici le code à renseigner: %code% - +auth_code.mailer.body.signature: | Si vous avez un problème de connexion, n'hésitez pas à contacter le support: %support% L'équipe wallabag -- cgit v1.2.3