Fix fallback of unrecognized extension categories (#1807)

This commit is contained in:
Chenlei Hu
2024-12-05 08:06:06 -08:00
committed by GitHub
parent c45f03f5e7
commit 80a42ebf10
2 changed files with 9 additions and 2 deletions

View File

@@ -144,7 +144,10 @@ const categories = computed<SettingTreeNode[]>(() =>
aboutPanelNode
].map((node) => ({
...node,
translatedLabel: t(`settingsCategories.${normalizeI18nKey(node.label)}`)
translatedLabel: t(
`settingsCategories.${normalizeI18nKey(node.label)}`,
node.label
)
}))
)