mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 21:58:00 +08:00
feat: align trigger usage text and add tooltips
This commit is contained in:
parent
494f6b06e1
commit
6430e014b0
@ -129,6 +129,7 @@ const PlanComp: FC<Props> = ({
|
|||||||
usage={usage.triggerEvents}
|
usage={usage.triggerEvents}
|
||||||
total={total.triggerEvents}
|
total={total.triggerEvents}
|
||||||
unit={triggerEventUnit}
|
unit={triggerEventUnit}
|
||||||
|
tooltip={t('billing.plansCommon.triggerEvents.tooltip') as string}
|
||||||
/>
|
/>
|
||||||
<UsageInfo
|
<UsageInfo
|
||||||
Icon={RiSpeedLine}
|
Icon={RiSpeedLine}
|
||||||
|
|||||||
@ -64,6 +64,7 @@ const List = ({
|
|||||||
? t('billing.plansCommon.triggerEvents.sandbox', { count: planInfo.triggerEvents })
|
? t('billing.plansCommon.triggerEvents.sandbox', { count: planInfo.triggerEvents })
|
||||||
: t('billing.plansCommon.triggerEvents.professional', { count: planInfo.triggerEvents })
|
: t('billing.plansCommon.triggerEvents.professional', { count: planInfo.triggerEvents })
|
||||||
}
|
}
|
||||||
|
tooltip={t('billing.plansCommon.triggerEvents.tooltip') as string}
|
||||||
/>
|
/>
|
||||||
<Item
|
<Item
|
||||||
label={
|
label={
|
||||||
@ -73,6 +74,7 @@ const List = ({
|
|||||||
? t('billing.plansCommon.workflowExecution.faster')
|
? t('billing.plansCommon.workflowExecution.faster')
|
||||||
: t('billing.plansCommon.workflowExecution.priority')
|
: t('billing.plansCommon.workflowExecution.priority')
|
||||||
}
|
}
|
||||||
|
tooltip={t('billing.plansCommon.workflowExecution.tooltip') as string}
|
||||||
/>
|
/>
|
||||||
<Item
|
<Item
|
||||||
label={
|
label={
|
||||||
|
|||||||
@ -78,11 +78,13 @@ const translation = {
|
|||||||
sandbox: '{{count,number}} Trigger Events',
|
sandbox: '{{count,number}} Trigger Events',
|
||||||
professional: '{{count,number}} Trigger Events/month',
|
professional: '{{count,number}} Trigger Events/month',
|
||||||
unlimited: 'Unlimited Trigger Events',
|
unlimited: 'Unlimited Trigger Events',
|
||||||
|
tooltip: 'The number of events that automatically start workflows through Plugin, Schedule, or Webhook triggers.',
|
||||||
},
|
},
|
||||||
workflowExecution: {
|
workflowExecution: {
|
||||||
standard: 'Standard Workflow Execution',
|
standard: 'Standard Workflow Execution',
|
||||||
faster: 'Faster Workflow Execution',
|
faster: 'Faster Workflow Execution',
|
||||||
priority: 'Priority Workflow Execution',
|
priority: 'Priority Workflow Execution',
|
||||||
|
tooltip: 'Workflow execution queue priority and speed.',
|
||||||
},
|
},
|
||||||
startNodes: {
|
startNodes: {
|
||||||
limited: 'Up to {{count}} Start Nodes per Workflow',
|
limited: 'Up to {{count}} Start Nodes per Workflow',
|
||||||
|
|||||||
@ -7,7 +7,7 @@ const translation = {
|
|||||||
documentsUploadQuota: 'ドキュメント・アップロード・クォータ',
|
documentsUploadQuota: 'ドキュメント・アップロード・クォータ',
|
||||||
vectorSpace: 'ナレッジベースのデータストレージ',
|
vectorSpace: 'ナレッジベースのデータストレージ',
|
||||||
vectorSpaceTooltip: '高品質インデックスモードのドキュメントは、ナレッジベースのデータストレージのリソースを消費します。ナレッジベースのデータストレージの上限に達すると、新しいドキュメントはアップロードされません。',
|
vectorSpaceTooltip: '高品質インデックスモードのドキュメントは、ナレッジベースのデータストレージのリソースを消費します。ナレッジベースのデータストレージの上限に達すると、新しいドキュメントはアップロードされません。',
|
||||||
triggerEvents: 'トリガーイベント',
|
triggerEvents: 'トリガーイベント数',
|
||||||
perMonth: '月あたり',
|
perMonth: '月あたり',
|
||||||
},
|
},
|
||||||
upgradeBtn: {
|
upgradeBtn: {
|
||||||
@ -72,6 +72,22 @@ const translation = {
|
|||||||
'priority': '優先',
|
'priority': '優先',
|
||||||
'top-priority': '最優先',
|
'top-priority': '最優先',
|
||||||
},
|
},
|
||||||
|
triggerEvents: {
|
||||||
|
sandbox: '{{count,number}}のトリガーイベント数',
|
||||||
|
professional: '{{count,number}}のトリガーイベント数/月',
|
||||||
|
unlimited: '無制限のトリガーイベント数',
|
||||||
|
tooltip: 'プラグイントリガー、タイマートリガー、または Webhook トリガーによって自動的にワークフローを起動するイベントの回数です。',
|
||||||
|
},
|
||||||
|
workflowExecution: {
|
||||||
|
standard: '標準ワークフロー実行キュー',
|
||||||
|
faster: '高速ワークフロー実行キュー',
|
||||||
|
priority: '優先度の高いワークフロー実行キュー',
|
||||||
|
tooltip: 'ワークフローの実行キューの優先度と実行速度。',
|
||||||
|
},
|
||||||
|
startNodes: {
|
||||||
|
limited: '各ワークフローにつき、開始ノードは最大{{count}}つまで設定可能',
|
||||||
|
unlimited: '各ワークフローの開始ノード数は無制限',
|
||||||
|
},
|
||||||
logsHistory: '{{days}}のログ履歴',
|
logsHistory: '{{days}}のログ履歴',
|
||||||
customTools: 'カスタムツール',
|
customTools: 'カスタムツール',
|
||||||
unavailable: '利用不可',
|
unavailable: '利用不可',
|
||||||
|
|||||||
@ -7,7 +7,7 @@ const translation = {
|
|||||||
documentsUploadQuota: '文档上传配额',
|
documentsUploadQuota: '文档上传配额',
|
||||||
vectorSpace: '知识库数据存储空间',
|
vectorSpace: '知识库数据存储空间',
|
||||||
vectorSpaceTooltip: '采用高质量索引模式的文档会消耗知识数据存储资源。当知识数据存储达到限制时,将不会上传新文档。',
|
vectorSpaceTooltip: '采用高质量索引模式的文档会消耗知识数据存储资源。当知识数据存储达到限制时,将不会上传新文档。',
|
||||||
triggerEvents: '触发事件',
|
triggerEvents: '触发器事件数',
|
||||||
perMonth: '每月',
|
perMonth: '每月',
|
||||||
},
|
},
|
||||||
upgradeBtn: {
|
upgradeBtn: {
|
||||||
@ -74,18 +74,20 @@ const translation = {
|
|||||||
'top-priority': '最高优先级',
|
'top-priority': '最高优先级',
|
||||||
},
|
},
|
||||||
triggerEvents: {
|
triggerEvents: {
|
||||||
sandbox: '{{count,number}} 触发事件',
|
sandbox: '{{count,number}} 触发器事件数',
|
||||||
professional: '{{count,number}} 触发事件/月',
|
professional: '{{count,number}} 触发器事件数/月',
|
||||||
unlimited: '无限制触发事件',
|
unlimited: '无限制触发器事件数',
|
||||||
|
tooltip: '指通过插件触发、定时触发或 Webhook 触发自动启动工作流的事件次数。',
|
||||||
},
|
},
|
||||||
workflowExecution: {
|
workflowExecution: {
|
||||||
standard: '标准工作流执行',
|
standard: '标准工作流执行队列',
|
||||||
faster: '更快的工作流执行',
|
faster: '快速工作流执行队列',
|
||||||
priority: '优先工作流执行',
|
priority: '高优先级工作流执行队列',
|
||||||
|
tooltip: '工作流的执行队列优先级与运行速度。',
|
||||||
},
|
},
|
||||||
startNodes: {
|
startNodes: {
|
||||||
limited: '每个工作流最多 {{count}} 个起始节点',
|
limited: '最多 {{count}} 个起始节点(每个工作流)',
|
||||||
unlimited: '每个工作流无限制起始节点',
|
unlimited: '无限制的起始节点(每个工作流)',
|
||||||
},
|
},
|
||||||
logsHistory: '{{days}}日志历史',
|
logsHistory: '{{days}}日志历史',
|
||||||
customTools: '自定义工具',
|
customTools: '自定义工具',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user