Explorar o código

fix: missing action value to `tools.includeToolNum` lang for custom t… (#15239)

Che Kun hai 1 mes
pai
achega
cfd7e8a829
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/app/components/tools/provider/detail.tsx

+ 1 - 1
web/app/components/tools/provider/detail.tsx

@@ -337,7 +337,7 @@ const ProviderDetail = ({
           {/* Custom type */}
           {!isDetailLoading && (collection.type === CollectionType.custom) && (
             <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>
           )}
           {/* Workflow type */}