fix: harden host language switching

This commit is contained in:
xmanrui 2026-08-24 03:55:55 +08:00
parent 3741dd8fd9
commit d4b8666495
23 changed files with 189 additions and 90 deletions

View file

@ -1,10 +1,9 @@
import { TextHarnessBridge, createTextBridgeStatus } from '../shared/text-harness-bridge.mjs';
import { t } from '../shared/i18n.mjs';
export const DISCORD_DESCRIPTOR = Object.freeze({
key: 'discord',
label: 'Discord',
connectionLabel: t(' Gateway 长连接'),
connectionLabel: ' Gateway 长连接',
});
export class DiscordHarnessBridge extends TextHarnessBridge {