From dad9d2047d1e89e162e24af83f378cd2018e0c4d Mon Sep 17 00:00:00 2001 From: yoge Date: Fri, 27 Mar 2026 01:46:39 +0800 Subject: [PATCH] feat: add i18n keys for history toggle and email verification --- src/lib/translations.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/translations.ts b/src/lib/translations.ts index 19f361b..7589995 100644 --- a/src/lib/translations.ts +++ b/src/lib/translations.ts @@ -35,6 +35,8 @@ export const translations = { noHistory: 'No history records', noMore: 'No more records', historyHeader: 'History', + historyToggle: 'Show History', + historyLoginRequired: 'Login to enable history', }, uploadModal: { title: 'Upload File', @@ -72,6 +74,14 @@ export const translations = { oauthExchanging: 'Completing Google sign-in...', invalidOAuthState: 'Invalid OAuth state, please retry.', oauthFailed: 'Google sign-in failed, please retry.', + sendCode: 'Send Code', + resendCode: 'Resend', + codeSent: 'Code sent', + verificationCode: 'Verification Code', + verificationCodePlaceholder: 'Enter 6-digit code', + verificationCodeRequired: 'Please enter the verification code.', + verificationCodeHint: 'Check your inbox for the 6-digit code.', + sendCodeFailed: 'Failed to send verification code, please retry.', }, export: { title: 'Export', @@ -205,6 +215,8 @@ export const translations = { noHistory: '暂无历史记录', noMore: '没有更多记录了', historyHeader: '历史记录', + historyToggle: '显示历史', + historyLoginRequired: '登录后开启历史记录', }, uploadModal: { title: '上传文件', @@ -242,6 +254,14 @@ export const translations = { oauthExchanging: '正在完成 Google 登录...', invalidOAuthState: 'OAuth 状态校验失败,请重试', oauthFailed: 'Google 登录失败,请重试', + sendCode: '发送验证码', + resendCode: '重新发送', + codeSent: '验证码已发送', + verificationCode: '验证码', + verificationCodePlaceholder: '请输入 6 位验证码', + verificationCodeRequired: '请输入验证码。', + verificationCodeHint: '请查收邮箱中的 6 位验证码。', + sendCodeFailed: '发送验证码失败,请重试。', }, export: { title: '导出',