summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-08-04 15:34:13 -0700
committerelijah <elijah@riseup.net>2015-08-04 15:34:13 -0700
commit75268c96512d233688b85f392c6e715a64450d11 (patch)
tree241b65e6c60dd21f41d4677751d13c45e5861ae8
parenta9f336cdf784bc6f0dd0062b8f7253ed57799da7 (diff)
Made the default front-page welcome text translatable.
-rw-r--r--app/views/home/_content.html.haml2
-rw-r--r--config/locales/en/home.en.yml1
-rw-r--r--lib/en_US.yml2
3 files changed, 4 insertions, 1 deletions
diff --git a/app/views/home/_content.html.haml b/app/views/home/_content.html.haml
index e47fdaf..d96a1e0 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 88a50a5..c77dc3f 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 76e49a8..4c59fb3 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.