summaryrefslogtreecommitdiff
path: root/amber
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-08-19 13:04:03 -0700
committerelijah <elijah@riseup.net>2014-08-19 13:04:03 -0700
commit2f65635512f5fc41516f882e0dbb6108b1b996b7 (patch)
tree077e26a78d35980bf3ef315cc3bef48e45b0144c /amber
parent0be7af1a50bf87bc3fc0b6fd7b293f0b292022fb (diff)
added initial :es translations to demonstrate how it can be done.
Diffstat (limited to 'amber')
-rw-r--r--amber/config.rb4
-rw-r--r--amber/layouts/home.html.haml17
-rw-r--r--amber/locales/en.yml32
-rw-r--r--amber/locales/es.yml31
4 files changed, 79 insertions, 5 deletions
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<br>(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: <b>WARNING:</b> 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: >
+ <b>WARNING:</b> 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 <b>Bitmask</b> application is designed to have a <b>friendly</b> interface
+ with <b>automatic</b> 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<br>(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: >
+ <b>ADVERTENCIA:</b> 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 <b>Bitmask</b> está diseñada para tener una <b>amigable</b> interfaz
+ con <b>automático</b> 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