ソースを参照

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

Che Kun 1 ヶ月 前
コミット
cfd7e8a829
1 ファイル変更1 行追加1 行削除
  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 */}