diff --git a/dify_1.9.0/web/__tests__/real-browser-flicker.test.tsx b/dify_1.9.0/web/__tests__/real-browser-flicker.test.tsx index 52bdf477..17401b11 100644 --- a/dify_1.9.0/web/__tests__/real-browser-flicker.test.tsx +++ b/dify_1.9.0/web/__tests__/real-browser-flicker.test.tsx @@ -67,7 +67,7 @@ const PageComponent = () => { style={{ backgroundColor: isDark ? '#1f2937' : '#ffffff' }} >

- Dify Application + 智能体平台应用

Current Theme: {mounted ? theme : 'unknown'} diff --git a/dify_1.9.0/web/app/components/develop/template/template.zh.mdx b/dify_1.9.0/web/app/components/develop/template/template.zh.mdx index 8d85e968..b75d1430 100644 --- a/dify_1.9.0/web/app/components/develop/template/template.zh.mdx +++ b/dify_1.9.0/web/app/components/develop/template/template.zh.mdx @@ -572,7 +572,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' "tag2" ], "mode": "chat", - "author_name": "Dify" + "author_name": "智能体平台" } ``` @@ -796,7 +796,7 @@ ___ { "id": "69d48372-ad81-4c75-9c46-2ce197b4d402", "question": "What is your name?", - "answer": "I am Dify.", + "answer": "I am 智能体平台.", "hit_count": 0, "created_at": 1735625869 } diff --git a/dify_1.9.0/web/hooks/use-document-title.spec.ts b/dify_1.9.0/web/hooks/use-document-title.spec.ts index a8d3d56c..7696d95f 100644 --- a/dify_1.9.0/web/hooks/use-document-title.spec.ts +++ b/dify_1.9.0/web/hooks/use-document-title.spec.ts @@ -40,7 +40,7 @@ describe('use default branding', () => { it('document title should be Dify if not set title', () => { renderHook(() => useDocumentTitle('')) - expect(document.title).toBe('Dify') + expect(document.title).toBe('智能体平台') }) }) diff --git a/dify_1.9.0/web/hooks/use-document-title.ts b/dify_1.9.0/web/hooks/use-document-title.ts index 10a167a9..26ad1e72 100644 --- a/dify_1.9.0/web/hooks/use-document-title.ts +++ b/dify_1.9.0/web/hooks/use-document-title.ts @@ -16,7 +16,7 @@ export default function useDocumentTitle(title: string) { favicon = systemFeatures.branding.favicon } else { - titleStr = `${prefix}Dify` + titleStr = `${prefix}智能体平台` favicon = `${basePath}/favicon.ico` } } diff --git a/dify_1.9.0/web/public/_offline.html b/dify_1.9.0/web/public/_offline.html index f68a694e..ac2ebae8 100644 --- a/dify_1.9.0/web/public/_offline.html +++ b/dify_1.9.0/web/public/_offline.html @@ -3,7 +3,7 @@ - Dify - Offline + 智能体平台 - Offline