From 5b86bab8cebd6c1dd7c6ccceb0f3919c1e6b210a Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Wed, 9 Nov 2016 10:35:47 +0100 Subject: [PATCH] i18n of home view --- app/views/home/index.html.erb | 3 +-- config/locales/en.yml | 3 +++ config/locales/fr.yml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index d6c8891..026e293 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,7 +1,6 @@ <% if @cur_url == "/recent" %>
- The newest stories with a random sampling of - recently submitted stories that have not yet reached the front page. + <%= raw(t('.homerecentsdesc')) %>
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index f672771..cf1205a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -47,6 +47,9 @@ en: filtereddesc: "Description" filteredstories: "Stories" filteredsave: "Save Filters" + home: + index: + homerecentsdesc: "The newest stories with a random sampling of recently submitted stories that have not yet reached the front page." moderations: index: moderationlogtitle: "Moderation Log" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 2e85eb6..77b5c13 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -49,6 +49,9 @@ fr: hatrequestlink: "Porter le chapeau" privacylink: "Confidentialité" aboutlink: "À propos" + home: + index: + homerecentsdesc: "Les plus récentes infos avec un panaché aléatoire des infos récentes soumises qui n'ont pas encore atteint la page principale." filters: index: filteredtags: "Marques filtrées"