From 00be66373ebb143625ee834191452f92002216ad Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Sun, 26 Feb 2017 16:19:43 +0100 Subject: [PATCH] Make images more accessible --- app/views/supporters/_form.slim | 2 +- app/views/supporters/_right_side.de.slim | 2 +- app/views/supporters/_right_side.fr.slim | 2 +- app/views/supporters/_right_side.it.slim | 2 +- config/locales/de.yml | 1 + config/locales/fr.yml | 1 + config/locales/it.yml | 1 + 7 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/views/supporters/_form.slim b/app/views/supporters/_form.slim index f1a433a..c067726 100644 --- a/app/views/supporters/_form.slim +++ b/app/views/supporters/_form.slim @@ -1,6 +1,6 @@ .row .col-md-1.col-xs-4 - = image_tag('ch420_logo.png', class:'img-responsive pagelogo') + = image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo')) .col-md-8.col-xs-8 h1 = title t('.title_html') diff --git a/app/views/supporters/_right_side.de.slim b/app/views/supporters/_right_side.de.slim index c47ab09..b869d6c 100644 --- a/app/views/supporters/_right_side.de.slim +++ b/app/views/supporters/_right_side.de.slim @@ -1,5 +1,5 @@ .well - p = image_tag 'li_logo.svg', class: 'img-responsive' + p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo des Vereins Legalize it!' p Wir wollen die nötigen Unterschriften für eine Volksinitiative zur Cannabis-Legalisierung sammeln. Für die Umsetzung setzt man auf ein neues Sammelkonzept. Dies funktioniert in drei Schritten: p diff --git a/app/views/supporters/_right_side.fr.slim b/app/views/supporters/_right_side.fr.slim index ef3a178..5964c09 100644 --- a/app/views/supporters/_right_side.fr.slim +++ b/app/views/supporters/_right_side.fr.slim @@ -1,5 +1,5 @@ .well - p = image_tag 'li_logo.svg', class: 'img-responsive' + p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo de l\'association Legalize It!' p Nous voulons recueillir les signatures nécessaires pour une initiative populaire pour la légalisation du cannabis. Pour l’exécution de ce projet, un nouveau concept de collection a été mis sur pieds. Cela fonctionne en trois étapes: p diff --git a/app/views/supporters/_right_side.it.slim b/app/views/supporters/_right_side.it.slim index 81bd472..77f2499 100644 --- a/app/views/supporters/_right_side.it.slim +++ b/app/views/supporters/_right_side.it.slim @@ -1,5 +1,5 @@ .well - p = image_tag 'li_logo.svg', class: 'img-responsive' + p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo dell\'associazione Legalize It!' p Vogliamo raccogliere le firme necessarie per un'iniziativa popolare per la legalizzazione della cannabis. Per implementare l'accento su un nuovo concetto collettivo. Questo funziona in tre fasi: p diff --git a/config/locales/de.yml b/config/locales/de.yml index 7576641..e19d9c6 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -16,6 +16,7 @@ de: supporters: form: + logo: Logo der Initiative title_html: Ja, ich will Cannabis in der Schweiz legalisieren submit: Unterstützung zusichern terms_and_conditions: Mit dem Absenden deiner Daten stimmst du den Nutzungsbedingungen zu. diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 0305ccf..4ca2ac6 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -16,6 +16,7 @@ fr: supporters: form: + logo: Logo de l'initiative title_html: Oui, je veux légaliser le cannabis en Suisse. submit: Confirmer mon soutien terms_and_conditions: En soumettant vos données, vous acceptez les conditions d'utilisation. diff --git a/config/locales/it.yml b/config/locales/it.yml index 43d234a..9fa5070 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -16,6 +16,7 @@ it: supporters: form: + logo: Logo dell'iniziativa title_html: Si, voglio legalizzare la cannabis in Svizzera submit: Garantire il sostengo terms_and_conditions: "Con l'invio dei tuoi dati, accetti le condizioni d'utilizzo."