Skip to content

Commit 7da679d

Browse files
committed
Merge branch 'easycode-ls-dev' into 'master'
chore(feishu): internationalize Feishu dashboard status title See merge request ai_native/DeepVCode/DeepVcodeClient!487
2 parents 44fcfc8 + 47554bd commit 7da679d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/cli/src/ui/components/FeishuStatusDashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const FeishuStatusDashboard: React.FC<FeishuStatusDashboardProps> = ({
125125
{/* ── 顶部状态栏 ── */}
126126
<Box justifyContent="space-between" marginBottom={1}>
127127
<Text bold color={Colors.AccentCyan}>
128-
{platform === 'lark' ? '🌐 Lark Bot' : '🌐 飞书 Bot'}
128+
{platform === 'lark' ? t('feishu.dashboard.mode_lark') : t('feishu.dashboard.mode_feishu')}
129129
</Text>
130130
<Text>
131131
{isConnected ? (

packages/cli/src/ui/utils/i18n.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,6 +1603,8 @@ export const translations = {
16031603
'feishu.lifecycle.stop_blocked': '⚠️ **`/feishu stop` cannot be run from Feishu.**\n\nThis command stops the very gateway that is relaying your message — running it here would disconnect the Bot and you could not restart it from Feishu.\n\n💡 To stop the Bot, run `/feishu stop` in the **local easycode terminal**.\n🛑 To abort the current running task instead, use `/stop`.',
16041604

16051605
// Feishu Dashboard
1606+
'feishu.dashboard.mode_lark': '🧩 Easy Code Lark Gateway Mode',
1607+
'feishu.dashboard.mode_feishu': '🧩 Easy Code Feishu Gateway Mode',
16061608
'feishu.dashboard.connected': 'Connected',
16071609
'feishu.dashboard.disconnected': 'Disconnected',
16081610
'feishu.dashboard.bot_name': 'Bot',
@@ -3259,6 +3261,8 @@ export const translations = {
32593261
'feishu.lifecycle.stop_blocked': '⚠️ **`/feishu stop` 不能在飞书里执行。**\n\n这个命令会停掉正在转发您消息的网关本身——在这里执行会导致 Bot 直接断连,而且您无法再从飞书侧重新启动它。\n\n💡 要停止 Bot,请在 **本地 easycode 终端** 执行 `/feishu stop`。\n🛑 若只是想中止当前正在运行的任务,请使用 `/stop`。',
32603262

32613263
// Feishu Dashboard(飞书仪表板)
3264+
'feishu.dashboard.mode_lark': '🧩 Easy Code Lark 网关模式',
3265+
'feishu.dashboard.mode_feishu': '🧩 Easy Code 飞书网关模式',
32623266
'feishu.dashboard.connected': '已连接',
32633267
'feishu.dashboard.disconnected': '已断开',
32643268
'feishu.dashboard.bot_name': 'Bot',

0 commit comments

Comments
 (0)