Small fixes to the title of a bike shop

This commit is contained in:
pietervdvn 2021-04-07 20:27:36 +02:00
parent 99b0f937b7
commit 1a2714c6ff

View file

@ -59,7 +59,6 @@
"if": { "if": {
"and": [ "and": [
"shop=sports", "shop=sports",
"name~*"
] ]
}, },
"then": { "then": {
@ -68,18 +67,10 @@
"fr": "Magasin de sport <i>{name}</i>" "fr": "Magasin de sport <i>{name}</i>"
} }
}, },
{
"if": "shop=sports",
"then": {
"en": "Sport gear shop",
"nl": "Sportwinkel",
"fr": "Magasin de sport"
}
},
{ {
"if": { "if": {
"and": [ "and": [
"shop!~bicycle", "shop!~.*bicycle.*",
"shop~*" "shop~*"
] ]
}, },
@ -88,9 +79,24 @@
{ {
"if": { "if": {
"and": [ "and": [
"name~*", {
"or": [
"service:bicycle:rental=yes",
"amenity=bicycle_rental"
]
}
]
},
"then": {
"nl": "Fietsverhuur <i>{name}</i>",
"en": "Bicycle rental <i>{name}</i>"
}
},
{
"if": {
"and": [
"service:bicycle:retail!~yes", "service:bicycle:retail!~yes",
"service:bicycle:repair!~no" "service:bicycle:repair=yes"
] ]
}, },
"then": { "then": {
@ -104,22 +110,6 @@
{ {
"if": { "if": {
"and": [ "and": [
"service:bicycle:retail!~yes",
"service:bicycle:repair!~no"
]
},
"then": {
"en": "Bike repair",
"nl": "Fietsenmaker",
"fr": "Réparateur de vélo",
"gl": "Arranxo de bicicletas",
"de": "Fahrradwerkstatt"
}
},
{
"if": {
"and": [
"name~*",
"service:bicycle:repair!~yes" "service:bicycle:repair!~yes"
] ]
}, },
@ -131,33 +121,6 @@
"de": "Fahrradgeschäft <i>{name}</i>" "de": "Fahrradgeschäft <i>{name}</i>"
} }
}, },
{
"if": "service:bicycle:repair!~yes",
"then": {
"en": "Bike shop",
"nl": "Fietswinkel",
"fr": "Magasin de vélo",
"gl": "Tenda de bicicletas",
"de": "Fahrradgeschäft"
}
},
{
"if": {
"and": [
"name~*",
{
"or": [
"service:bicycle:rental=yes",
"amenity=bicycle_rental"
]
}
]
},
"then": {
"nl": "Fietsverhuur <i>{name}</i>",
"en": "Bicycle rental <i>{name}</i>"
}
},
{ {
"if": "name~*", "if": "name~*",
"then": { "then": {