From 75268c96512d233688b85f392c6e715a64450d11 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 4 Aug 2015 15:34:13 -0700 Subject: 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 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. -- cgit v1.2.3