From 3c08c1297423d74348aa83e5932a7fbd94c260e5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 28 Jul 2023 14:34:40 +0200 Subject: [PATCH] Fix: fix #1528: from weblate to theme files did not properly sync --- scripts/generateTranslations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generateTranslations.ts b/scripts/generateTranslations.ts index 21460c6b5..0e8a3036d 100644 --- a/scripts/generateTranslations.ts +++ b/scripts/generateTranslations.ts @@ -557,7 +557,7 @@ function MergeTranslation(source: any, target: any, language: string, context: s if (context.endsWith(".tagRenderings")) { keyRemapping = new Map() for (const key in target) { - keyRemapping.set(target[key].id, key) + keyRemapping.set(target[key].id ?? target[key].builtin, key) } }