From ad4bd496977885923634db11e28161ea5a5d9a75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=9D=B0?= <467021072@qq.com> Date: Sun, 19 Oct 2025 20:35:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E5=AD=97=E5=92=8Clo?= =?UTF-8?q?go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/real-browser-flicker.test.tsx | 2 +- .../develop/template/template.zh.mdx | 4 ++-- .../web/hooks/use-document-title.spec.ts | 2 +- dify_1.9.0/web/hooks/use-document-title.ts | 2 +- dify_1.9.0/web/public/_offline.html | 2 +- .../public/logo/logo-embedded-chat-avatar.png | Bin 3827 -> 47821 bytes .../public/logo/logo-embedded-chat-header.png | Bin 2009 -> 47821 bytes .../logo/logo-embedded-chat-header@2x.png | Bin 5156 -> 47821 bytes .../logo/logo-embedded-chat-header@3x.png | Bin 9178 -> 47821 bytes .../web/public/logo/logo-monochrome-white.svg | 10 ++-------- dify_1.9.0/web/public/logo/logo-site-dark.png | Bin 2568 -> 47821 bytes dify_1.9.0/web/public/logo/logo-site.png | Bin 1214 -> 47821 bytes dify_1.9.0/web/public/logo/logo.svg | 8 ++------ dify_1.9.0/web/public/manifest.json | 4 ++-- 14 files changed, 12 insertions(+), 22 deletions(-) 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