From 9a3c8514b225006140afacaa568bd805114f85f8 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 5 Jul 2018 16:12:26 +0200 Subject: [PATCH] Home title i18n + intro --- app/views/pages/home.html.erb | 10 +++++++++- config/locales/en.yml | 6 +++++- config/locales/fr.yml | 5 +++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index 9ffc94d..4282a75 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1 +1,9 @@ -

Welcome Chexpire !

+
+
+
+

<%= t(".welcome") %>

+ +

<%= t(".intro") %>

+
+
+
diff --git a/config/locales/en.yml b/config/locales/en.yml index 40adaf0..554bb3f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -52,7 +52,6 @@ en: ssl_recurrent_failures: subject: "Recurrent failures in %{domain} SSL certificate expiry check" - shared: locales: en: English @@ -66,6 +65,11 @@ en: sign_out: "Sign out" profile: "Profile" + pages: + home: + welcome: "Welcome on Chexpire" + intro: "With Chexpire, you'll never forget to renew a domain name or SSL certificate Chexpire." + checks: index: title: List of your checks diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 799126a..52241a1 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -101,6 +101,11 @@ fr: sign_out: "Déconnexion" profile: "Profil" + pages: + home: + welcome: "Bienvenue sur Chexpire" + intro: "Grâce à Chexpire, vous n'oublierez plus jamais de renouveler un nom de domaine ou un certificat SSL." + checks: index: title: "Liste de vos vérifications"