Translation sync

This commit is contained in:
Pieter Vander Vennet 2022-04-07 03:14:21 +02:00
parent c8e8908148
commit 6e3dd6a8d5
2 changed files with 51 additions and 42 deletions

View file

@ -412,29 +412,37 @@
"filter": [ "filter": [
{ {
"id": "shop-type", "id": "shop-type",
"options": [{ "options": [
"fields": [{ {
"name": "search", "fields": [
"type": "string" {
}], "name": "search",
"osmTags": "shop~^.*{search}.*$", "type": "string"
"question": { }
"en": "Only show shops selling {search}" ],
"osmTags": "shop~^.*{search}.*$",
"question": {
"en": "Only show shops selling {search}"
}
} }
}
] ]
}, },
{ {
"id": "shop-name", "id": "shop-name",
"options": [{ "options": [
"fields": [{ {
"name": "search", "fields": [
"type": "string" {
}], "name": "search",
"osmTags": "name~^.*{search}.*$", "type": "string"
"question": { }
"en": "Only show shops with name {search}" ],
"osmTags": "name~^.*{search}.*$",
"question": {
"en": "Only show shops with name {search}"
}
} }
}]} ]
}
] ]
} }

View file

@ -1049,30 +1049,31 @@
] ]
}, },
{ {
"mappings": [ "mappings": [
{ {
"if": "climbing:grade:french~3.*", "if": "climbing:grade:french~3.*",
"then": "<div class='rounded-full px-1' style='background-color:#ebf224'> {climbing:grade:french}</div>" "then": "<div class='rounded-full px-1' style='background-color:#ebf224'> {climbing:grade:french}</div>"
}, },
{ {
"if": "climbing:grade:french~4.*", "if": "climbing:grade:french~4.*",
"then": "<div class='rounded-full pl-2 pr-2' style='background-color:#7af224'> {climbing:grade:french}</div>" "then": "<div class='rounded-full pl-2 pr-2' style='background-color:#7af224'> {climbing:grade:french}</div>"
},{ },
"if": "climbing:grade:french~5.*", {
"then": "<div class='rounded-full pl-2 pr-2' style='background-color:#f24a24'> {climbing:grade:french}</div>" "if": "climbing:grade:french~5.*",
}, "then": "<div class='rounded-full pl-2 pr-2' style='background-color:#f24a24'> {climbing:grade:french}</div>"
{ },
"if": "climbing:grade:french~6.*", {
"then": "<div class='text-white rounded-full pl-2 pr-2' style='background-color:#244af2'> {climbing:grade:french}</div>" "if": "climbing:grade:french~6.*",
}, "then": "<div class='text-white rounded-full pl-2 pr-2' style='background-color:#244af2'> {climbing:grade:french}</div>"
{ },
"if": "climbing:grade:french~7.*", {
"then": "<div class='text-white rounded-full pl-2 pr-2' style='background-color:#e904ed'> {climbing:grade:french}</div>" "if": "climbing:grade:french~7.*",
}, "then": "<div class='text-white rounded-full pl-2 pr-2' style='background-color:#e904ed'> {climbing:grade:french}</div>"
{ },
"if": "climbing:grade:french~*", {
"then": "<div class='text-white rounded-full px-2' style='background-colour:black'> {climbing:grade:french}</div>" "if": "climbing:grade:french~*",
} "then": "<div class='text-white rounded-full px-2' style='background-colour:black'> {climbing:grade:french}</div>"
}
] ]
} }
], ],