Fix: fix #1528: from weblate to theme files did not properly sync

This commit is contained in:
Pieter Vander Vennet 2023-07-28 14:34:40 +02:00
parent 56ea1163bb
commit 3c08c12974

View file

@ -557,7 +557,7 @@ function MergeTranslation(source: any, target: any, language: string, context: s
if (context.endsWith(".tagRenderings")) {
keyRemapping = new Map<string, string>()
for (const key in target) {
keyRemapping.set(target[key].id, key)
keyRemapping.set(target[key].id ?? target[key].builtin, key)
}
}