Browse Source

name-etymology: improvements

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

6
name-etymology.json

@ -32,11 +32,11 @@
],
"details": [
"{% if attribute(tags, 'name:etymology') %}{{ attribute(tags, 'name:etymology')|enumerate }}{% endif %}",
"{% 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": [
"{{ 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 attribute(tags, 'old_name:etymology') %}{{ keyTrans('old_name:etymology') }}: {{ attribute(tags, 'old_name:etymology')|enumerate }}<br/>{% endif %}",
"",

Loading…
Cancel
Save