From 76a25108978f0e5ae610770fd8183c9bc4f6cb97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Thu, 29 May 2025 20:07:46 +0200
Subject: [PATCH] shop: improve code style

---
 shop.yaml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/shop.yaml b/shop.yaml
index 6596188..e61feb3 100644
--- a/shop.yaml
+++ b/shop.yaml
@@ -280,14 +280,21 @@ const:
     - denim
 filter:
   shop:
-    name: '{{ trans(''filter:type'') }}'
+    name: |-
+      {{ trans("filter:type") }}
     type: select
-    show_default: 'true'
-    values: '{% set list = [] %}{% for k, v in const.shops %}<option value="{{ k }}">{% set list = list|merge([ k ]) %}{{ tagTrans(''shop'', k) }}</option>{% endfor %}<option weight=''1'' value=''other'' query=''nwr[shop][shop!~"^(|.*;)({{ list|join(''|'') }})(|;.*)$"]''>{{ trans(''other'') }}</option>'
+    show_default: true
+    values: |-
+      {% set list = [] %}
+      {% for k, v in const.shops %}
+      <option value="{{ k }}">{% set list = list|merge([ k ]) %}{{ tagTrans("shop", k) }}</option>
+      {% endfor %}
+      <option weight="1" value="other" query="nwr[shop][shop!~"^(|.*;)({{ list|join("|") }})(|;.*)$"]">{{ trans("other") }}</option>
     sort: natsort
     op: has
   clothes:
-    name: '{{ keyTrans(''clothes'') }}'
+    name: |-
+      {{ keyTrans("clothes") }}
     type: select
     values: |-
       {% set list = [] %}