fix: add missing translation

This commit is contained in:
YuanNiancai
2026-01-22 15:24:27 +08:00
parent cc3368c591
commit e85cc746b1
3 changed files with 5 additions and 3 deletions

View File

@@ -483,7 +483,7 @@ function Shell({ selectedProject, selectedSession, initialCommand, isPlainShell
</div> </div>
<p className="text-gray-400 text-sm mt-3 px-2"> <p className="text-gray-400 text-sm mt-3 px-2">
{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 }) t('shell.startCli', { projectName: selectedProject.displayName })
} }
</p> </p>

View File

@@ -199,6 +199,7 @@
"startSession": "Start a new Claude session", "startSession": "Start a new Claude session",
"resumeSession": "Resume session: {{displayName}}...", "resumeSession": "Resume session: {{displayName}}...",
"runCommand": "Run {{command}} in {{projectName}}", "runCommand": "Run {{command}} in {{projectName}}",
"startCli": "Starting Claude CLI in {{projectName}}" "startCli": "Starting Claude CLI in {{projectName}}",
"defaultCommand": "command"
} }
} }

View File

@@ -199,6 +199,7 @@
"startSession": "启动新的 Claude 会话", "startSession": "启动新的 Claude 会话",
"resumeSession": "恢复会话:{{displayName}}...", "resumeSession": "恢复会话:{{displayName}}...",
"runCommand": "在 {{projectName}} 中运行 {{command}}", "runCommand": "在 {{projectName}} 中运行 {{command}}",
"startCli": "在 {{projectName}} 中启动 Claude CLI" "startCli": "在 {{projectName}} 中启动 Claude CLI",
"defaultCommand": "命令"
} }
} }