feat: add i18n keys for history toggle and email verification

This commit is contained in:
2026-03-27 01:46:39 +08:00
parent b761f4ccbf
commit dad9d2047d

View File

@@ -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: '导出',