From 04c07378173741f922559b98a92cee10e2079dbd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 18 Feb 2016 13:59:02 +0100 Subject: [PATCH] Add some missing french translations --- .../FOSUserBundle/translations/FOSUserBundle.fr.yml | 2 ++ docs/en/developer/translate.rst | 5 ++++- .../CoreBundle/Resources/translations/messages.fr.yml | 2 ++ .../UserBundle/Resources/views/themes/baggy/layout.html.twig | 2 +- .../Resources/views/themes/material/layout.html.twig | 2 +- 5 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml diff --git a/app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml b/app/Resources/FOSUserBundle/translations/FOSUserBundle.fr.yml new file mode 100644 index 00000000..1ccad137 --- /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 ff2b8f0e..138d128c 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 c42ac6d3..54161646 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 ff5b6583..7517c27c 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 9247a2c0..c355d3bf 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 %} -- 2.41.0