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