Fix: reset translations
This commit is contained in:
parent
f8ef32f123
commit
6a4166febb
8 changed files with 44 additions and 35 deletions
|
@ -897,4 +897,4 @@
|
|||
"startsWithQ": "A wikidata identifier starts with Q and is followed by a number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4315,13 +4315,13 @@
|
|||
},
|
||||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Hi han snacks vegans disponibles"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Hi ha una petita selecció de snacks vegans disponibles"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "No hi ha snacks vegans disponibles"
|
||||
}
|
||||
},
|
||||
|
@ -4329,13 +4329,13 @@
|
|||
},
|
||||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Hi ha snacks vegetarians disponibles"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Només una petita selecció de snacks son vegetarians"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "No hi han sacks disponibles"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4602,13 +4602,13 @@
|
|||
},
|
||||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Veganské občerstvení je k dispozici"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "K dispozici je malý výběr veganského občerstvení"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Veganské občerstvení není k dispozici"
|
||||
}
|
||||
},
|
||||
|
@ -4616,13 +4616,13 @@
|
|||
},
|
||||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Vegetariánské občerstvení je k dispozici"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Pouze malý výběr občerstvení je vegetariánský"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Vegetariánské občerstvení není k dispozici"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5446,13 +5446,13 @@
|
|||
},
|
||||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Vegane Snacks sind erhältlich"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Nur eine kleine Auswahl an veganen Snacks ist erhältlich"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Es sind keine veganen Snacks verfügbar"
|
||||
}
|
||||
},
|
||||
|
@ -5460,13 +5460,13 @@
|
|||
},
|
||||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Vegetarische Snacks sind erhältlich"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Nur eine kleine Auswahl an vegetarischen Snacks ist erhältlich"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Es sind keine vegetarischen Snacks erhältlich"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5447,12 +5447,15 @@
|
|||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Vegan snacks are available"
|
||||
"then": "Serves only vegan snacks and burgers"
|
||||
},
|
||||
"1": {
|
||||
"then": "A small selection of vegan snacks are available"
|
||||
"then": "Vegan snacks are available"
|
||||
},
|
||||
"2": {
|
||||
"then": "A small selection of vegan snacks are available"
|
||||
},
|
||||
"3": {
|
||||
"then": "No vegan snacks are available"
|
||||
}
|
||||
},
|
||||
|
@ -5461,12 +5464,15 @@
|
|||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Vegetarian snacks are available"
|
||||
"then": "Serves only vegetarian snacks and burgers"
|
||||
},
|
||||
"1": {
|
||||
"then": "Only a small selection of snacks are vegetarian"
|
||||
"then": "Vegetarian snacks are available"
|
||||
},
|
||||
"2": {
|
||||
"then": "Only a small selection of snacks are vegetarian"
|
||||
},
|
||||
"3": {
|
||||
"then": "No vegetarian snacks are available"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -3737,13 +3737,13 @@
|
|||
},
|
||||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Des collations végétaliens sont disponibles"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Quelques snacks végétaliens seulement"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Pas d'en-cas végétaliens disponibles"
|
||||
}
|
||||
},
|
||||
|
@ -3751,13 +3751,13 @@
|
|||
},
|
||||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Des collations végétariens sont disponibles"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Quelques snacks végétariens seulement"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Pas d'en-cas végétariens disponibles"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4497,13 +4497,13 @@
|
|||
},
|
||||
"friture-vegan": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Er zijn veganistische snacks aanwezig"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Slechts enkele veganistische snacks"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Geen veganistische snacks beschikbaar"
|
||||
}
|
||||
},
|
||||
|
@ -4511,13 +4511,13 @@
|
|||
},
|
||||
"friture-vegetarian": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Er zijn vegetarische snacks aanwezig"
|
||||
},
|
||||
"1": {
|
||||
"2": {
|
||||
"then": "Slechts enkele vegetarische snacks"
|
||||
},
|
||||
"2": {
|
||||
"3": {
|
||||
"then": "Geen vegetarische snacks beschikbaar"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -49,6 +49,9 @@ class TranslationPart {
|
|||
}
|
||||
for (const translationsKey in translations) {
|
||||
const v = translations[translationsKey]
|
||||
if(Array.isArray(v) && context .endsWith("keywords")){
|
||||
continue
|
||||
}
|
||||
if (typeof v != "string") {
|
||||
console.error(
|
||||
`Non-string object at ${context} in translation while trying to add the translation ` +
|
||||
|
|
Loading…
Reference in a new issue