feat(agent-platform): explain route conflicts and fallback

This commit is contained in:
huanghuoguoguo
2026-07-11 10:59:58 +08:00
parent bda0e68644
commit f15f004680
6 changed files with 242 additions and 45 deletions
+8
View File
@@ -391,6 +391,14 @@ const enUS = {
adapterEventsMore: '{{count}} more',
advancedEventValues: 'Advanced event values',
eventGroup: 'Group',
routeConflictTitle: 'Some routes overlap',
routeConflictShadowed:
'{{shadowed}} may never run because {{winner}} handles the same events first.',
routeConflictMore: '{{count}} more route conflicts need attention.',
routeFallbackCatchAll:
'{{route}} is the catch-all route. Routes with higher priority run first.',
routeFallbackIgnored:
'Events that match no route are ignored. Add a catch-all route only when every event needs an explicit outcome.',
testRoute: 'Test route',
refreshRouteStatus: 'Refresh status',
routeStatusIdle: 'No run yet',
+8
View File
@@ -398,6 +398,14 @@ const jaJP = {
adapterEventsMore: 'ほか {{count}} 件',
advancedEventValues: '高度なイベント値',
eventGroup: 'グループ',
routeConflictTitle: '一部のルートが重複しています',
routeConflictShadowed:
'{{winner}} が同じイベントを先に処理するため、{{shadowed}} は実行されない可能性があります。',
routeConflictMore: 'ほか {{count}} 件のルート競合を確認してください。',
routeFallbackCatchAll:
'{{route}} はすべてのイベントを受けるフォールバックです。優先度の高いルートが先に実行されます。',
routeFallbackIgnored:
'どのルートにも一致しないイベントは無視されます。すべてのイベントに明示的な結果が必要な場合のみ、フォールバックを追加してください。',
testRoute: 'ルートをテスト',
refreshRouteStatus: '状態を更新',
routeStatusIdle: '実行記録なし',
+8
View File
@@ -376,6 +376,14 @@ const zhHans = {
adapterEventsMore: '另有 {{count}} 类',
advancedEventValues: '高级事件值',
eventGroup: '事件组',
routeConflictTitle: '部分路由存在覆盖冲突',
routeConflictShadowed:
'{{shadowed}} 可能永远不会运行,因为 {{winner}} 会先处理相同事件。',
routeConflictMore: '另有 {{count}} 个路由冲突需要处理。',
routeFallbackCatchAll:
'{{route}} 是全局兜底路由,优先级更高的路由会先运行。',
routeFallbackIgnored:
'未命中任何路由的事件会被忽略。只有需要为每个事件指定结果时,才添加全局兜底路由。',
testRoute: '测试路由',
refreshRouteStatus: '刷新状态',
routeStatusIdle: '暂无运行记录',