Revert to SupportedLanguage

This commit is contained in:
Alexander Farber
2025-12-12 15:36:50 +01:00
parent 3ff916a5f1
commit a5039d15bf

View File

@@ -128,7 +128,7 @@ async function setUiLanguage(
context.ui.reloadCommands();
// Map language codes to friendly display names
const langDisplayNames: Record<string, string> = {
const langDisplayNames: Partial<Record<SupportedLanguage, string>> = {
zh: '中文zh-CN',
en: 'Englishen-US',
};