feat: align trigger usage text and add tooltips

This commit is contained in:
lyzno1 2025-11-12 16:20:01 +08:00
parent 494f6b06e1
commit 6430e014b0
No known key found for this signature in database
5 changed files with 33 additions and 10 deletions

View File

@ -129,6 +129,7 @@ const PlanComp: FC<Props> = ({
usage={usage.triggerEvents}
total={total.triggerEvents}
unit={triggerEventUnit}
tooltip={t('billing.plansCommon.triggerEvents.tooltip') as string}
/>
<UsageInfo
Icon={RiSpeedLine}

View File

@ -64,6 +64,7 @@ const List = ({
? t('billing.plansCommon.triggerEvents.sandbox', { count: planInfo.triggerEvents })
: t('billing.plansCommon.triggerEvents.professional', { count: planInfo.triggerEvents })
}
tooltip={t('billing.plansCommon.triggerEvents.tooltip') as string}
/>
<Item
label={
@ -73,6 +74,7 @@ const List = ({
? t('billing.plansCommon.workflowExecution.faster')
: t('billing.plansCommon.workflowExecution.priority')
}
tooltip={t('billing.plansCommon.workflowExecution.tooltip') as string}
/>
<Item
label={

View File

@ -78,11 +78,13 @@ const translation = {
sandbox: '{{count,number}} Trigger Events',
professional: '{{count,number}} Trigger Events/month',
unlimited: 'Unlimited Trigger Events',
tooltip: 'The number of events that automatically start workflows through Plugin, Schedule, or Webhook triggers.',
},
workflowExecution: {
standard: 'Standard Workflow Execution',
faster: 'Faster Workflow Execution',
priority: 'Priority Workflow Execution',
tooltip: 'Workflow execution queue priority and speed.',
},
startNodes: {
limited: 'Up to {{count}} Start Nodes per Workflow',

View File

@ -7,7 +7,7 @@ const translation = {
documentsUploadQuota: 'ドキュメント・アップロード・クォータ',
vectorSpace: 'ナレッジベースのデータストレージ',
vectorSpaceTooltip: '高品質インデックスモードのドキュメントは、ナレッジベースのデータストレージのリソースを消費します。ナレッジベースのデータストレージの上限に達すると、新しいドキュメントはアップロードされません。',
triggerEvents: 'トリガーイベント',
triggerEvents: 'トリガーイベント',
perMonth: '月あたり',
},
upgradeBtn: {
@ -72,6 +72,22 @@ const translation = {
'priority': '優先',
'top-priority': '最優先',
},
triggerEvents: {
sandbox: '{{count,number}}のトリガーイベント数',
professional: '{{count,number}}のトリガーイベント数/月',
unlimited: '無制限のトリガーイベント数',
tooltip: 'プラグイントリガー、タイマートリガー、または Webhook トリガーによって自動的にワークフローを起動するイベントの回数です。',
},
workflowExecution: {
standard: '標準ワークフロー実行キュー',
faster: '高速ワークフロー実行キュー',
priority: '優先度の高いワークフロー実行キュー',
tooltip: 'ワークフローの実行キューの優先度と実行速度。',
},
startNodes: {
limited: '各ワークフローにつき、開始ノードは最大{{count}}つまで設定可能',
unlimited: '各ワークフローの開始ノード数は無制限',
},
logsHistory: '{{days}}のログ履歴',
customTools: 'カスタムツール',
unavailable: '利用不可',

View File

@ -7,7 +7,7 @@ const translation = {
documentsUploadQuota: '文档上传配额',
vectorSpace: '知识库数据存储空间',
vectorSpaceTooltip: '采用高质量索引模式的文档会消耗知识数据存储资源。当知识数据存储达到限制时,将不会上传新文档。',
triggerEvents: '触发事件',
triggerEvents: '触发事件',
perMonth: '每月',
},
upgradeBtn: {
@ -74,18 +74,20 @@ const translation = {
'top-priority': '最高优先级',
},
triggerEvents: {
sandbox: '{{count,number}} 触发事件',
professional: '{{count,number}} 触发事件/月',
unlimited: '无限制触发事件',
sandbox: '{{count,number}} 触发器事件数',
professional: '{{count,number}} 触发器事件数/月',
unlimited: '无限制触发器事件数',
tooltip: '指通过插件触发、定时触发或 Webhook 触发自动启动工作流的事件次数。',
},
workflowExecution: {
standard: '标准工作流执行',
faster: '更快的工作流执行',
priority: '优先工作流执行',
standard: '标准工作流执行队列',
faster: '快速工作流执行队列',
priority: '高优先级工作流执行队列',
tooltip: '工作流的执行队列优先级与运行速度。',
},
startNodes: {
limited: '每个工作流最多 {{count}} 个起始节点',
unlimited: '每个工作流无限制起始节点',
limited: '最多 {{count}} 个起始节点(每个工作流)',
unlimited: '无限制起始节点(每个工作流)',
},
logsHistory: '{{days}}日志历史',
customTools: '自定义工具',