Housekeeping...

This commit is contained in:
Pieter Vander Vennet 2022-09-02 12:54:41 +02:00
parent 71c583b47e
commit a5aae3c57c
13 changed files with 623 additions and 541 deletions

View file

@ -1,10 +1,12 @@
{
"id": "parcel_lockers",
"name": {
"en": "Parcel Lockers"
"en": "Parcel Lockers",
"de": "Paketschließfächer"
},
"description": {
"en": "Layer showing parcel lockers for collecting and sending parcels."
"en": "Layer showing parcel lockers for collecting and sending parcels.",
"de": "Ebene mit Paketschließfächern zum Abholen und Versenden von Paketen."
},
"minzoom": 12,
"source": {
@ -24,7 +26,8 @@
{
"title": {
"en": "a parcel locker",
"nl": "een pakketautomaat"
"nl": "een pakketautomaat",
"de": "ein Paketschließfach"
},
"preciseInput": {
"preferredBackground": "photo"
@ -36,13 +39,15 @@
],
"title": {
"render": {
"en": "Parcel Locker"
"en": "Parcel Locker",
"de": "Paketschließfach"
},
"mappings": [
{
"if": "brand~*",
"then": {
"en": "{brand} parcel locker"
"en": "{brand} parcel locker",
"de": "{brand} Paketschließfach"
}
}
]
@ -52,20 +57,23 @@
{
"id": "brand",
"question": {
"en": "What is the brand of the parcel locker?"
"en": "What is the brand of the parcel locker?",
"de": "Welche Marke hat das Paketschließfach?"
},
"freeform": {
"key": "brand",
"type": "string",
"placeholder": {
"en": "Brand"
"en": "Brand",
"de": "Marke"
}
},
"mappings": [
{
"if": "brand=Amazon Locker",
"then": {
"en": "This is an Amazon Locker"
"en": "This is an Amazon Locker",
"de": "Dies ist ein Amazon Locker"
},
"addExtraTags": [
"brand:wikidata=Q16974764",
@ -76,7 +84,8 @@
{
"if": "brand=DHL Packstation",
"then": {
"en": "This is a DHL Packstation"
"en": "This is a DHL Packstation",
"de": "Dies ist eine DHL-Packstation"
},
"addExtraTags": [
"brand:wikidata=Q1766703",
@ -88,7 +97,8 @@
{
"if": "brand=Pickup Station",
"then": {
"en": "This is a DPD Pickup Station"
"en": "This is a DPD Pickup Station",
"de": "Dies ist eine DPD Pickup Station"
},
"addExtraTags": [
"operator=DPD"
@ -99,7 +109,8 @@
"if": "brand=PostNL",
"then": {
"en": "This is a PostNL Parcel Locker",
"nl": "Dit is een PostNL pakketautomaat"
"nl": "Dit is een PostNL pakketautomaat",
"de": "Dies ist ein PostNL-Paketschließfach"
},
"addExtraTags": [
"operator=PostNL"
@ -108,58 +119,68 @@
}
],
"render": {
"en": "This is a {brand} parcel locker"
"en": "This is a {brand} parcel locker",
"de": "Dies ist ein Paketschließfach von {brand}"
}
},
{
"id": "operator",
"question": {
"en": "What is the operator of the parcel locker?"
"en": "What is the operator of the parcel locker?",
"de": "Was ist der Betreiber des Paketschließfachs?"
},
"freeform": {
"key": "operator",
"type": "string",
"placeholder": {
"en": "Operator"
"en": "Operator",
"de": "Betreiber"
}
},
"render": {
"en": "This parcel locker is operated by {operator}"
"en": "This parcel locker is operated by {operator}",
"de": "Dieses Paketschließfach wird von {operator} betrieben"
}
},
"opening_hours",
{
"id": "ref",
"question": {
"en": "What is the reference number/identifier of this parcel locker?"
"en": "What is the reference number/identifier of this parcel locker?",
"de": "Wie lautet die Referenznummer/Kennung dieses Paketschließfachs?"
},
"freeform": {
"key": "ref",
"type": "string",
"placeholder": {
"en": "Reference"
"en": "Reference",
"de": "Referenz"
}
},
"render": {
"en": "This parcel locker has the reference {ref}"
"en": "This parcel locker has the reference {ref}",
"de": "Dieses Paketschließfach hat die Kennnummer {ref}"
}
},
{
"id": "mail-in",
"question": {
"en": "Can you send packages from this parcel locker?"
"en": "Can you send packages from this parcel locker?",
"de": "Können Sie von diesem Paketschließfach aus Pakete versenden?"
},
"mappings": [
{
"if": "parcel_mail_in=yes",
"then": {
"en": "You can send packages from this parcel locker"
"en": "You can send packages from this parcel locker",
"de": "Sie können Pakete von diesem Paketschließfach aus versenden"
}
},
{
"if": "parcel_mail_in=no",
"then": {
"en": "You <b>can't</b> send packages from this parcel locker"
"en": "You <b>can't</b> send packages from this parcel locker",
"de": "Sie können <b>keine</b> Pakete von diesem Paketschließfach aus versenden"
}
}
],
@ -168,19 +189,22 @@
{
"id": "pickup",
"question": {
"en": "Can you pick up packages from this parcel locker?"
"en": "Can you pick up packages from this parcel locker?",
"de": "Können Sie Pakete aus diesem Paketschließfach abholen?"
},
"mappings": [
{
"if": "parcel_pickup=yes",
"then": {
"en": "You can pick up packages from this parcel locker"
"en": "You can pick up packages from this parcel locker",
"de": "Sie können Pakete von diesem Paketschließfach abholen"
}
},
{
"if": "parcel_pickup=no",
"then": {
"en": "You <b>can't</b> pick up packages from this parcel locker"
"en": "You <b>can't</b> pick up packages from this parcel locker",
"de": "Sie können <b>keine</b> Pakete von diesem Paketschließfach abholen"
}
}
],