From 1b938b7f774c00721b85335c76d08db5a3320816 Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Fri, 19 Oct 2018 23:00:41 +0200 Subject: [PATCH] translate pass along invitation screen --- app/views/signup/invite.html.erb | 10 ++++------ config/locales/en.yml | 5 +++++ config/locales/fr.yml | 5 +++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/views/signup/invite.html.erb b/app/views/signup/invite.html.erb index ab027b9..689e75e 100644 --- a/app/views/signup/invite.html.erb +++ b/app/views/signup/invite.html.erb @@ -1,20 +1,18 @@
- Pass Along an Invitation + <%= t('.passinvitation') %>

- This community can only grow when members invite new users, just as - <%= @user.invited_by_user.try(:username) %> invited you. - Take a moment and invite someone you know. + <%= t('.passinvitationbody') %>

<%= render :partial => "users/invitationform", :locals => { :return_home => true } %> - or + <%= t('.passinvitationor') %>

- <%= button_to "Skip", "/", :method => :get %> + <%= button_to t('.passinvitationskip'), "/", :method => :get %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 1cfd724..3a5ed27 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -400,6 +400,11 @@ en: signup: "Signup" invited: createaccounttitle: "Create an Account" + invite: + passinvitation: "Pass Along an Invitation" + passinvitationbody: "This community can only grow when members invite new users, just as you were invited. Take a moment and invite someone you know." + passinvitationor: "or" + passinvitationskip: "Skip" stories: edit: edit: "Edit Story" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 8c68631..84a8526 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -418,6 +418,11 @@ fr: abouttitle: "À propos :" markdownavailable: "Syntaxe Markdown disponible" signup: "S'inscrire" + invite: + passinvitation: "À votre tour d'inviter quelqu'un" + passinvitationbody: "Cette communauté ne peut grossir que quand des membres invitent d'autres personnes. N'hésitez pas à prendre un moment pour inviter quelqu'un à votre tour." + passinvitationor: "ou" + passinvitationskip: "Plus tard" stories: edit: edit: "Éditer l'info"