Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix:add translation for dataset knowledge and update document title (#2396)
Benjaminc2d47cd2e1cb
diff --git a/web/app/(commonLayout)/datasets/Datasets.tsx b/web/app/(commonLayout)/datasets/Datasets.tsxindex 0bec39fe109..adaf378975f 100644--- a/web/app/(commonLayout)/datasets/Datasets.tsx+++ b/web/app/(commonLayout)/datasets/Datasets.tsx@@ -3,6 +3,7 @@import { useEffect, useRef } from 'react'import useSWRInfinite from 'swr/infinite'import { debounce } from 'lodash-es'+import { useTranslation } from 'react-i18next'import NewDatasetCard from './NewDatasetCard'import DatasetCard from './DatasetCard'import type { DataSetListResponse } from '@/models/datasets'@@ -27,8 +28,11 @@ const Datasets = ({const loadingStateRef = useRef(false)const anchorRef = useRef<HTMLAnchorElement>(null)+ const { t } = useTranslation()+useEffect(() => {loadingStateRef.current = isLoading+ document.title = `${t('dataset.knowledge')} - Dify`}, [isLoading])useEffect(() => {diff --git a/web/i18n/lang/app.en.ts b/web/i18n/lang/app.en.tsindex b4334b04be4..942841ca2f0 100644--- a/web/i18n/lang/app.en.ts+++ b/web/i18n/lang/app.en.ts@@ -1,5 +1,5 @@const translation = {- title: 'Apps',+ title: 'Studio',createApp: 'Create new App',types: {all: 'All',diff --git a/web/i18n/lang/app.pt.ts b/web/i18n/lang/app.pt.tsindex 26b3976b269..2a13511c72c 100644--- a/web/i18n/lang/app.pt.ts+++ b/web/i18n/lang/app.pt.ts@@ -1,5 +1,5 @@const translation = {- title: 'Aplicativos',+ title: 'Studio',createApp: 'Criar novo aplicativo',modes: {completion: 'Gerador de Texto',diff --git a/web/i18n/lang/app.zh.ts b/web/i18n/lang/app.zh.tsindex 1d52deb6639..ce1b6b1cf15 100644--- a/web/i18n/lang/app.zh.ts+++ b/web/i18n/lang/app.zh.ts@@ -1,5 +1,5 @@const translation = {- title: '应用',+ title: '工作室',createApp: '创建应用',types: {all: '全部',diff --git a/web/i18n/lang/dataset.pt.ts b/web/i18n/lang/dataset.pt.tsindex 3384b0ef2ab..3ca5fca1574 100644--- a/web/i18n/lang/dataset.pt.ts+++ b/web/i18n/lang/dataset.pt.ts@@ -1,4 +1,5 @@const translation = {+ knowledge: 'Wiedza',documentCount: ' documentos',wordCount: 'k palavras',appCount: ' aplicativos vinculados',diff --git a/web/i18n/lang/explore.en.ts b/web/i18n/lang/explore.en.tsindex 5af34cb37e2..330ae84b3af 100644--- a/web/i18n/lang/explore.en.ts+++ b/web/i18n/lang/explore.en.ts@@ -1,5 +1,5 @@const translation = {- title: 'My Apps',+ title: 'Explore',sidebar: {discovery: 'Discovery',chat: 'Chat',diff --git a/web/i18n/lang/explore.pt.ts b/web/i18n/lang/explore.pt.tsindex 8ccf09b4fe5..c188a8eb943 100644--- a/web/i18n/lang/explore.pt.ts+++ b/web/i18n/lang/explore.pt.ts@@ -1,5 +1,5 @@const translation = {- title: 'Minhas Aplicações',+ title: 'Badać',sidebar: {discovery: 'Descoberta',chat: 'Chat',diff --git a/web/i18n/lang/explore.zh.ts b/web/i18n/lang/explore.zh.tsindex dbc14f6e065..84a78d6ac0e 100644--- a/web/i18n/lang/explore.zh.ts+++ b/web/i18n/lang/explore.zh.ts@@ -1,5 +1,5 @@const translation = {- title: '我的应用',+ title: '探索',sidebar: {discovery: '发现',chat: '智聊',