mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix(web): declare translation namespace dependencies (#42784)
This commit is contained in:
1 parent
232f29c355
commit
5f899e428a
1671 files changed
+2509
-2031
No files matched your search
+1
-1
@@ -48,7 +48,7 @@ const EmbeddingProcess = ({
|
||||
indexingType,
|
||||
retrievalMethod,
|
||||
}: EmbeddingProcessProps) => {
|
||||
const { t } = useTranslation()
|
||||
const { t } = useTranslation(['billing', 'datasetCreation', 'datasetDocuments'])
|
||||
const deploymentEdition = useAtomValue(deploymentEditionAtom)
|
||||
const { data: plan } = useQuery(
|
||||
consoleQuery.features.get.queryOptions({
|
||||
|
||||
+6
-1
@@ -15,7 +15,12 @@ type RuleDetailProps = {
|
||||
}
|
||||
|
||||
const RuleDetail = ({ sourceData, indexingType, retrievalMethod }: RuleDetailProps) => {
|
||||
const { t } = useTranslation()
|
||||
const { t } = useTranslation([
|
||||
'dataset',
|
||||
'datasetCreation',
|
||||
'datasetDocuments',
|
||||
'datasetSettings',
|
||||
])
|
||||
|
||||
const getValue = useCallback(
|
||||
(field: string) => {
|
||||
|
||||
Reference in new issue
Block a user