Fix food.json theme where the translations got fucked up; fixes #470

This commit is contained in:
pietervdvn 2021-09-07 23:40:09 +02:00
parent 6ba1c02ce3
commit 3462c5e702
6 changed files with 84 additions and 148 deletions

View file

@ -391,39 +391,70 @@
{
"#": "halal (no friture)",
"question": {
"nl": "Heeft deze frituur vegetarische snacks?",
"fr": "Cette friterie est-elle équipée de snacks végétariens ?"
"en": "Does this restaurant offer a halal menu?",
"nl": "Heeft dit restaurant halal opties?"
},
"mappings": [
{
"if": "diet:halal=no",
"then": {
"nl": "Er zijn vegetarische snacks aanwezig",
"fr": "Des collations végétariennes sont disponibles"
"en": "There are no halal options available",
"nl": "Er zijn geen halal opties aanwezig"
}
},
{
"if": "diet:halal=limited",
"then": {
"en": "There is a small halal menu",
"nl": "Er zijn een beperkt aantal halal opties"
}
},
{
"if": "diet:halal=yes",
"then": {
"nl": "Halal menu verkrijgbaar",
"en": "There is a halal menu"
}
},
{
"if": "diet:halal=only",
"then": {
"nl": "Enkel halal opties zijn beschikbaar",
"en": "Only halal options are available"
}
}
],
"condition": "cuisine!=friture"
},
{
"question": {
"nl": "Heeft deze frituur vegetarische snacks?",
"fr": "Cette friterie est-elle équipée de snacks végétariens ?"
},
"mappings": [
{
"if": "diet:vegetarian=yes",
"then": {
"nl": "Er zijn vegetarische snacks aanwezig",
"fr": "Des collations végétariens sont disponibles"
}
},
{
"if": "diet:vegetarian=limited",
"then": {
"nl": "Slechts enkele vegetarische snacks",
"fr": "Quelques snacks végétariens seulement"
}
},
{
"if": "diet:halal=yes",
"if": "diet:vegetarian=no",
"then": {
"nl": "Geen vegetarische snacks beschikbaar",
"fr": "Pas d'en-cas végétariens disponibles"
}
},
{
"if": "diet:halal=only",
"then": {
"nl": "Enkel halal opties zijn beschikbaar"
}
}
],
"condition": "cuisine!=friture"
"condition": "cuisine=friture"
},
{
"question": {
@ -432,33 +463,21 @@
},
"mappings": [
{
"if": {
"and": [
"diet:vegetarian=yes"
]
},
"if": "diet:vegan=yes",
"then": {
"nl": "Er zijn veganistische snacks aanwezig",
"fr": "Des collations végétaliens sont disponibles"
}
},
{
"if": {
"and": [
"diet:vegetarian=limited"
]
},
"if": "diet:vegan=limited",
"then": {
"nl": "Slechts enkele veganistische snacks",
"fr": "Quelques snacks végétaliens seulement"
}
},
{
"if": {
"and": [
"diet:vegetarian=no"
]
},
"if": "diet:vegan=no",
"then": {
"nl": "Geen veganistische snacks beschikbaar",
"fr": "Pas d'en-cas végétaliens disponibles"
@ -474,37 +493,18 @@
},
"mappings": [
{
"if": {
"and": [
"diet:vegan=yes"
]
},
"if": "friture:oil=vegetable",
"then": {
"nl": "Plantaardige olie",
"fr": "Huile végétale"
}
},
{
"if": {
"and": [
"diet:vegan=limited"
]
},
"if": "friture:oil=animal",
"then": {
"nl": "Dierlijk vet",
"fr": "Graisse animale"
}
},
{
"if": {
"and": [
"diet:vegetarian=no"
]
},
"then": {
"nl": "Geen veganistische snacks beschikbaar",
"fr": "Pas d'en-cas végétaliens disponibles"
}
}
],
"condition": "cuisine=friture"
@ -518,11 +518,7 @@
},
"mappings": [
{
"if": {
"and": [
"friture:oil=vegetable"
]
},
"if": "reusable_packaging:accept=yes",
"then": {
"nl": "Je mag je <b>eigen containers</b> meenemen om je bestelling in mee te nemen en zo minder afval te maken",
"fr": "Vous pouvez <b>apporter vos contenants</b> pour votre commande, limitant lusage de matériaux à usage unique et les déchets",
@ -531,11 +527,7 @@
}
},
{
"if": {
"and": [
"friture:oil=animal"
]
},
"if": "reusable_packaging:accept=no",
"then": {
"nl": "Je mag <b>geen</b> eigen containers meenemen om je bestelling in mee te nemen",
"fr": "Apporter ses propres contenants <b>nest pas permis</b>",
@ -543,39 +535,9 @@
"ja": "独自の容器を持参することは<b>できません</b>",
"ru": "Приносить свою тару <b>не разрешено</b>"
}
}
],
"condition": "cuisine=friture"
},
{
"question": {
"nl": "Als je je eigen container (bv. kookpot of kleine potjes voor saus) meeneemt, gebruikt de frituur deze dan om je bestelling in te doen?",
"en": "If you bring your own container (such as a cooking pot and small pots), is it used to package your order?<br/>",
"ja": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>",
"fr": "Est-il proposé dutiliser ses propres contenants pour sa commande ?<br/>"
},
"mappings": [
{
"if": "bulk_purchase=yes",
"then": {
"nl": "Je mag je <b>eigen containers</b> meenemen om je bestelling in mee te nemen en zo minder afval te maken",
"en": "You can bring <b>your own containers</b> to get your order, saving on single-use packaging material and thus waste",
"ja": "<b>自分の容器</b>を持ってきて、注文を受け取ることができ、使い捨ての梱包材を節約して、無駄を省くことができます",
"fr": "Vous pouvez <b>apporter vos contenants</b> pour votre commande, limitant lusage de matériaux à usage unique et les déchets"
}
},
{
"if": "bulk_purchase=no",
"then": {
"nl": "Je mag <b>geen</b> eigen containers meenemen om je bestelling in mee te nemen",
"en": "Bringing your own container is <b>not allowed</b>",
"ja": "独自の容器を持参することは<b>できません</b>",
"ru": "Приносить свою тару <b>не разрешено</b>",
"fr": "Apporter ses propres contenants <b>nest pas permis</b>"
}
},
{
"if": "bulk_purchase=only",
"if": "reusable_packaging:accept=only",
"then": {
"nl": "Je <b>moet</b> je eigen containers meenemen om je bestelling in mee te nemen.",
"en": "You <b>must</b> bring your own container to order here.",

View file

@ -1721,14 +1721,20 @@
"10": {
"question": "Does this restaurant have a vegetarian option?"
},
"15": {
"question": "If you bring your own container (such as a cooking pot and small pots), is it used to package your order?<br/>",
"12": {
"question": "Does this restaurant offer a halal menu?",
"mappings": {
"0": {
"then": "You can bring <b>your own containers</b> to get your order, saving on single-use packaging material and thus waste"
"then": "There are no halal options available"
},
"1": {
"then": "Bringing your own container is <b>not allowed</b>"
"then": "There is a small halal menu"
},
"2": {
"then": "There is a halal menu"
},
"3": {
"then": "Only halal options are available"
}
}
},

View file

@ -864,11 +864,11 @@
},
"food": {
"tagRenderings": {
"12": {
"13": {
"question": "Cette friterie est-elle équipée de snacks végétariens ?",
"mappings": {
"0": {
"then": "Des collations végétariennes sont disponibles"
"then": "Des collations végétariens sont disponibles"
},
"1": {
"then": "Quelques snacks végétariens seulement"
@ -878,7 +878,7 @@
}
}
},
"13": {
"14": {
"question": "Cette friterie est-elle équipée de snacks végétaliens ?",
"mappings": {
"0": {
@ -892,7 +892,7 @@
}
}
},
"14": {
"15": {
"question": "Cette friteuse fonctionne-t-elle avec de la graisse animale ou végétale ?",
"mappings": {
"0": {
@ -900,20 +900,6 @@
},
"1": {
"then": "Graisse animale"
},
"2": {
"then": "Pas d'en-cas végétaliens disponibles"
}
}
},
"15": {
"question": "Est-il proposé dutiliser ses propres contenants pour sa commande ?<br/>",
"mappings": {
"0": {
"then": "Vous pouvez <b>apporter vos contenants</b> pour votre commande, limitant lusage de matériaux à usage unique et les déchets"
},
"1": {
"then": "Apporter ses propres contenants <b>nest pas permis</b>"
}
}
},

View file

@ -17,17 +17,6 @@
},
"food": {
"tagRenderings": {
"15": {
"question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>",
"mappings": {
"0": {
"then": "<b>自分の容器</b>を持ってきて、注文を受け取ることができ、使い捨ての梱包材を節約して、無駄を省くことができます"
},
"1": {
"then": "独自の容器を持参することは<b>できません</b>"
}
}
},
"16": {
"question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>",
"mappings": {

View file

@ -1720,6 +1720,23 @@
}
},
"12": {
"question": "Heeft dit restaurant halal opties?",
"mappings": {
"0": {
"then": "Er zijn geen halal opties aanwezig"
},
"1": {
"then": "Er zijn een beperkt aantal halal opties"
},
"2": {
"then": "Halal menu verkrijgbaar"
},
"3": {
"then": "Enkel halal opties zijn beschikbaar"
}
}
},
"13": {
"question": "Heeft deze frituur vegetarische snacks?",
"mappings": {
"0": {
@ -1730,13 +1747,10 @@
},
"2": {
"then": "Geen vegetarische snacks beschikbaar"
},
"3": {
"then": "Enkel halal opties zijn beschikbaar"
}
}
},
"13": {
"14": {
"question": "Heeft deze frituur veganistische snacks?",
"mappings": {
"0": {
@ -1750,7 +1764,7 @@
}
}
},
"14": {
"15": {
"question": "Bakt deze frituur met dierlijk vet of met plantaardige olie?",
"mappings": {
"0": {
@ -1758,20 +1772,6 @@
},
"1": {
"then": "Dierlijk vet"
},
"2": {
"then": "Geen veganistische snacks beschikbaar"
}
}
},
"15": {
"question": "Als je je eigen container (bv. kookpot of kleine potjes voor saus) meeneemt, gebruikt de frituur deze dan om je bestelling in te doen?",
"mappings": {
"0": {
"then": "Je mag je <b>eigen containers</b> meenemen om je bestelling in mee te nemen en zo minder afval te maken"
},
"1": {
"then": "Je mag <b>geen</b> eigen containers meenemen om je bestelling in mee te nemen"
}
}
},

View file

@ -606,13 +606,6 @@
},
"food": {
"tagRenderings": {
"15": {
"mappings": {
"1": {
"then": "Приносить свою тару <b>не разрешено</b>"
}
}
},
"16": {
"mappings": {
"1": {