From 6dd296612bc3279582cc5fff8c6cc93e59412e24 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 30 Jun 2026 21:54:03 +0800 Subject: [PATCH] fix: remove internal adapter terminology from UI --- .../platform/adapters/aiocqhttp/manifest.yaml | 12 ++--- .../platform/adapters/dingtalk/manifest.yaml | 12 ++--- .../platform/adapters/discord/manifest.yaml | 8 +-- .../pkg/platform/adapters/kook/manifest.yaml | 12 ++--- .../pkg/platform/adapters/lark/manifest.yaml | 16 +++--- .../adapters/officialaccount/manifest.yaml | 12 ++--- .../adapters/qqofficial/manifest.yaml | 13 +++-- .../pkg/platform/adapters/slack/manifest.yaml | 12 ++--- .../platform/adapters/telegram/manifest.yaml | 8 +-- .../pkg/platform/adapters/wecom/manifest.yaml | 12 ++--- .../platform/adapters/wecombot/manifest.yaml | 12 ++--- .../platform/adapters/wecomcs/manifest.yaml | 12 ++--- .../home/bots/components/bot-form/BotForm.tsx | 52 +++++++++++++------ web/src/i18n/locales/en-US.ts | 7 +-- web/src/i18n/locales/es-ES.ts | 8 ++- web/src/i18n/locales/ja-JP.ts | 8 ++- web/src/i18n/locales/ru-RU.ts | 8 ++- web/src/i18n/locales/th-TH.ts | 8 ++- web/src/i18n/locales/vi-VN.ts | 8 ++- web/src/i18n/locales/zh-Hans.ts | 7 +-- web/src/i18n/locales/zh-Hant.ts | 8 ++- 21 files changed, 150 insertions(+), 105 deletions(-) diff --git a/src/langbot/pkg/platform/adapters/aiocqhttp/manifest.yaml b/src/langbot/pkg/platform/adapters/aiocqhttp/manifest.yaml index c8eac18bc..e31733c90 100644 --- a/src/langbot/pkg/platform/adapters/aiocqhttp/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/aiocqhttp/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: aiocqhttp-eba label: - en_US: OneBot v11 (EBA) - zh_Hans: OneBot v11 (EBA) - zh_Hant: OneBot v11 (EBA) + en_US: OneBot v11 + zh_Hans: OneBot v11 + zh_Hant: OneBot v11 description: - en_US: OneBot v11 adapter for QQ-compatible protocol endpoints (EBA architecture) - zh_Hans: OneBot v11 适配器,用于接入 QQ 兼容协议端(EBA 架构版本) - zh_Hant: OneBot v11 適配器,用於接入 QQ 相容協定端(EBA 架構版本) + en_US: OneBot v11 adapter for QQ-compatible protocol endpoints with event-driven orchestration support + zh_Hans: OneBot v11 适配器,用于接入 QQ 兼容协议端,支持事件驱动编排 + zh_Hant: OneBot v11 適配器,用於接入 QQ 相容協定端,支援事件驅動編排 icon: onebot.svg spec: diff --git a/src/langbot/pkg/platform/adapters/dingtalk/manifest.yaml b/src/langbot/pkg/platform/adapters/dingtalk/manifest.yaml index 0fb160e9c..c8dc5f117 100644 --- a/src/langbot/pkg/platform/adapters/dingtalk/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/dingtalk/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: dingtalk-eba label: - en_US: DingTalk (EBA) - zh_Hans: 钉钉 (EBA) - zh_Hant: 釘釘 (EBA) + en_US: DingTalk + zh_Hans: 钉钉 + zh_Hant: 釘釘 description: - en_US: DingTalk adapter (EBA architecture) - zh_Hans: 钉钉适配器(EBA 架构版本) - zh_Hant: 釘釘適配器(EBA 架構版本) + en_US: DingTalk adapter with event-driven orchestration support + zh_Hans: 钉钉适配器,支持事件驱动编排 + zh_Hant: 釘釘適配器,支援事件驅動編排 icon: dingtalk.svg spec: diff --git a/src/langbot/pkg/platform/adapters/discord/manifest.yaml b/src/langbot/pkg/platform/adapters/discord/manifest.yaml index 67030c015..3dc285a12 100644 --- a/src/langbot/pkg/platform/adapters/discord/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/discord/manifest.yaml @@ -4,11 +4,11 @@ kind: MessagePlatformAdapter metadata: name: discord-eba label: - en_US: Discord (EBA) - zh_Hans: Discord (EBA) + en_US: Discord + zh_Hans: Discord description: - en_US: Discord adapter (EBA architecture) - zh_Hans: Discord 适配器(EBA 架构版本) + en_US: Discord adapter with event-driven orchestration support + zh_Hans: Discord 适配器,支持事件驱动编排 icon: discord.svg spec: diff --git a/src/langbot/pkg/platform/adapters/kook/manifest.yaml b/src/langbot/pkg/platform/adapters/kook/manifest.yaml index a0c23c0ac..79eeebc52 100644 --- a/src/langbot/pkg/platform/adapters/kook/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/kook/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: kook-eba label: - en_US: KOOK (EBA) - zh_Hans: KOOK (EBA) - zh_Hant: KOOK (EBA) + en_US: KOOK + zh_Hans: KOOK + zh_Hant: KOOK description: - en_US: KOOK adapter (EBA architecture), supporting channel and direct messages. - zh_Hans: KOOK 适配器(EBA 架构版本),支持频道消息和私聊消息。 - zh_Hant: KOOK 適配器(EBA 架構版本),支援頻道訊息和私聊訊息。 + en_US: KOOK adapter with event-driven orchestration support, supporting channel and direct messages. + zh_Hans: KOOK 适配器,支持事件驱动编排、频道消息和私聊消息。 + zh_Hant: KOOK 適配器,支援事件驅動編排、頻道訊息和私聊訊息。 icon: kook.png docs: zh: https://link.langbot.app/zh/platforms/kook diff --git a/src/langbot/pkg/platform/adapters/lark/manifest.yaml b/src/langbot/pkg/platform/adapters/lark/manifest.yaml index 847702099..9afca06e4 100644 --- a/src/langbot/pkg/platform/adapters/lark/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/lark/manifest.yaml @@ -4,15 +4,15 @@ kind: MessagePlatformAdapter metadata: name: lark-eba label: - en_US: Lark / Feishu (EBA) - zh_Hans: 飞书 (EBA) - zh_Hant: 飛書 (EBA) - ja_JP: Lark (EBA) + en_US: Lark / Feishu + zh_Hans: 飞书 + zh_Hant: 飛書 + ja_JP: Lark description: - en_US: Lark/Feishu adapter (EBA architecture), supporting self-built/store apps and WebSocket/Webhook modes. - zh_Hans: 飞书适配器(EBA 架构版本),支持自建/商店应用和长连接/Webhook 两种通信模式。 - zh_Hant: 飛書適配器(EBA 架構版本),支援自建/商店應用和長連線/Webhook 兩種通訊模式。 - ja_JP: Lark アダプター(EBA アーキテクチャ)、カスタム/ストアアプリと WebSocket/Webhook モードをサポートします。 + en_US: Lark/Feishu adapter with event-driven orchestration support, supporting self-built/store apps and WebSocket/Webhook modes. + zh_Hans: 飞书适配器,支持事件驱动编排、自建/商店应用和长连接/Webhook 两种通信模式。 + zh_Hant: 飛書適配器,支援事件驅動編排、自建/商店應用和長連線/Webhook 兩種通訊模式。 + ja_JP: イベント駆動の編成に対応した Lark アダプター。カスタム/ストアアプリと WebSocket/Webhook モードをサポートします。 icon: lark.svg spec: diff --git a/src/langbot/pkg/platform/adapters/officialaccount/manifest.yaml b/src/langbot/pkg/platform/adapters/officialaccount/manifest.yaml index 882fc81fc..80b3ecd31 100644 --- a/src/langbot/pkg/platform/adapters/officialaccount/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/officialaccount/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: officialaccount-eba label: - en_US: Official Account (EBA) - zh_Hans: 微信公众号 (EBA) - zh_Hant: 微信公眾號 (EBA) + en_US: Official Account + zh_Hans: 微信公众号 + zh_Hant: 微信公眾號 description: - en_US: WeChat Official Account adapter with Event-Based Agents support - zh_Hans: 微信公众号适配器(EBA 架构版本),通过统一 Webhook 接收公众号消息 - zh_Hant: 微信公眾號適配器(EBA 架構版本),透過統一 Webhook 接收公眾號訊息 + en_US: WeChat Official Account adapter with event-driven orchestration support + zh_Hans: 微信公众号适配器,支持事件驱动编排,通过统一 Webhook 接收公众号消息 + zh_Hant: 微信公眾號適配器,支援事件驅動編排,透過統一 Webhook 接收公眾號訊息 icon: officialaccount.png spec: diff --git a/src/langbot/pkg/platform/adapters/qqofficial/manifest.yaml b/src/langbot/pkg/platform/adapters/qqofficial/manifest.yaml index 45912a163..66fdd67b4 100644 --- a/src/langbot/pkg/platform/adapters/qqofficial/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/qqofficial/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: qqofficial-eba label: - en_US: QQ Official API (EBA) - zh_Hans: QQ 官方 API (EBA) - zh_Hant: QQ 官方 API (EBA) + en_US: QQ Official API + zh_Hans: QQ 官方 API + zh_Hant: QQ 官方 API description: - en_US: QQ Official API adapter with Event-Based Agents support, using Webhook or WebSocket mode. - zh_Hans: QQ 官方 API 适配器(EBA 架构版本),支持 Webhook 和 WebSocket 两种连接模式。 - zh_Hant: QQ 官方 API 適配器(EBA 架構版本),支援 Webhook 和 WebSocket 兩種連線模式。 + en_US: QQ Official API adapter with event-driven orchestration support, using Webhook or WebSocket mode. + zh_Hans: QQ 官方 API 适配器,支持事件驱动编排、Webhook 和 WebSocket 两种连接模式。 + zh_Hant: QQ 官方 API 適配器,支援事件驅動編排、Webhook 和 WebSocket 兩種連線模式。 icon: qqofficial.svg spec: @@ -122,4 +122,3 @@ execution: python: path: ./adapter.py attr: QQOfficialAdapter - diff --git a/src/langbot/pkg/platform/adapters/slack/manifest.yaml b/src/langbot/pkg/platform/adapters/slack/manifest.yaml index 89b653176..4e72eae7e 100644 --- a/src/langbot/pkg/platform/adapters/slack/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/slack/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: slack-eba label: - en_US: Slack (EBA) - zh_Hans: Slack (EBA) - zh_Hant: Slack (EBA) + en_US: Slack + zh_Hans: Slack + zh_Hant: Slack description: - en_US: Slack adapter with Event-Based Agents support, using LangBot's unified webhook endpoint. - zh_Hans: Slack 适配器(EBA 架构版本),通过 LangBot 统一 Webhook 接收 Slack 事件订阅消息。 - zh_Hant: Slack 適配器(EBA 架構版本),透過 LangBot 統一 Webhook 接收 Slack 事件訂閱訊息。 + en_US: Slack adapter with event-driven orchestration support, using LangBot's unified webhook endpoint. + zh_Hans: Slack 适配器,支持事件驱动编排,通过 LangBot 统一 Webhook 接收 Slack 事件订阅消息。 + zh_Hant: Slack 適配器,支援事件驅動編排,透過 LangBot 統一 Webhook 接收 Slack 事件訂閱訊息。 icon: slack.png spec: diff --git a/src/langbot/pkg/platform/adapters/telegram/manifest.yaml b/src/langbot/pkg/platform/adapters/telegram/manifest.yaml index 01a0460d8..7e6daa14f 100644 --- a/src/langbot/pkg/platform/adapters/telegram/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/telegram/manifest.yaml @@ -4,11 +4,11 @@ kind: MessagePlatformAdapter metadata: name: telegram-eba label: - en_US: Telegram (EBA) - zh_Hans: 电报 (EBA) + en_US: Telegram + zh_Hans: 电报 description: - en_US: Telegram Bot adapter (EBA architecture) - zh_Hans: 电报 Bot 适配器(EBA 架构版本) + en_US: Telegram Bot adapter with event-driven orchestration support + zh_Hans: 电报 Bot 适配器,支持事件驱动编排 icon: telegram.svg spec: diff --git a/src/langbot/pkg/platform/adapters/wecom/manifest.yaml b/src/langbot/pkg/platform/adapters/wecom/manifest.yaml index c3cc57f19..650e0ef45 100644 --- a/src/langbot/pkg/platform/adapters/wecom/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/wecom/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: wecom-eba label: - en_US: WeCom (EBA) - zh_Hans: 企业微信 (EBA) - zh_Hant: 企業微信 (EBA) + en_US: WeCom + zh_Hans: 企业微信 + zh_Hant: 企業微信 description: - en_US: WeCom application message adapter (EBA architecture) - zh_Hans: 企业微信内部应用消息适配器(EBA 架构版本) - zh_Hant: 企業微信內部應用訊息適配器(EBA 架構版本) + en_US: WeCom application message adapter with event-driven orchestration support + zh_Hans: 企业微信内部应用消息适配器,支持事件驱动编排 + zh_Hant: 企業微信內部應用訊息適配器,支援事件驅動編排 icon: wecom.png spec: diff --git a/src/langbot/pkg/platform/adapters/wecombot/manifest.yaml b/src/langbot/pkg/platform/adapters/wecombot/manifest.yaml index bb812ea93..e403a1ed9 100644 --- a/src/langbot/pkg/platform/adapters/wecombot/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/wecombot/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: wecombot-eba label: - en_US: WeComBot (EBA) - zh_Hans: 企业微信智能机器人 (EBA) - zh_Hant: 企業微信智慧機器人 (EBA) + en_US: WeComBot + zh_Hans: 企业微信智能机器人 + zh_Hant: 企業微信智慧機器人 description: - en_US: WeCom AI Bot adapter with Event-Based Agents support - zh_Hans: 企业微信智能机器人适配器(EBA 架构版本),支持长连接和 Webhook 两种接入方式 - zh_Hant: 企業微信智慧機器人適配器(EBA 架構版本),支援長連線和 Webhook 兩種接入方式 + en_US: WeCom AI Bot adapter with event-driven orchestration support + zh_Hans: 企业微信智能机器人适配器,支持事件驱动编排、长连接和 Webhook 两种接入方式 + zh_Hant: 企業微信智慧機器人適配器,支援事件驅動編排、長連線和 Webhook 兩種接入方式 icon: wecombot.png spec: diff --git a/src/langbot/pkg/platform/adapters/wecomcs/manifest.yaml b/src/langbot/pkg/platform/adapters/wecomcs/manifest.yaml index b891b1d01..2e70e52f5 100644 --- a/src/langbot/pkg/platform/adapters/wecomcs/manifest.yaml +++ b/src/langbot/pkg/platform/adapters/wecomcs/manifest.yaml @@ -4,13 +4,13 @@ kind: MessagePlatformAdapter metadata: name: wecomcs-eba label: - en_US: WeCom Customer Service (EBA) - zh_Hans: 企业微信客服 (EBA) - zh_Hant: 企業微信客服 (EBA) + en_US: WeCom Customer Service + zh_Hans: 企业微信客服 + zh_Hant: 企業微信客服 description: - en_US: WeCom Customer Service adapter with Event-Based Agents support - zh_Hans: 企业微信客服适配器(EBA 架构版本),通过统一 Webhook 接收客服会话消息 - zh_Hant: 企業微信客服適配器(EBA 架構版本),透過統一 Webhook 接收客服會話訊息 + en_US: WeCom Customer Service adapter with event-driven orchestration support + zh_Hans: 企业微信客服适配器,支持事件驱动编排,通过统一 Webhook 接收客服会话消息 + zh_Hant: 企業微信客服適配器,支援事件驅動編排,透過統一 Webhook 接收客服會話訊息 icon: wecom.png spec: diff --git a/web/src/app/home/bots/components/bot-form/BotForm.tsx b/web/src/app/home/bots/components/bot-form/BotForm.tsx index cd864bd52..7d7b72dc7 100644 --- a/web/src/app/home/bots/components/bot-form/BotForm.tsx +++ b/web/src/app/home/bots/components/bot-form/BotForm.tsx @@ -138,9 +138,9 @@ export default function BotForm({ const currentAdapter = form.watch('adapter'); const currentAdapterConfig = form.watch('adapter_config'); - // Group adapters by category for the Select dropdown. Legacy adapters - // (those superseded by an EBA implementation) are split out and shown in a - // collapsed group at the bottom so they're de-emphasized but still usable. + // Group adapters by category for the Select dropdown. Legacy adapters are + // split out and shown in a collapsed group at the bottom so they're + // de-emphasized but still usable for existing configurations. const activeAdapters = useMemo( () => adapterNameList.filter((a) => !a.legacy), [adapterNameList], @@ -490,19 +490,32 @@ export default function BotForm({ }} value={field.value} > - + {field.value ? ( -
+
- - {adapterNameList.find( + {(() => { + const selectedAdapter = adapterNameList.find( (a) => a.value === field.value, - )?.label ?? field.value} - + ); + + return ( + <> + + {selectedAdapter?.label ?? field.value} + + {selectedAdapter?.legacy && ( + + {t('bots.legacyAdapterBadge')} + + )} + + ); + })()}
) : ( -
+
- {item.label} + + {item.label} +
))} @@ -578,15 +593,20 @@ export default function BotForm({ key={`legacy:${item.value}`} value={item.value} > -
+
- {item.label} + + {item.label} + + + {t('bots.legacyAdapterBadge')} +
))} diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts index bf7d84bf9..cd889f91e 100644 --- a/web/src/i18n/locales/en-US.ts +++ b/web/src/i18n/locales/en-US.ts @@ -340,8 +340,9 @@ const enUS = { platformAdapter: 'Platform/Adapter Selection', selectAdapter: 'Select Adapter', legacyAdapters: 'Legacy adapters', + legacyAdapterBadge: 'Legacy', legacyAdaptersHint: - 'These adapters are superseded by their newer (EBA) versions. They are kept only for existing configurations and are not recommended for new bots.', + 'These adapters have newer event-driven counterparts. They are kept only for existing configurations and are not recommended for new bots.', adapterConfig: 'Adapter Configuration', viewAdapterDocs: 'View Docs', bindPipeline: 'Bind Pipeline', @@ -535,7 +536,7 @@ const enUS = { selectFromSidebar: 'Select an Agent or Pipeline from the sidebar', agentOrchestration: 'Agent Orchestration', agentOrchestrationDescription: - 'Event-first handling logic for messages, group members, friends, feedback, and other EBA events.', + 'Event-first handling logic for messages, group members, friends, feedback, and other platform events.', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'Pipeline', @@ -543,7 +544,7 @@ const enUS = { groupByKindShort: 'Group', pipelineTypeDescription: 'Keep the existing no-code message pipeline for backward compatibility. It only handles message events.', - allEvents: 'Supports all EBA events', + allEvents: 'Supports all events', messageEventsOnly: 'Message events only', basicInfo: 'Basic Information', basicInfoDescription: 'Set the name, icon, description and enabled state', diff --git a/web/src/i18n/locales/es-ES.ts b/web/src/i18n/locales/es-ES.ts index 90d43c0e8..db4830f27 100644 --- a/web/src/i18n/locales/es-ES.ts +++ b/web/src/i18n/locales/es-ES.ts @@ -350,6 +350,10 @@ const esES = { deleteConfirmation: '¿Estás seguro de que deseas eliminar este Bot?', platformAdapter: 'Selección de plataforma/adaptador', selectAdapter: 'Seleccionar adaptador', + legacyAdapters: 'Adaptadores heredados', + legacyAdapterBadge: 'Heredado', + legacyAdaptersHint: + 'Estos adaptadores tienen versiones nuevas orientadas a eventos. Se mantienen solo para configuraciones existentes y no se recomiendan para Bots nuevos.', adapterConfig: 'Configuración del adaptador', viewAdapterDocs: 'Ver documentación', bindPipeline: 'Vincular Pipeline', @@ -486,7 +490,7 @@ const esES = { selectFromSidebar: 'Selecciona un Agent o Pipeline desde la barra lateral', agentOrchestration: 'Orquestación de Agent', agentOrchestrationDescription: - 'Lógica de procesamiento orientada a eventos EBA para mensajes, miembros de grupo, amigos, retroalimentación y otros eventos.', + 'Lógica de procesamiento orientada a eventos para mensajes, miembros de grupo, amigos, retroalimentación y otros eventos de plataforma.', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'Pipeline', @@ -494,7 +498,7 @@ const esES = { groupByKindShort: 'Agrupar', pipelineTypeDescription: 'Mantiene el pipeline de mensajes sin código para compatibilidad con versiones anteriores. Solo procesa eventos de mensaje.', - allEvents: 'Compatible con todos los eventos EBA', + allEvents: 'Compatible con todos los eventos', messageEventsOnly: 'Solo eventos de mensaje', basicInfo: 'Información básica', basicInfoDescription: diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts index ee81fe276..e6d601cec 100644 --- a/web/src/i18n/locales/ja-JP.ts +++ b/web/src/i18n/locales/ja-JP.ts @@ -345,6 +345,10 @@ const jaJP = { deleteConfirmation: '本当にこのボットを削除しますか?', platformAdapter: 'プラットフォーム/アダプター選択', selectAdapter: 'アダプターを選択', + legacyAdapters: '旧式アダプター', + legacyAdapterBadge: '旧式', + legacyAdaptersHint: + 'これらのアダプターには新しいイベント駆動の接続方式があります。既存設定との互換性のために残しており、新規ボットには推奨されません。', adapterConfig: 'アダプター設定', viewAdapterDocs: 'ドキュメントを見る', bindPipeline: 'パイプラインを紐付け', @@ -519,7 +523,7 @@ const jaJP = { 'サイドバーから Agent または Pipeline を選択してください', agentOrchestration: 'Agent 編成', agentOrchestrationDescription: - 'メッセージ、グループメンバー、友だち、フィードバックなどの EBA イベント向けの処理ロジックです。', + 'メッセージ、グループメンバー、友だち、フィードバックなどのプラットフォームイベント向けの処理ロジックです。', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'パイプライン', @@ -527,7 +531,7 @@ const jaJP = { groupByKindShort: 'グループ', pipelineTypeDescription: '既存のノーコードメッセージ Pipeline を互換性のため保持します。メッセージイベントのみ処理できます。', - allEvents: 'すべての EBA イベントに対応', + allEvents: 'すべてのイベントに対応', messageEventsOnly: 'メッセージイベントのみ', basicInfo: '基本情報', basicInfoDescription: '名前、アイコン、説明、有効状態を設定します', diff --git a/web/src/i18n/locales/ru-RU.ts b/web/src/i18n/locales/ru-RU.ts index 8ef18cb87..bd7aef80b 100644 --- a/web/src/i18n/locales/ru-RU.ts +++ b/web/src/i18n/locales/ru-RU.ts @@ -349,6 +349,10 @@ const ruRU = { deleteConfirmation: 'Вы уверены, что хотите удалить этого бота?', platformAdapter: 'Выбор платформы/адаптера', selectAdapter: 'Выберите адаптер', + legacyAdapters: 'Устаревшие адаптеры', + legacyAdapterBadge: 'Устаревший', + legacyAdaptersHint: + 'У этих адаптеров есть новые событийные версии. Они сохранены только для существующих конфигураций и не рекомендуются для новых ботов.', adapterConfig: 'Настройка адаптера', viewAdapterDocs: 'Документация', bindPipeline: 'Привязать конвейер', @@ -484,7 +488,7 @@ const ruRU = { selectFromSidebar: 'Выберите Agent или Pipeline на боковой панели', agentOrchestration: 'Оркестровка Agent', agentOrchestrationDescription: - 'Логика обработки событий EBA для сообщений, участников групп, друзей, обратной связи и других событий.', + 'Логика обработки сообщений, участников групп, друзей, обратной связи и других событий платформы.', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'Pipeline', @@ -492,7 +496,7 @@ const ruRU = { groupByKindShort: 'Группа', pipelineTypeDescription: 'Сохраняет существующий no-code конвейер сообщений для обратной совместимости. Обрабатывает только события сообщений.', - allEvents: 'Поддерживает все события EBA', + allEvents: 'Поддерживает все события', messageEventsOnly: 'Только события сообщений', basicInfo: 'Основная информация', basicInfoDescription: 'Задайте имя, иконку, описание и статус активации', diff --git a/web/src/i18n/locales/th-TH.ts b/web/src/i18n/locales/th-TH.ts index 667806ad4..d5ae07dd1 100644 --- a/web/src/i18n/locales/th-TH.ts +++ b/web/src/i18n/locales/th-TH.ts @@ -335,6 +335,10 @@ const thTH = { deleteConfirmation: 'คุณแน่ใจหรือไม่ว่าต้องการลบ Bot นี้?', platformAdapter: 'การเลือกแพลตฟอร์ม/อะแดปเตอร์', selectAdapter: 'เลือกอะแดปเตอร์', + legacyAdapters: 'อะแดปเตอร์รุ่นเก่า', + legacyAdapterBadge: 'เก่า', + legacyAdaptersHint: + 'อะแดปเตอร์เหล่านี้มีรุ่นใหม่แบบขับเคลื่อนด้วยเหตุการณ์แล้ว และเก็บไว้เพื่อความเข้ากันได้กับการตั้งค่าเดิมเท่านั้น ไม่แนะนำสำหรับ Bot ใหม่', adapterConfig: 'การกำหนดค่าอะแดปเตอร์', viewAdapterDocs: 'ดูเอกสาร', bindPipeline: 'ผูก Pipeline', @@ -470,7 +474,7 @@ const thTH = { selectFromSidebar: 'เลือก Agent หรือ Pipeline จากแถบด้านข้าง', agentOrchestration: 'การประสาน Agent', agentOrchestrationDescription: - 'ตรรกะการประมวลผลที่เน้นเหตุการณ์ EBA สำหรับข้อความ สมาชิกกลุ่ม เพื่อน ฟีดแบ็ก และเหตุการณ์อื่นๆ', + 'ตรรกะการประมวลผลที่เน้นเหตุการณ์สำหรับข้อความ สมาชิกกลุ่ม เพื่อน ฟีดแบ็ก และเหตุการณ์แพลตฟอร์มอื่นๆ', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'Pipeline', @@ -478,7 +482,7 @@ const thTH = { groupByKindShort: 'จัดกลุ่ม', pipelineTypeDescription: 'คงไว้ซึ่ง pipeline ข้อความแบบไม่ต้องเขียนโค้ดเพื่อความเข้ากันได้ย้อนหลัง รองรับเฉพาะเหตุการณ์ข้อความ', - allEvents: 'รองรับทุกเหตุการณ์ EBA', + allEvents: 'รองรับทุกเหตุการณ์', messageEventsOnly: 'เฉพาะเหตุการณ์ข้อความ', basicInfo: 'ข้อมูลพื้นฐาน', basicInfoDescription: 'ตั้งชื่อ ไอคอน คำอธิบาย และสถานะการเปิดใช้งาน', diff --git a/web/src/i18n/locales/vi-VN.ts b/web/src/i18n/locales/vi-VN.ts index 27dd901d3..4f90b89fe 100644 --- a/web/src/i18n/locales/vi-VN.ts +++ b/web/src/i18n/locales/vi-VN.ts @@ -345,6 +345,10 @@ const viVN = { deleteConfirmation: 'Bạn có chắc chắn muốn xóa Bot này không?', platformAdapter: 'Nền tảng/Lựa chọn Adapter', selectAdapter: 'Chọn Adapter', + legacyAdapters: 'Adapter cũ', + legacyAdapterBadge: 'Cũ', + legacyAdaptersHint: + 'Các adapter này đã có phiên bản hướng sự kiện mới hơn. Chúng chỉ được giữ lại để tương thích với cấu hình hiện có và không được khuyến nghị cho Bot mới.', adapterConfig: 'Cấu hình Adapter', viewAdapterDocs: 'Xem tài liệu', bindPipeline: 'Liên kết Pipeline', @@ -480,7 +484,7 @@ const viVN = { selectFromSidebar: 'Chọn một Agent hoặc Pipeline từ thanh bên', agentOrchestration: 'Dàn dựng Agent', agentOrchestrationDescription: - 'Logic xử lý hướng sự kiện cho tin nhắn, thành viên nhóm, bạn bè, phản hồi và các sự kiện EBA khác.', + 'Logic xử lý hướng sự kiện cho tin nhắn, thành viên nhóm, bạn bè, phản hồi và các sự kiện nền tảng khác.', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: 'Pipeline', @@ -488,7 +492,7 @@ const viVN = { groupByKindShort: 'Nhóm', pipelineTypeDescription: 'Giữ lại pipeline tin nhắn không cần mã hiện có để tương thích ngược. Chỉ xử lý sự kiện tin nhắn.', - allEvents: 'Hỗ trợ tất cả sự kiện EBA', + allEvents: 'Hỗ trợ tất cả sự kiện', messageEventsOnly: 'Chỉ sự kiện tin nhắn', basicInfo: 'Thông tin cơ bản', basicInfoDescription: 'Đặt tên, biểu tượng, mô tả và trạng thái kích hoạt', diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index cb23df0dc..6d3a1e1ee 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -325,8 +325,9 @@ const zhHans = { platformAdapter: '平台/适配器选择', selectAdapter: '选择适配器', legacyAdapters: '旧版适配器', + legacyAdapterBadge: '过时', legacyAdaptersHint: - '这些适配器已被新版(EBA 架构)取代,仅为兼容存量配置保留,不建议新建机器人时使用。', + '这些适配器已有对应的事件驱动接入版本,仅为兼容存量配置保留,不建议新建机器人时使用。', adapterConfig: '适配器配置', viewAdapterDocs: '查看文档', bindPipeline: '绑定流水线', @@ -514,7 +515,7 @@ const zhHans = { selectFromSidebar: '从侧边栏选择一个 Agent 或 Pipeline', agentOrchestration: 'Agent 编排', agentOrchestrationDescription: - '面向 EBA 事件的处理逻辑,可用于消息、群成员、好友、反馈等事件。', + '面向平台事件的处理逻辑,可用于消息、群成员、好友、反馈等事件。', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: '流水线', @@ -522,7 +523,7 @@ const zhHans = { groupByKindShort: '分组', pipelineTypeDescription: '保留现有无代码消息流水线,兼容旧配置,只能处理消息事件。', - allEvents: '支持全部 EBA 事件', + allEvents: '支持全部事件', messageEventsOnly: '仅支持消息事件', basicInfo: '基础信息', basicInfoDescription: '设置名称、图标、描述和启用状态', diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts index 9a23468ca..e136c0036 100644 --- a/web/src/i18n/locales/zh-Hant.ts +++ b/web/src/i18n/locales/zh-Hant.ts @@ -324,6 +324,10 @@ const zhHant = { deleteConfirmation: '您確定要刪除這個機器人嗎?', platformAdapter: '平台/適配器選擇', selectAdapter: '選擇適配器', + legacyAdapters: '舊版適配器', + legacyAdapterBadge: '過時', + legacyAdaptersHint: + '這些適配器已有對應的事件驅動接入版本,僅為相容既有設定保留,不建議新建機器人時使用。', adapterConfig: '適配器設定', viewAdapterDocs: '查看文檔', bindPipeline: '綁定流程線', @@ -454,7 +458,7 @@ const zhHant = { selectFromSidebar: '從側邊欄選擇一個 Agent 或 Pipeline', agentOrchestration: 'Agent 編排', agentOrchestrationDescription: - '面向 EBA 事件的處理邏輯,可用於訊息、群成員、好友、回饋等事件。', + '面向平台事件的處理邏輯,可用於訊息、群成員、好友、回饋等事件。', pipelineType: 'Pipeline', kindBadgeAgent: 'Agent', kindBadgePipeline: '流水線', @@ -462,7 +466,7 @@ const zhHant = { groupByKindShort: '分組', pipelineTypeDescription: '保留現有無程式碼訊息流水線,相容舊設定,只能處理訊息事件。', - allEvents: '支援全部 EBA 事件', + allEvents: '支援全部事件', messageEventsOnly: '僅支援訊息事件', basicInfo: '基本資訊', basicInfoDescription: '設定名稱、圖示、描述和啟用狀態',