fix(i18n): preserve inherited-name labels as untranslated data

This commit is contained in:
cesnimda
2026-11-02 22:23:26 +01:00
parent 8909e53467
commit 7b132ec4b4
7 changed files with 36 additions and 2 deletions
@@ -364,7 +364,7 @@ function timelineCategoryLabel(t: (key: any) => string, category: string): strin
communication: "intelligenceCategoryCommunication",
ai: "intelligenceCategoryAi",
};
return keys[category] ? t(keys[category]) : category;
return Object.hasOwn(keys, category) ? t(keys[category]) : category;
}
function matchBandLabel(t: (key: any) => string, band?: string): string {