From 0fceb100e098e95c34e49caf7409ffc43f35bd63 Mon Sep 17 00:00:00 2001 From: mini Date: Sun, 19 Apr 2026 21:54:49 +0800 Subject: [PATCH] chore(i18n): consolidate PURO auth heading keys into zh.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Login and Register heading strings moved from hardcoded Chinese to auth.puroLoginTitle / puroLoginSub / puroRegisterTitle / puroRegisterSub. Landing (LandingView) and Docs (DocsView) intentionally keep hardcoded Chinese this cycle (see spec §6 note 5 — English version deferred). Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/i18n/locales/zh.ts | 7 ++++++- frontend/src/views/auth/LoginView.vue | 4 ++-- frontend/src/views/auth/RegisterView.vue | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/frontend/src/i18n/locales/zh.ts b/frontend/src/i18n/locales/zh.ts index 6f57ab3e..93a319b7 100644 --- a/frontend/src/i18n/locales/zh.ts +++ b/frontend/src/i18n/locales/zh.ts @@ -498,7 +498,12 @@ export default { invalidResetLink: '无效的重置链接', invalidResetLinkHint: '此密码重置链接无效或已过期。请重新请求一个新链接。', requestNewResetLink: '请求新的重置链接', - invalidOrExpiredToken: '密码重置链接无效或已过期。请重新请求一个新链接。' + invalidOrExpiredToken: '密码重置链接无效或已过期。请重新请求一个新链接。', + // PURO AI redesign + puroLoginTitle: '登录', + puroLoginSub: '用你的 PURO AI 账户继续', + puroRegisterTitle: '创建账户', + puroRegisterSub: '5 分钟开始用 PURO AI', }, // Dashboard diff --git a/frontend/src/views/auth/LoginView.vue b/frontend/src/views/auth/LoginView.vue index 7d2f4a75..99260615 100644 --- a/frontend/src/views/auth/LoginView.vue +++ b/frontend/src/views/auth/LoginView.vue @@ -21,8 +21,8 @@
-

登录

-

用你的 PURO AI 账户继续

+

{{ t('auth.puroLoginTitle') }}

+

{{ t('auth.puroLoginSub') }}

diff --git a/frontend/src/views/auth/RegisterView.vue b/frontend/src/views/auth/RegisterView.vue index 64b0e95d..11ed0f11 100644 --- a/frontend/src/views/auth/RegisterView.vue +++ b/frontend/src/views/auth/RegisterView.vue @@ -21,8 +21,8 @@
-

创建账户

-

5 分钟开始用 PURO AI

+

{{ t('auth.puroRegisterTitle') }}

+

{{ t('auth.puroRegisterSub') }}