fix(web): simplify route test dialog

This commit is contained in:
RockChinQ
2026-08-25 21:27:33 +08:00
parent ad6b8b3209
commit e62f8a957a
5 changed files with 109 additions and 102 deletions
+9 -10
View File
@@ -469,30 +469,29 @@ const enUS = {
runner_failed: 'The Agent runner failed while processing the event.',
delivery_failed: 'The processor finished, but delivery failed.',
},
routeTestAction: 'Run saved route',
routeTestAction: 'Run saved configuration',
routeTestRunning: 'Running…',
routeTestFailed: 'Failed to run the saved route. Try again later.',
routeTestDispatched:
'The saved route ran successfully. {{count}} platform actions were blocked.',
routeTestSideEffectWarning:
'Running the saved route executes its processor. Platform messaging actions are blocked, but tools and external services may still have side effects.',
dryRunTitle: 'Test event route',
'Platform messaging is blocked, but the processor and tools still run.',
dryRunTitle: 'Test route',
dryRunDescription:
'Preview the current form without running a processor, or run the saved route to validate the live configuration.',
'Preview the match first. Run the saved configuration only when you need to test the processor.',
dryRunEventType: 'Event type',
dryRunSampleReady: 'Sample event is ready',
dryRunSampleDescription:
'LangBot prepared example data for {{event}}. Most route tests can use it as-is.',
dryRunEditPayload: 'Edit advanced data',
dryRunHidePayload: 'Hide advanced data',
dryRunPayload: 'Advanced event data (JSON)',
dryRunPayloadHint:
'Use simple fields such as message_text, chat_type, and chat_id to test conditions.',
dryRunEditPayload: 'Test data',
dryRunHidePayload: 'Hide data',
dryRunPayload: 'Test data (JSON)',
dryRunPayloadHint: 'Use this to test message and conversation conditions.',
dryRunPayloadJsonError: 'Enter valid JSON.',
dryRunPayloadObjectError: 'Payload must be a JSON object.',
dryRunNeedsSavedBot: 'Save the bot before testing routes.',
dryRunFailed: 'Route test failed. Try again later.',
dryRunAction: 'Preview route',
dryRunAction: 'Preview match',
dryRunRunning: 'Testing…',
dryRunMatched: 'Route matched',
dryRunNotMatched: 'No route matched',