From 25ebcdc622601b177ee9be434b2473fd9a732657 Mon Sep 17 00:00:00 2001 From: yuzhiran-dev Date: Mon, 25 May 2026 11:07:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B2=99=E7=9B=92=E9=A1=B5=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E6=8D=A2=E8=A1=8C=20+=20Logo=20=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 沙盒页标题/副标题添加 truncate 防止英文换行 - Logo 使用 t.brand.name/suffix 实现中英切换(宇之然/Yuzhiran) - 新增 brand 翻译键(zh: 宇之然, en: Yuzhiran) --- frontend/src/app/sandbox/page.tsx | 14 +++++++------- frontend/src/components/layout/header.tsx | 6 +++--- frontend/src/i18n/locales/en.ts | 1 + frontend/src/i18n/locales/zh.ts | 1 + 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/sandbox/page.tsx b/frontend/src/app/sandbox/page.tsx index 6e96623..44dcf6c 100644 --- a/frontend/src/app/sandbox/page.tsx +++ b/frontend/src/app/sandbox/page.tsx @@ -306,20 +306,20 @@ function SandboxPage() { return (
-
-
+
+
-
-

{t.sandbox.title}

-

{t.sandbox.subtitle}

+
+

{t.sandbox.title}

+

{t.sandbox.subtitle}

-
+
{!isLoggedIn && (
- - 宇之然 - AI + + {t.brand.name} + {t.brand.suffix}