From 75268c96512d233688b85f392c6e715a64450d11 Mon Sep 17 00:00:00 2001
From: elijah <elijah@riseup.net>
Date: Tue, 4 Aug 2015 15:34:13 -0700
Subject: [PATCH] Made the default front-page welcome text translatable.

---
 app/views/home/_content.html.haml | 2 +-
 config/locales/en/home.en.yml     | 1 +
 lib/en_US.yml                     | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/views/home/_content.html.haml b/app/views/home/_content.html.haml
index e47fdaf2..d96a1e08 100644
--- a/app/views/home/_content.html.haml
+++ b/app/views/home/_content.html.haml
@@ -1,6 +1,6 @@
 .row-fluid
   %h1= t(:welcome, :provider => APP_CONFIG[:domain])
-  %p We provide secure communication services, including encrypted internet, email (coming soon), and chat (coming later).
+  .p=t(:welcome_message_html)
 
 .row-fluid
   = home_page_buttons
diff --git a/config/locales/en/home.en.yml b/config/locales/en/home.en.yml
index 88a50a56..c77dc3fd 100644
--- a/config/locales/en/home.en.yml
+++ b/config/locales/en/home.en.yml
@@ -1,6 +1,7 @@
 en:
   home: Home
   welcome: "Welcome to %{provider}."
+  welcome_message_html: "We provide secure communication services, including VPN and Email, with more services in the works."
   download_bitmask: "Download Bitmask"
 
   login_info: "Log in to change your account settings, create support tickets, and manage payments."
diff --git a/lib/en_US.yml b/lib/en_US.yml
index 76e49a8e..4c59fb37 100644
--- a/lib/en_US.yml
+++ b/lib/en_US.yml
@@ -68,6 +68,8 @@ en_US:
 ### home.en.yml
   home: Home
   welcome: Welcome to %{provider}.
+  welcome_message_html: We provide secure communication services, including VPN and
+    Email, with more services in the works.
   download_bitmask: Download Bitmask
   login_info: Log in to change your account settings, create support tickets, and manage
     payments.
-- 
GitLab