diff --git a/src/components/Shell.jsx b/src/components/Shell.jsx index 5cee346..a549ba9 100644 --- a/src/components/Shell.jsx +++ b/src/components/Shell.jsx @@ -483,7 +483,7 @@ function Shell({ selectedProject, selectedSession, initialCommand, isPlainShell

{isPlainShell ? - t('shell.runCommand', { command: initialCommand || 'command', projectName: selectedProject.displayName }) : + t('shell.runCommand', { command: initialCommand || t('shell.defaultCommand'), projectName: selectedProject.displayName }) : t('shell.startCli', { projectName: selectedProject.displayName }) }

diff --git a/src/i18n/locales/en/chat.json b/src/i18n/locales/en/chat.json index 6cada03..663c139 100644 --- a/src/i18n/locales/en/chat.json +++ b/src/i18n/locales/en/chat.json @@ -199,6 +199,7 @@ "startSession": "Start a new Claude session", "resumeSession": "Resume session: {{displayName}}...", "runCommand": "Run {{command}} in {{projectName}}", - "startCli": "Starting Claude CLI in {{projectName}}" + "startCli": "Starting Claude CLI in {{projectName}}", + "defaultCommand": "command" } } diff --git a/src/i18n/locales/zh-CN/chat.json b/src/i18n/locales/zh-CN/chat.json index a6d9cd0..2d52ba4 100644 --- a/src/i18n/locales/zh-CN/chat.json +++ b/src/i18n/locales/zh-CN/chat.json @@ -199,6 +199,7 @@ "startSession": "启动新的 Claude 会话", "resumeSession": "恢复会话:{{displayName}}...", "runCommand": "在 {{projectName}} 中运行 {{command}}", - "startCli": "在 {{projectName}} 中启动 Claude CLI" + "startCli": "在 {{projectName}} 中启动 Claude CLI", + "defaultCommand": "命令" } }