Browse Source

Corrected translatoin functions.

master
Nathan Hartley 1 year ago
parent
commit
3c0c3ebfb1
  1. 12
      paddling_amenities.yaml
  2. 4
      paddling_hazards.yaml

12
paddling_amenities.yaml

@ -34,8 +34,16 @@ feature:
<dl>
<dt>Surface</dt>
<dd>{% if attribute(tags, 'surface') %}{{ tagTrans('surface', tags.surface) }}{% endif %}</dd>
<dt>{{ localizedTag(tags, 'description') }}</dt>
<dd>{{ tags.description }}</dd>
<dt>{{ keyTrans('description') }}</dt>
<dd>{{ localizedTag(tags, 'description') }}</dd>
<dt>{{ keyKey('access') }}</dt>
<dd>{{ tagTrans('access', tags.access) }}</dd>
<dt>{{ keyTrans('fee') }}</dt>
<dd>{{ tagTrans('fee', tags.fee) }}</dd>
</dl>
{% if attribute(tags, 'mapillary') %}
<div><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary Photo</a><div>

4
paddling_hazards.yaml

@ -22,8 +22,8 @@ feature:
{{ tagTrans(key, value) }}
body: |-
<dl>
<dt>{{ localizedTag(tags, 'description') }}</dt>
<dd>{{ tags.description }}</dd>
<dt>{{ keyTrans('description') }}</dt>
<dd>{{ localizedTag(tags, 'description') }}</dd>
</dl>
{% if attribute(tags, 'mapillary') %}
<div><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary Photo</a><div>

Loading…
Cancel
Save