fix(desktop): rename "Restart messaging" -> "Restart gateway"

The Command Center control restarts the whole messaging gateway, yet was
labelled "Restart messaging" while the status line above it reads "Messaging
gateway running/stopped". Rename the i18n key to match what it does, across
all 4 locales.
This commit is contained in:
Brooklyn Nicholson 2026-06-19 10:02:21 -05:00
parent 4128c69799
commit 6308d3416a
6 changed files with 6 additions and 6 deletions

View file

@ -395,7 +395,7 @@ export function CommandCenterView({ initialSection, onClose, onDeleteSession, on
</div>
<div className="flex shrink-0 items-center gap-1.5 whitespace-nowrap">
<Button onClick={() => void runSystemAction('restart')} size="xs" variant="text">
{cc.restartMessaging}
{cc.restartGateway}
</Button>
<Button onClick={() => void runSystemAction('update')} size="xs" variant="textStrong">
{cc.updateHermes}

View file

@ -761,7 +761,7 @@ export const en: Translations = {
gatewayRunning: 'Messaging gateway running',
gatewayStopped: 'Messaging gateway stopped',
hermesActiveSessions: (version, count) => `Hermes ${version} · Active sessions ${count}`,
restartMessaging: 'Restart messaging',
restartGateway: 'Restart gateway',
updateHermes: 'Update Hermes',
actionRunning: 'running',
actionDone: 'done',

View file

@ -881,7 +881,7 @@ export const ja = defineLocale({
gatewayRunning: 'メッセージングゲートウェイが実行中',
gatewayStopped: 'メッセージングゲートウェイが停止中',
hermesActiveSessions: (version, count) => `Hermes ${version} · アクティブセッション ${count}`,
restartMessaging: 'メッセージングを再起動',
restartGateway: 'ゲートウェイを再起動',
updateHermes: 'Hermes を更新',
actionRunning: '実行中',
actionDone: '完了',

View file

@ -625,7 +625,7 @@ export interface Translations {
gatewayRunning: string
gatewayStopped: string
hermesActiveSessions: (version: string, count: number) => string
restartMessaging: string
restartGateway: string
updateHermes: string
actionRunning: string
actionDone: string

View file

@ -854,7 +854,7 @@ export const zhHant = defineLocale({
gatewayRunning: '訊息閘道執行中',
gatewayStopped: '訊息閘道已停止',
hermesActiveSessions: (version, count) => `Hermes ${version} · 活躍工作階段 ${count}`,
restartMessaging: '重新啟動訊息服務',
restartGateway: '重新啟動閘道',
updateHermes: '更新 Hermes',
actionRunning: '執行中',
actionDone: '完成',

View file

@ -951,7 +951,7 @@ export const zh: Translations = {
gatewayRunning: '消息网关运行中',
gatewayStopped: '消息网关已停止',
hermesActiveSessions: (version, count) => `Hermes ${version} · 活跃会话 ${count}`,
restartMessaging: '重启消息服务',
restartGateway: '重启网关',
updateHermes: '更新 Hermes',
actionRunning: '运行中',
actionDone: '完成',