Using proper language navigating
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
html
|
||||
html lang="#{I18n.locale}"
|
||||
head
|
||||
title #CH420 - #{content_for(:title)}
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
|
||||
@@ -5,14 +5,15 @@
|
||||
h1
|
||||
= title t('.title_html')
|
||||
.col-xs-12.col-md-3
|
||||
.pull-right
|
||||
a href='/'
|
||||
nav.pull-right
|
||||
h2.sr-only =t('.lang')
|
||||
a href='/' lang='de'
|
||||
| Deutsch
|
||||
| |
|
||||
a href='/it'
|
||||
a href='/it' lang='it'
|
||||
| Italiano
|
||||
| |
|
||||
a href='/fr'
|
||||
a href='/fr' lang='fr'
|
||||
| Français
|
||||
br/
|
||||
= render 'shared/counter'
|
||||
|
||||
@@ -16,6 +16,7 @@ de:
|
||||
|
||||
supporters:
|
||||
form:
|
||||
lang: Sprache
|
||||
logo: Logo der Initiative
|
||||
title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong class="text-success">legalisieren</strong>
|
||||
submit: Unterstützung zusichern
|
||||
|
||||
@@ -16,6 +16,7 @@ fr:
|
||||
|
||||
supporters:
|
||||
form:
|
||||
lang: Langue
|
||||
logo: Logo de l'initiative
|
||||
title_html: Oui, je veux <strong class="text-success">légaliser le cannabis</strong> en Suisse.
|
||||
submit: Confirmer mon soutien
|
||||
|
||||
@@ -16,6 +16,7 @@ it:
|
||||
|
||||
supporters:
|
||||
form:
|
||||
lang: Lingua
|
||||
logo: Logo dell'iniziativa
|
||||
title_html: Si, voglio <strong class="text-success">legalizzare</strong> la <strong class="text-success">cannabis in Svizzera</strong>
|
||||
submit: Garantire il sostengo
|
||||
|
||||
Reference in New Issue
Block a user