Merge pull request 'Add question for app in charging stations' () from RobinLinde-patch-1 into develop

Reviewed-on: 
This commit is contained in:
Pieter Vander Vennet 2025-03-01 03:03:44 +01:00
commit 61b5afdb8e
3 changed files with 122 additions and 4 deletions

View file

@ -2544,9 +2544,68 @@
"fee=yes",
"charge~*"
]
}
},
"mappings+": [
{
"if": {
"and": [
"payment:app~*",
"payment:app!=no",
"payment:app!=yes"
]
},
"icon": "./assets/layers/questions/smartphone.svg",
"then": {
"en": "Payment is done using a dedicated app",
"nl": "Betalen via een app van het netwerk",
"hu": "Fizetés erre a célra szolgáló alkalmazással",
"zh_Hant": "使用專用應用程式付款",
"de": "Die Bezahlung erfolgt über eine spezielle App",
"fr": "Paiement via une application",
"sl": "Plačilo se opravi z namensko aplikacijo",
"ca": "El pagament es fa amb una app dedicada",
"fil": "Binabayaran gamit ang sariling app",
"es": "El pago se realiza utilizando una aplicación dedicada",
"zh_Hans": "使用专用APP支付",
"da": "Betaling sker ved hjælp af en dedikeret app",
"nb_NO": "Betaling utføres med et eget program",
"pt": "O pagamento é feito utilizando uma aplicação dedicada",
"it": "Pagamento effettuato utilizzando un'app dedicata",
"id": "Pembayaran dilakukan dengan aplikasi khusus",
"cs": "Platba se provádí pomocí speciální aplikace",
"pl": "Płatność odbywa się za pomocą dedykowanej aplikacji"
},
"hideInAnswer": true
}
]
}
},
{
"id": "app-name",
"condition": {
"and": [
"payment:app~*",
"payment:app!=no"
]
},
"question": {
"en": "What is the name of the app used for payment?",
"nl": "Hoe heet de app die gebruikt wordt voor betaling?"
},
"freeform": {
"key": "payment:app",
"placeholder": {
"en": "Name of the app",
"nl": "Naam van de app"
},
"type": "string"
},
"render": {
"en": "Payment can be done using the app <b>{payment:app}</b>",
"nl": "Betalen kan met de app <b>{payment:app}</b>"
},
"invalidValues": "payment:app=yes"
},
{
"id": "Authentication",
"#": "In some cases, charging is free but one has to be authenticated. We only ask for authentication if fee is no (or unset). By default one sees the questions for either the payment options or the authentication options, but normally not both",

View file

@ -485,9 +485,68 @@
"fee=yes",
"charge~*"
]
}
},
"mappings+": [
{
"if": {
"and": [
"payment:app~*",
"payment:app!=no",
"payment:app!=yes"
]
},
"icon": "./assets/layers/questions/smartphone.svg",
"then": {
"en": "Payment is done using a dedicated app",
"nl": "Betalen via een app van het netwerk",
"hu": "Fizetés erre a célra szolgáló alkalmazással",
"zh_Hant": "使用專用應用程式付款",
"de": "Die Bezahlung erfolgt über eine spezielle App",
"fr": "Paiement via une application",
"sl": "Plačilo se opravi z namensko aplikacijo",
"ca": "El pagament es fa amb una app dedicada",
"fil": "Binabayaran gamit ang sariling app",
"es": "El pago se realiza utilizando una aplicación dedicada",
"zh_Hans": "使用专用APP支付",
"da": "Betaling sker ved hjælp af en dedikeret app",
"nb_NO": "Betaling utføres med et eget program",
"pt": "O pagamento é feito utilizando uma aplicação dedicada",
"it": "Pagamento effettuato utilizzando un'app dedicata",
"id": "Pembayaran dilakukan dengan aplikasi khusus",
"cs": "Platba se provádí pomocí speciální aplikace",
"pl": "Płatność odbywa się za pomocą dedykowanej aplikacji"
},
"hideInAnswer": true
}
]
}
},
{
"id": "app-name",
"condition": {
"and": [
"payment:app~*",
"payment:app!=no"
]
},
"question": {
"en": "What is the name of the app used for payment?",
"nl": "Hoe heet de app die gebruikt wordt voor betaling?"
},
"freeform": {
"key": "payment:app",
"placeholder": {
"en": "Name of the app",
"nl": "Naam van de app"
},
"type": "string"
},
"render": {
"en": "Payment can be done using the app <b>{payment:app}</b>",
"nl": "Betalen kan met de app <b>{payment:app}</b>"
},
"invalidValues": "payment:app=yes"
},
{
"id": "Authentication",
"#": "In some cases, charging is free but one has to be authenticated. We only ask for authentication if fee is no (or unset). By default one sees the questions for either the payment options or the authentication options, but normally not both",
@ -1064,4 +1123,4 @@
},
"neededChangesets": 10
}
}
}

View file

@ -502,4 +502,4 @@
"es": "un bordillo",
"ca": "un kerb"
}
}
}