From 792d961d2838d41857d5abbe6b29edf575dc4bc6 Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Tue, 25 Aug 2026 21:53:06 +0800 Subject: [PATCH] fix(web): clarify route test guidance --- web/src/i18n/locales/en-US.ts | 2 +- web/src/i18n/locales/ja-JP.ts | 2 +- web/src/i18n/locales/zh-Hans.ts | 2 +- web/tests/e2e/crud-smoke.spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts index 05e8ddb5a..ba0688800 100644 --- a/web/src/i18n/locales/en-US.ts +++ b/web/src/i18n/locales/en-US.ts @@ -478,7 +478,7 @@ const enUS = { 'The processor and tools will run, but replies will not be sent to messaging platforms.', dryRunTitle: 'Test route', dryRunDescription: - 'Preview the match first. Run the saved configuration only when you need to test the processor.', + 'Choose an event to see which processor handles it, or run a test.', dryRunEventType: 'Event type', dryRunSampleReady: 'Sample event is ready', dryRunSampleDescription: diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts index 69094bacd..f90fd0ce0 100644 --- a/web/src/i18n/locales/ja-JP.ts +++ b/web/src/i18n/locales/ja-JP.ts @@ -486,7 +486,7 @@ const jaJP = { 'プロセッサーとツールは実行されますが、返信はメッセージプラットフォームへ送信されません。', dryRunTitle: 'ルートをテスト', dryRunDescription: - 'まず一致結果を確認し、必要な場合のみ保存済み設定を実行します。', + 'イベントを選び、処理先を確認するか、テストを実行します。', dryRunEventType: 'イベントタイプ', dryRunSampleReady: 'サンプルイベントを準備しました', dryRunSampleDescription: diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index 03aaf5ced..af14bd267 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -454,7 +454,7 @@ const zhHans = { routeTestSideEffectWarning: '测试会运行处理器和工具,但不会把回复发送到微信、QQ 等聊天平台。', dryRunTitle: '测试路由', - dryRunDescription: '先预览匹配结果;需要验证处理器时,再运行已保存配置。', + dryRunDescription: '选择事件,查看它会交给哪个处理器,或运行一次测试。', dryRunEventType: '事件类型', dryRunSampleReady: '示例事件已准备好', dryRunSampleDescription: diff --git a/web/tests/e2e/crud-smoke.spec.ts b/web/tests/e2e/crud-smoke.spec.ts index ae96ece16..9e434f3c8 100644 --- a/web/tests/e2e/crud-smoke.spec.ts +++ b/web/tests/e2e/crud-smoke.spec.ts @@ -386,7 +386,7 @@ test.describe('bot advanced flows', () => { ).toBeVisible(); await expect( routeDialog.getByText( - 'Preview the match first. Run the saved configuration only when you need to test the processor.', + 'Choose an event to see which processor handles it, or run a test.', ), ).toBeVisible(); await expect(routeDialog.getByText('Sample event is ready')).toHaveCount(0);