We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17be7c1 + bb38b4a commit a55939eCopy full SHA for a55939e
src/core/webview/ClineProvider.ts
@@ -2778,13 +2778,14 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2778
pl: "Polish",
2779
pt: "Portuguese",
2780
ru: "Russian",
2781
+ zh: "Simplified Chinese",
2782
"zh-cn": "Simplified Chinese",
2783
es: "Spanish",
2784
"zh-tw": "Traditional Chinese",
2785
tr: "Turkish",
2786
}
2787
// Return mapped language or default to English
- return langMap[vscodeLang.split("-")[0]] ?? "English"
2788
+ return langMap[vscodeLang] ?? langMap[vscodeLang.split("-")[0]] ?? "English"
2789
})(),
2790
mcpEnabled: mcpEnabled ?? true,
2791
enableMcpServerCreation: enableMcpServerCreation ?? true,
0 commit comments