From 2f65635512f5fc41516f882e0dbb6108b1b996b7 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 19 Aug 2014 13:04:03 -0700 Subject: added initial :es translations to demonstrate how it can be done. --- amber/config.rb | 4 ++++ amber/layouts/home.html.haml | 17 ++++++++++++++++- amber/locales/en.yml | 32 ++++++++++++++++++++++++++++---- amber/locales/es.yml | 31 +++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 5 deletions(-) create mode 100644 amber/locales/es.yml (limited to 'amber') diff --git a/amber/config.rb b/amber/config.rb index 8201bf7..c25ea15 100644 --- a/amber/config.rb +++ b/amber/config.rb @@ -1 +1,5 @@ @title = 'Bitmask Help' + +# uncomment these lines once :es pages have been added +# @default_locale = :en +# @locales = [:en, :es] diff --git a/amber/layouts/home.html.haml b/amber/layouts/home.html.haml index 4517821..4a35f89 100644 --- a/amber/layouts/home.html.haml +++ b/amber/layouts/home.html.haml @@ -15,6 +15,21 @@ #masthead = render 'layouts/masthead' #main - = yield :content + .darker + .container + .row + .col-sm-9 + .introtext + = render 'home/intro' + .col-sm-3 + .download.text-left + %a.btn.btn-large.btn-primary{:href => 'install'} + %i.fa.fa-download.fa-2x + %span + = t :download_bitmask + .container + .shadow-box + .content-box + = yield :content #footer = render 'layouts/footer' diff --git a/amber/locales/en.yml b/amber/locales/en.yml index 74c0a7e..763a3d1 100644 --- a/amber/locales/en.yml +++ b/amber/locales/en.yml @@ -1,7 +1,6 @@ en: - site_title: "Bitmask Help" + site_title: "Bitmask" banner_top: "Bitmask" - banner_bottom: "Help" banner_motto: "Encrypted communication for mere mortals
(superheroes welcome, too)" contribute_to_help: 'Contribute to these help pages' download_bitmask: 'Download Bitmask' @@ -9,5 +8,30 @@ en: download: Download leap: 'LEAP Encryption Access Project' footer_text: - warning: WARNING: Bitmask is still experimental. Please do not use these beta releases of Bitmask for situations where a compromise of your data could put you in danger. - warning_disabled: Also, although Bitmask is improving rapidly, it is possible that you could lose your email when using an early beta release. \ No newline at end of file + warning: > + WARNING: Bitmask is still experimental. Please do not use these beta + releases of Bitmask for situations where a compromise of your data could + put you in danger. + warning_disabled: > + Also, although Bitmask is improving rapidly, it is possible that you could + lose your email when using an early beta release. + + # + # front page text + # + fork_our_code: Fork our code + about_us: About us + supported_providers: Supported providers + supported_providers_text: "The following service providers are compatible with the Bitmask application:" + bitmask_app_blurb: > + The Bitmask application is designed to have a friendly interface + with automatic configuration. You simply start the application, register + with the compatible service provider of your choice, and away you go. + bitmask_vpn: Bitmask VPN + bitmask_vpn_blurb: > + With [[Bitmask VPN => features#vpn]], all your traffic is securely routed through + your provider before it is decrypted and sent on to the open internet. + encrypted_email: Encrypted Email + encrypted_email_blurb: > + [[Bitmask Encrypted Email => features#email]] is easy to use while still being + backward compatible with the existing OpenPGP protocol for secure email. \ No newline at end of file diff --git a/amber/locales/es.yml b/amber/locales/es.yml new file mode 100644 index 0000000..270384c --- /dev/null +++ b/amber/locales/es.yml @@ -0,0 +1,31 @@ +es: + missing_translation: "Esta página aún no ha sido traducida del Inglés." + banner_bottom: "Ayuda" + banner_motto: "La comunicación cifrada para los simples mortales
(superhéroes dan la bienvenida, también)" + contribute_to_help: Contribuir a estas páginas de ayuda + download_bitmask: Descarga Bitmask + downloads: Descargas + download: Descargar + warning: > + ADVERTENCIA: Máscara de bits es todavía experimental. Por favor, no use estos beta + comunicados de Máscara de bits para las situaciones en que un compromiso de sus datos podría + ponerte en peligro. + + # + # front page text + # + fork_our_code: Fork nuestro código + about_us: Quiénes somos + supported_providers: Proveedores soportados + supported_providers_text: "Los siguientes proveedores de servicios son compatibles con la aplicación de Bitmask:" + bitmask_app_blurb: > + El aplicación de Bitmask está diseñada para tener una amigable interfaz + con automático de configuración. Simplemente inicie la aplicación, se registra + con el proveedor de servicios compatibles de su elección, y ya está. + bitmask_vpn_blurb: > + Con [[Bitmask VPN => features#vpn]], todo el tráfico se enruta de forma segura a través de + su proveedor antes de que se descifra y se envía a la Internet abierta. + encrypted_email: Correo electrónico cifrado + encrypted_email_blurb: > + [[Bitmask cifrado Email => features#email]] es fácil de usar sin dejar de ser + compatible con el protocolo OpenPGP existente para correo electrónico seguro. \ No newline at end of file -- cgit v1.2.3