From 0497b10e04a22441ecb5e149bc82308a498c44af Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 11 Mar 2022 02:25:39 +0100 Subject: [PATCH] Add 'paid playground' as access option --- assets/layers/playground/playground.json | 25 ++++++++++++++++++++++-- langs/layers/de.json | 6 +++--- langs/layers/en.json | 7 +++++-- langs/layers/fr.json | 6 +++--- langs/layers/it.json | 6 +++--- langs/layers/nl.json | 7 +++++-- langs/layers/ru.json | 2 +- 7 files changed, 43 insertions(+), 16 deletions(-) diff --git a/assets/layers/playground/playground.json b/assets/layers/playground/playground.json index 6c6b62bf5..d7c7e9faf 100644 --- a/assets/layers/playground/playground.json +++ b/assets/layers/playground/playground.json @@ -291,6 +291,21 @@ "it": "Accessibile pubblicamente", "de": "Zugänglich für die Allgemeinheit", "fr": "Accessible au public" + }, + "addExtraTags": [ + "fee=no" + ] + }, + { + "if": { + "and": [ + "fee=yes", + "access=customers" + ] + }, + "then": { + "en": "This is a paid

playground", + "nl": "Er moet betaald worden om deze speeltuin te mogen gebruiken" } }, { @@ -301,7 +316,10 @@ "it": "Accessibile solamente ai clienti dell’attività che lo gestisce", "de": "Nur für Kunden des Betreibers zugänglich", "fr": "Réservée aux clients" - } + }, + "addExtraTags": [ + "fee=no" + ] }, { "if": "access=students", @@ -312,7 +330,10 @@ "de": "Nur für Schüler der Schule zugänglich", "fr": "Réservée aux élèves de l’école" }, - "hideInAnswer": true + "hideInAnswer": true, + "addExtraTags": [ + "fee=no" + ] }, { "if": "access=private", diff --git a/langs/layers/de.json b/langs/layers/de.json index 3c845d54d..dd60a1fa8 100644 --- a/langs/layers/de.json +++ b/langs/layers/de.json @@ -2334,13 +2334,13 @@ "0": { "then": "Zugänglich für die Allgemeinheit" }, - "1": { + "2": { "then": "Nur für Kunden des Betreibers zugänglich" }, - "2": { + "3": { "then": "Nur für Schüler der Schule zugänglich" }, - "3": { + "4": { "then": "Nicht zugänglich" } }, diff --git a/langs/layers/en.json b/langs/layers/en.json index 734e44cbd..47c9dfeb5 100644 --- a/langs/layers/en.json +++ b/langs/layers/en.json @@ -3921,12 +3921,15 @@ "then": "Accessible to the general public" }, "1": { - "then": "Only accessible for clients of the operating business" + "then": "This is a paid

playground" }, "2": { - "then": "Only accessible to students of the school" + "then": "Only accessible for clients of the operating business" }, "3": { + "then": "Only accessible to students of the school" + }, + "4": { "then": "Not accessible" } }, diff --git a/langs/layers/fr.json b/langs/layers/fr.json index b4abbdfb9..c67ea1a11 100644 --- a/langs/layers/fr.json +++ b/langs/layers/fr.json @@ -1599,13 +1599,13 @@ "0": { "then": "Accessible au public" }, - "1": { + "2": { "then": "Réservée aux clients" }, - "2": { + "3": { "then": "Réservée aux élèves de l’école" }, - "3": { + "4": { "then": "Non accessible" } }, diff --git a/langs/layers/it.json b/langs/layers/it.json index b17dc4871..e54e68e67 100644 --- a/langs/layers/it.json +++ b/langs/layers/it.json @@ -1287,13 +1287,13 @@ "0": { "then": "Accessibile pubblicamente" }, - "1": { + "2": { "then": "Accessibile solamente ai clienti dell’attività che lo gestisce" }, - "2": { + "3": { "then": "Accessibile solamente agli studenti della scuola" }, - "3": { + "4": { "then": "Non accessibile" } }, diff --git a/langs/layers/nl.json b/langs/layers/nl.json index f31a6bb23..fe3a11eeb 100644 --- a/langs/layers/nl.json +++ b/langs/layers/nl.json @@ -3744,12 +3744,15 @@ "then": "Vrij toegankelijk voor het publiek" }, "1": { - "then": "Enkel toegankelijk voor klanten van de bijhorende zaak" + "then": "Er moet betaald worden om deze speeltuin te mogen gebruiken" }, "2": { - "then": "Enkel toegankelijk voor scholieren van de bijhorende school" + "then": "Enkel toegankelijk voor klanten van de bijhorende zaak" }, "3": { + "then": "Enkel toegankelijk voor scholieren van de bijhorende school" + }, + "4": { "then": "Niet vrij toegankelijk" } }, diff --git a/langs/layers/ru.json b/langs/layers/ru.json index 610d19480..8c43934aa 100644 --- a/langs/layers/ru.json +++ b/langs/layers/ru.json @@ -1078,7 +1078,7 @@ }, "playground-access": { "mappings": { - "3": { + "4": { "then": "Недоступно" } }