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

This commit is contained in:
Pieter Vander Vennet 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)", "#": "halal (no friture)",
"question": { "question": {
"nl": "Heeft deze frituur vegetarische snacks?", "en": "Does this restaurant offer a halal menu?",
"fr": "Cette friterie est-elle équipée de snacks végétariens ?" "nl": "Heeft dit restaurant halal opties?"
}, },
"mappings": [ "mappings": [
{ {
"if": "diet:halal=no", "if": "diet:halal=no",
"then": { "then": {
"nl": "Er zijn vegetarische snacks aanwezig", "en": "There are no halal options available",
"fr": "Des collations végétariennes sont disponibles" "nl": "Er zijn geen halal opties aanwezig"
} }
}, },
{ {
"if": "diet:halal=limited", "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": { "then": {
"nl": "Slechts enkele vegetarische snacks", "nl": "Slechts enkele vegetarische snacks",
"fr": "Quelques snacks végétariens seulement" "fr": "Quelques snacks végétariens seulement"
} }
}, },
{ {
"if": "diet:halal=yes", "if": "diet:vegetarian=no",
"then": { "then": {
"nl": "Geen vegetarische snacks beschikbaar", "nl": "Geen vegetarische snacks beschikbaar",
"fr": "Pas d'en-cas végétariens disponibles" "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": { "question": {
@ -432,33 +463,21 @@
}, },
"mappings": [ "mappings": [
{ {
"if": { "if": "diet:vegan=yes",
"and": [
"diet:vegetarian=yes"
]
},
"then": { "then": {
"nl": "Er zijn veganistische snacks aanwezig", "nl": "Er zijn veganistische snacks aanwezig",
"fr": "Des collations végétaliens sont disponibles" "fr": "Des collations végétaliens sont disponibles"
} }
}, },
{ {
"if": { "if": "diet:vegan=limited",
"and": [
"diet:vegetarian=limited"
]
},
"then": { "then": {
"nl": "Slechts enkele veganistische snacks", "nl": "Slechts enkele veganistische snacks",
"fr": "Quelques snacks végétaliens seulement" "fr": "Quelques snacks végétaliens seulement"
} }
}, },
{ {
"if": { "if": "diet:vegan=no",
"and": [
"diet:vegetarian=no"
]
},
"then": { "then": {
"nl": "Geen veganistische snacks beschikbaar", "nl": "Geen veganistische snacks beschikbaar",
"fr": "Pas d'en-cas végétaliens disponibles" "fr": "Pas d'en-cas végétaliens disponibles"
@ -474,37 +493,18 @@
}, },
"mappings": [ "mappings": [
{ {
"if": { "if": "friture:oil=vegetable",
"and": [
"diet:vegan=yes"
]
},
"then": { "then": {
"nl": "Plantaardige olie", "nl": "Plantaardige olie",
"fr": "Huile végétale" "fr": "Huile végétale"
} }
}, },
{ {
"if": { "if": "friture:oil=animal",
"and": [
"diet:vegan=limited"
]
},
"then": { "then": {
"nl": "Dierlijk vet", "nl": "Dierlijk vet",
"fr": "Graisse animale" "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" "condition": "cuisine=friture"
@ -518,11 +518,7 @@
}, },
"mappings": [ "mappings": [
{ {
"if": { "if": "reusable_packaging:accept=yes",
"and": [
"friture:oil=vegetable"
]
},
"then": { "then": {
"nl": "Je mag je <b>eigen containers</b> meenemen om je bestelling in mee te nemen en zo minder afval te maken", "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", "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": { "if": "reusable_packaging:accept=no",
"and": [
"friture:oil=animal"
]
},
"then": { "then": {
"nl": "Je mag <b>geen</b> eigen containers meenemen om je bestelling in mee te nemen", "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>", "fr": "Apporter ses propres contenants <b>nest pas permis</b>",
@ -543,39 +535,9 @@
"ja": "独自の容器を持参することは<b>できません</b>", "ja": "独自の容器を持参することは<b>できません</b>",
"ru": "Приносить свою тару <b>не разрешено</b>" "ru": "Приносить свою тару <b>не разрешено</b>"
} }
}
],
"condition": "cuisine=friture"
}, },
{ {
"question": { "if": "reusable_packaging:accept=only",
"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",
"then": { "then": {
"nl": "Je <b>moet</b> je eigen containers meenemen om je bestelling in mee te nemen.", "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.", "en": "You <b>must</b> bring your own container to order here.",

View file

@ -1721,14 +1721,20 @@
"10": { "10": {
"question": "Does this restaurant have a vegetarian option?" "question": "Does this restaurant have a vegetarian option?"
}, },
"15": { "12": {
"question": "If you bring your own container (such as a cooking pot and small pots), is it used to package your order?<br/>", "question": "Does this restaurant offer a halal menu?",
"mappings": { "mappings": {
"0": { "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": { "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": { "food": {
"tagRenderings": { "tagRenderings": {
"12": { "13": {
"question": "Cette friterie est-elle équipée de snacks végétariens ?", "question": "Cette friterie est-elle équipée de snacks végétariens ?",
"mappings": { "mappings": {
"0": { "0": {
"then": "Des collations végétariennes sont disponibles" "then": "Des collations végétariens sont disponibles"
}, },
"1": { "1": {
"then": "Quelques snacks végétariens seulement" "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 ?", "question": "Cette friterie est-elle équipée de snacks végétaliens ?",
"mappings": { "mappings": {
"0": { "0": {
@ -892,7 +892,7 @@
} }
} }
}, },
"14": { "15": {
"question": "Cette friteuse fonctionne-t-elle avec de la graisse animale ou végétale ?", "question": "Cette friteuse fonctionne-t-elle avec de la graisse animale ou végétale ?",
"mappings": { "mappings": {
"0": { "0": {
@ -900,20 +900,6 @@
}, },
"1": { "1": {
"then": "Graisse animale" "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": { "food": {
"tagRenderings": { "tagRenderings": {
"15": {
"question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>",
"mappings": {
"0": {
"then": "<b>自分の容器</b>を持ってきて、注文を受け取ることができ、使い捨ての梱包材を節約して、無駄を省くことができます"
},
"1": {
"then": "独自の容器を持参することは<b>できません</b>"
}
}
},
"16": { "16": {
"question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>", "question": "お客様が持参容器(調理用の鍋や小さな鍋など)をもってきた場合は、注文の梱包に使用されますか?<br/>",
"mappings": { "mappings": {

View file

@ -1720,6 +1720,23 @@
} }
}, },
"12": { "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?", "question": "Heeft deze frituur vegetarische snacks?",
"mappings": { "mappings": {
"0": { "0": {
@ -1730,13 +1747,10 @@
}, },
"2": { "2": {
"then": "Geen vegetarische snacks beschikbaar" "then": "Geen vegetarische snacks beschikbaar"
},
"3": {
"then": "Enkel halal opties zijn beschikbaar"
} }
} }
}, },
"13": { "14": {
"question": "Heeft deze frituur veganistische snacks?", "question": "Heeft deze frituur veganistische snacks?",
"mappings": { "mappings": {
"0": { "0": {
@ -1750,7 +1764,7 @@
} }
} }
}, },
"14": { "15": {
"question": "Bakt deze frituur met dierlijk vet of met plantaardige olie?", "question": "Bakt deze frituur met dierlijk vet of met plantaardige olie?",
"mappings": { "mappings": {
"0": { "0": {
@ -1758,20 +1772,6 @@
}, },
"1": { "1": {
"then": "Dierlijk vet" "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": { "food": {
"tagRenderings": { "tagRenderings": {
"15": {
"mappings": {
"1": {
"then": "Приносить свою тару <b>не разрешено</b>"
}
}
},
"16": { "16": {
"mappings": { "mappings": {
"1": { "1": {