Browse Source

Memorial: add filter memorial/monument; rename in en and de

railway-electrification
parent
commit
5e708a83db
  1. 2
      lang/de.json
  2. 2
      lang/en.json
  3. 13
      memorial.json

2
lang/de.json

@ -39,7 +39,7 @@
"category:law": "Juristische Institutionen",
"category:leisure": "Freizeit",
"category:leisure_sport_shopping": "Freizeit, Sport und Einkauf",
"category:memorial": "Denkmäler",
"category:memorial": "Denkmäler und Monumente",
"category:military": "Militär",
"category:mtb-routes": "Mointainbikerouten",
"category:natural": "Geographische Objekte",

2
lang/en.json

@ -39,7 +39,7 @@
"category:law": "Law",
"category:leisure": "Leisure",
"category:leisure_sport_shopping": "Leisure, Sport and Shopping",
"category:memorial": "Memorials",
"category:memorial": "Memorials & Monuments",
"category:military": "Military",
"category:mtb-routes": "Mountain bike routes",
"category:natural": "Natural Formations",

13
memorial.json

@ -1,12 +1,5 @@
{
"type": "overpass",
"name": {
"de": "Denkmäler",
"en": "Memorials",
"fr": "Mémoriaux",
"hu": "Emlékművek",
"pt-br": "Memoriais"
},
"query": {
"11": [
"(",
@ -185,6 +178,12 @@
"type": "select",
"values": "{% for k, v in const %}<option value='{{ k }}' query='nwr[~\"^(memorial|memorial:type|memorial_type|monument)$\"~\"^({{ k }}{% for alias in v.alias %}|{{ alias }}{% endfor %})$\"]'>{{ tagTrans('memorial', k) }}{% for alias in v.alias %}, {{ tagTrans('memorial', alias) }}{% endfor %}</option>{% endfor %}"
},
"size": {
"name": "{{ keyTrans('memorial') }} | {{ keyTrans('monument') }}",
"type": "radio",
"values": "<option value='*' query=''>{{ trans('any value') }}</option>\n<option value='memorial' query='nwr[historic=memorial]'>{{ keyTrans('memorial') }}</option>\n<option value='monument' query='nwr[historic=monument]'>{{ keyTrans('monument') }}</option>",
"default": "*"
},
"conflict": {
"key": "memorial:conflict",
"op": "has",

Loading…
Cancel
Save