From 9186608879bbdb4d8ebd56b234692e6189b1e2cc Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 3 Dec 2015 13:19:56 -0500 Subject: [PATCH] Add @ZeliosAriex's Spanish translation to the interface --- config.rb | 2 +- source/layouts/layout.haml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.rb b/config.rb index 4b2d45e..a053fa5 100644 --- a/config.rb +++ b/config.rb @@ -4,7 +4,7 @@ # ----- Site ----- # -activate :i18n, langs: [:en, 'pt-BR', :ru], :mount_at_root => :en +activate :i18n, langs: [:en, 'es-ES', 'pt-BR', :ru], :mount_at_root => :en set :gauges_id, '' set :publisher_url, 'https://www.facebook.com/olivier.lacan.5' set :site_url, 'http://keepachangelog.com' diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index dd7a57e..03570e6 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -32,6 +32,7 @@ %nav.locales{role: "navigation"} %ul %li= link_to 'english [en]', '/', {rel: "alternate", lang: "en", hreflang: "en"} + %li= link_to 'español [es-ES]', '/es-ES/', {rel: "alternate", lang: "es-ES", hreflang: "es-ES"} %li= link_to 'português brasileiro [pt-BR]', '/pt-BR/', {rel: "alternate", lang: "pt-BR", hreflang: "pt-BR"} %li= link_to 'pyccкий [ru]', '/ru/', {rel: "alternate", lang: "ru", hreflang: "ru"}