Organisation description translated on related screens

This commit is contained in:
echarp 2019-05-15 20:17:07 +02:00
parent 6b695d7350
commit dbc738c16e
8 changed files with 5 additions and 8 deletions

View File

@ -39,7 +39,7 @@
%img(src='https://www.openstreetmap.org/assets/osm_logo.png'
alt='OSM logo' width='22px')
%h3= t '.description'
%h3= Event.human_attribute_name :description
.description
= description sanitize @event.description,
tags: %w[p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup span],

View File

@ -10,7 +10,9 @@
= favicon_link_tag '/favicon.ico'
= auto_discovery_link_tag :rss, controller: '/events', format: :rss
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags

View File

@ -23,7 +23,7 @@
.orga#map{ data: { url: maps_path(format: :json).to_s,
latitude: @orga.latitude.to_s, longitude: @orga.longitude.to_s } }
%h3= t '.description'
%h3= Orga.human_attribute_name :description
.description
= description sanitize @orga.description,
tags: %w[p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup span],

View File

@ -38,7 +38,6 @@ de:
dateAndPlace: Datum und Veranstaltungsort
noMap: Mit dieser Adresse konnte keine Karte verknüpft werden. Sie können
andere Syntax hier testen
description: Beschreibung
infos: Informationen
aside:
orga-list: Orga der Region

View File

@ -38,7 +38,6 @@ en:
dateAndPlace: Date and place
noMap: No OpenStreetMap map could be associated to this address. You can
test other syntaxes here
description: Description
infos: Informations
aside:
orga-list: Region's orgas

View File

@ -38,7 +38,6 @@ fr:
dateAndPlace: Date et lieu
noMap: Aucune carte n'a pu être associée à cette adresse. Vous pouvez
tester d'autres syntaxes ici
description: Description
infos: Informations
aside:
orga-list: Orgas de la région

View File

@ -38,7 +38,6 @@ nl:
dateAndPlace: Datum en evenement plaats
noMap: Aan dit adres kan geen kaart gekoppeld worden. Andere syntaxen
kunnen hier getestet worden
description: Beschrijving
infos: Informatie
aside:
orga-list: Orgas van de regio

View File

@ -38,7 +38,6 @@ pt-BR:
dateAndPlace: Data e local
noMap: Não foi possível associar um mapa no OpenStreetMap a este endereço.
Você pode testar outras sintaxes aqui
description: Descrição
infos: Informações
aside:
orga-list: Organizações no estado