Moved mappings to correct place, add translation

This commit is contained in:
Robin van der Linde 2022-05-01 19:08:29 +02:00
parent b6573ad1a3
commit db24ae4c30
No known key found for this signature in database
GPG key ID: 4B0074A1A79F6BED
4 changed files with 56 additions and 46 deletions

View file

@ -63,36 +63,10 @@
"zh_Hant": "郵筒", "zh_Hant": "郵筒",
"id": "Kotak pos", "id": "Kotak pos",
"hu": "Postaláda", "hu": "Postaláda",
"nl": "Brievenbus",
"ca": "Bústia", "ca": "Bústia",
"es": "Buzón de correo" "es": "Buzón de correo",
}, "nl": "Brievenbus"
"mappings": [ }
{
"if": {
"and": [
"post_office=post_partner",
"name="
]
},
"then": {
"en": "Post partner at a shop",
"de": "Postfiliale im Einzelhandel"
}
},
{
"if": {
"and": [
"post_office=post_partner",
"name~*"
]
},
"then": {
"en": "Post partner at {name}",
"de": "Postfiliale im {name}"
}
}
]
}, },
"description": { "description": {
"en": "The layer showing postboxes.", "en": "The layer showing postboxes.",
@ -192,7 +166,34 @@
"nl": "Postkantoor", "nl": "Postkantoor",
"ca": "Oficina de correus", "ca": "Oficina de correus",
"es": "Oficina de Correo" "es": "Oficina de Correo"
} },
"mappings": [
{
"if": {
"and": [
"post_office=post_partner",
"name="
]
},
"then": {
"en": "Post partner at a shop",
"de": "Postfiliale im Einzelhandel",
"nl": "Postpartner in een winkel"
}
},
{
"if": {
"and": [
"post_office=post_partner",
"name~*"
]
},
"then": {
"en": "Post partner at {name}",
"de": "Postfiliale im {name}"
}
}
]
}, },
"description": { "description": {
"en": "A layer showing post offices.", "en": "A layer showing post offices.",
@ -528,6 +529,10 @@
{ {
"if": "opening_hours~*", "if": "opening_hours~*",
"then": "isOpen" "then": "isOpen"
},
{
"if": "shop~*",
"then": "./assets/themes/shops/shop.svg"
} }
], ],
"iconSize": { "iconSize": {

View file

@ -775,14 +775,6 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "Postfiliale im Einzelhandel"
},
"1": {
"then": "Postfiliale im {name}"
}
},
"render": "Briefkasten" "render": "Briefkasten"
} }
}, },
@ -815,6 +807,14 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "Postfiliale im Einzelhandel"
},
"1": {
"then": "Postfiliale im {name}"
}
},
"render": "Poststelle" "render": "Poststelle"
} }
} }

View file

@ -804,14 +804,6 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "Post partner at a shop"
},
"1": {
"then": "Post partner at {name}"
}
},
"render": "Postbox" "render": "Postbox"
} }
}, },
@ -945,6 +937,14 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "Post partner at a shop"
},
"1": {
"then": "Post partner at {name}"
}
},
"render": "Post Office" "render": "Post Office"
} }
}, },

View file

@ -754,6 +754,11 @@
} }
}, },
"title": { "title": {
"mappings": {
"0": {
"then": "Postpartner in een winkel"
}
},
"render": "Postkantoor" "render": "Postkantoor"
} }
} }