forked from MapComplete/MapComplete
Fix: reset translations
This commit is contained in:
parent
f8ef32f123
commit
6a4166febb
8 changed files with 44 additions and 35 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue