mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-09 08:13:29 +08:00
feat(i18n): 收口多语言功能业务代码
This commit is contained in:
@@ -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',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user