Browse Source

office: bugfix, use translations in type filter

shop-bulk_purchase
parent
commit
d75a4dc6af
  1. 2
      office.json

2
office.json

@ -49,7 +49,7 @@
"name": "{{ trans('filter:type') }}", "name": "{{ trans('filter:type') }}",
"show_default": "true", "show_default": "true",
"type": "select", "type": "select",
"values": "{% for k, v in const %}<option value=\"{{ k }}\" query=\"nwr[{{ k }}]\" minzoom=\"{{ v.zoom }}\">{{ tagTrans(k) }}</option>{% endfor %}"
"values": "{% for k, v in const %}<option value=\"{{ k }}\" query=\"nwr[{{ k }}]\" minzoom=\"{{ v.zoom }}\">{{ tagTrans('office', k) }}</option>{% endfor %}"
} }
} }
} }
Loading…
Cancel
Save