From 0c17dbd4de6cc4967d5798a790b25084bb53bf10 Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Wed, 17 Oct 2018 19:26:03 +0200 Subject: [PATCH] translate body of signup requested by invitation --- app/views/signup/invited.html.erb | 5 +---- config/locales/en.yml | 1 + config/locales/fr.yml | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/signup/invited.html.erb b/app/views/signup/invited.html.erb index 7ee57b5..e6416d9 100644 --- a/app/views/signup/invited.html.erb +++ b/app/views/signup/invited.html.erb @@ -7,10 +7,7 @@ <%= hidden_field_tag "invitation_code", @invitation.code %>

- To create a new account, enter your e-mail address and a password. - Your e-mail address will never be shown to users and will only be used - if you need to reset your password, or to receive optional new-message - alerts. Your username can be changed later. + <%= t('.createaccountbody') %>

<%= error_messages_for(@new_user) %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 9a990ac..a39cc5d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -388,6 +388,7 @@ en: signup: index: createaccounttitle: "Create an Account" + createaccountbody: "To create a new account, enter your e-mail address and a password. Your e-mail address will never be shown to users and will only be used if you need to reset your password, or to receive optional new-message alerts. Your username can be changed later." invited: createaccounttitle: "Create an Account" stories: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 182ce46..b334dc6 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -401,6 +401,7 @@ fr: createaccounttitle: "Créer un compte" invited: createaccounttitle: "Créer un compte" + createaccountbody: "Pour créer un nouveau compte, veuillez saisir votre e-mail et votre mot de passe. Votre e-mail ne sera jamais affiché aux autres utilisateurs et ne sera utilisé que si vous avez besoin de changer votre mot de passe ou de recevoir des notifications optionnelles de nouveaux messages. Votre nom d'utilisateur peut être changé ultérieurement." stories: edit: edit: "Éditer l'info"