diff --git a/app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml b/app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml new file mode 100644 index 000000000..1ccad137a --- /dev/null +++ b/app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml @@ -0,0 +1,2 @@ +Login: "Se connecter" +Enter your email address below and we'll send you password reset instructions.: "Renseignez votre adresse email, nous vous enverrons les instructions pour réinitialiser votre mot de passe." diff --git a/docs/en/developer/translate.rst b/docs/en/developer/translate.rst index ff2b8f0e9..138d128cd 100644 --- a/docs/en/developer/translate.rst +++ b/docs/en/developer/translate.rst @@ -8,7 +8,10 @@ You can find translation files here: https://github.com/wallabag/wallabag/tree/v You have to create ``messages.CODE.yml`` and ``validators.CODE.yml``, where CODE is the the ISO 639-1 code of your language (`see wikipedia `__). -There is still one file to translate: https://github.com/wallabag/wallabag/tree/v2/app/Resources/CraueConfigBundle/translations. +Other files to translate: + +- https://github.com/wallabag/wallabag/tree/v2/app/Resources/CraueConfigBundle/translations. +- https://github.com/wallabag/wallabag/tree/v2/app/Resources/FOSUserBundle/translations. You have to create ``CraueConfigBundle.CODE.yml``. diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index c42ac6d38..541616469 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml @@ -5,6 +5,7 @@ Login: 'Se connecter' Back to login: 'Revenir au formulaire de connexion' Send: 'Envoyer' "Enter your email address below and we'll send you password reset instructions.": "Saisissez votre adresse e-mail ci-dessous, nous vous enverrons les instructions pour réinitialiser votre mot de passe." +Register: 'Créer un compte' # Menu unread: 'Non lus' @@ -54,6 +55,7 @@ New password: 'Nouveau mot de passe' Repeat new password: 'Confirmez votre nouveau mot de passe' Username: "Nom d'utilisateur" Two factor authentication: Double authentification +Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion: Activer l'authentification double-facteur veut dire que vous allez recevoir un code par email à chaque nouvelle connexion non approuvée. # Tagging rules Tagging rules: "Règles de tag automatiques" diff --git a/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig index ff5b6583e..7517c27c2 100644 --- a/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}Welcome on wallabag!{% endblock %} +{% block title %}{% trans %}Welcome on wallabag!{% endtrans %}{% endblock %} {% block body_class %}login{% endblock %} diff --git a/src/Wallabag/UserBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/UserBundle/Resources/views/themes/material/layout.html.twig index 9247a2c07..c355d3bfe 100644 --- a/src/Wallabag/UserBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/themes/material/layout.html.twig @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}Welcome on wallabag!{% endblock %} +{% block title %}{% trans %}Welcome on wallabag!{% endtrans %}{% endblock %} {% block body_class %}login{% endblock %}