mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: missing action value to tools.includeToolNum lang for custom t… (#15239)
This commit is contained in:
@@ -337,7 +337,7 @@ const ProviderDetail = ({
|
|||||||
{/* Custom type */}
|
{/* Custom type */}
|
||||||
{!isDetailLoading && (collection.type === CollectionType.custom) && (
|
{!isDetailLoading && (collection.type === CollectionType.custom) && (
|
||||||
<div className='text-text-secondary system-sm-semibold-uppercase'>
|
<div className='text-text-secondary system-sm-semibold-uppercase'>
|
||||||
<span className=''>{t('tools.includeToolNum', { num: toolList.length }).toLocaleUpperCase()}</span>
|
<span className=''>{t('tools.includeToolNum', { num: toolList.length, action: toolList.length > 1 ? 'actions' : 'action' }).toLocaleUpperCase()}</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{/* Workflow type */}
|
{/* Workflow type */}
|
||||||
|
|||||||
Reference in New Issue
Block a user