From b22b1f00ccbf7ab95dd1ea8b35951f9082014bc8 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Mon, 1 Jun 2026 23:32:07 +0800 Subject: [PATCH] docs(i18n): reword plugin component filter hint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the redundant "插件组件是" lead-in and mention that components extend LangBot's capabilities; mirror the wording in en-US. Co-Authored-By: Claude Opus 4.8 (1M context) --- web/src/i18n/locales/en-US.ts | 2 +- web/src/i18n/locales/zh-Hans.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts index f8053fab..0ab5c873 100644 --- a/web/src/i18n/locales/en-US.ts +++ b/web/src/i18n/locales/en-US.ts @@ -672,7 +672,7 @@ const enUS = { markAsReadFailed: 'Mark as read failed', filterByComponent: 'Plugin Component', filterByComponentHint: - 'Plugin components are the capability types a plugin provides — Tool, Command, EventListener, etc. Filter by component to show only plugins offering that capability.', + 'The capability types a plugin provides — Tool, Command, EventListener, etc. — used to extend LangBot in various ways. Filter by component to show only plugins offering that capability.', allComponents: 'All Components', componentName: { Tool: 'Tool', diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index 10d2231a..a9ac845a 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -645,7 +645,7 @@ const zhHans = { markAsReadFailed: '标记为已读失败', filterByComponent: '插件组件', filterByComponentHint: - '插件组件是插件提供的能力类型,如工具(Tool)、命令(Command)、事件监听器(EventListener)等。按组件筛选可只看提供对应能力的插件。', + '插件提供的能力类型,如工具(Tool)、命令(Command)、事件监听器(EventListener)等,用于扩展 LangBot 的各项能力。按组件筛选可只看提供对应能力的插件。', allComponents: '全部组件', componentName: { Tool: '工具',