Browse Source

name-etymology: improvements

master
parent
commit
dd80a3ba34
  1. 4
      name-etymology.json

4
name-etymology.json

@ -35,8 +35,8 @@
"{% if attribute(tags, \"name:start_date\") %} (since {{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"short\" }) }}){% endif %}" "{% if attribute(tags, \"name:start_date\") %} (since {{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"short\" }) }}){% endif %}"
], ],
"body": [ "body": [
"{{ keyTrans('name:etymology') }}: {{ attribute(tags, \"name:etymology\")|enumerate }}<br/>",
"{{ keyTrans('name:start_date') }}: {% if attribute(tags, \"name:start_date\") %}{{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"long\" }) }}{% else %}{{ trans('unknown') }}{% endif %}<br/>",
"{% if attribute(tags, 'name:etymology') %}{{ keyTrans('name:etymology') }}: {{ attribute(tags, 'name:etymology')|enumerate }}<br/>{% endif %}",
"{% if attribute(tags, \"name:start_date\") %}{{ keyTrans('name:start_date') }}: {{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"long\" }) }}<br/>{% endif %}",
"{% if tags.old_name %}{{ keyTrans('old_name') }}: {{ tags.old_name|enumerate }}<br/>{% endif %}", "{% if tags.old_name %}{{ keyTrans('old_name') }}: {{ tags.old_name|enumerate }}<br/>{% endif %}",
"{% if attribute(tags, 'old_name:etymology') %}{{ keyTrans('old_name:etymology') }}: {{ attribute(tags, 'old_name:etymology')|enumerate }}<br/>{% endif %}", "{% if attribute(tags, 'old_name:etymology') %}{{ keyTrans('old_name:etymology') }}: {{ attribute(tags, 'old_name:etymology')|enumerate }}<br/>{% endif %}",
"", "",

Loading…
Cancel
Save