feat(i18n): 收口多语言功能业务代码

This commit is contained in:
tianqijiuyun-latiao
2026-06-22 15:12:42 +08:00
parent eba689754c
commit f282da3bcb
433 changed files with 39626 additions and 6973 deletions

View File

@@ -84,7 +84,8 @@ describe('mcpCommandDraft helpers', () => {
it('reports unclosed quotes instead of producing a broken parse', () => {
expect(splitShellLikeCommand('uvx "broken command')).toEqual({
tokens: ['uvx'],
error: '命令中存在未闭合的引号,请检查后重试。',
error: 'The command contains an unclosed quote. Check it and try again.',
errorKey: 'ai_settings.mcp_server.command_parse.error.unclosed_quote',
});
});
});