feat: implement pending authentication actions for login, registration, and unlock flows

This commit is contained in:
shuaiplus
2026-03-15 18:32:30 +08:00
parent 171f3c5d71
commit 9820c2ed44
4 changed files with 77 additions and 40 deletions
+10
View File
@@ -229,6 +229,7 @@ const messages: Record<Locale, Record<string, string>> = {
txt_change_master_password: "Change Master Password",
txt_change_password: "Change Password",
txt_change_password_failed: "Change password failed",
txt_change_password_confirm_and_sign_out_all_devices: "Changing the master password will sign out all devices, including this web session. Continue?",
txt_checked: "Checked",
txt_choose_destination_folder: "Choose destination folder.",
txt_chrome_browser: "Chrome Browser",
@@ -248,6 +249,7 @@ const messages: Record<Locale, Record<string, string>> = {
txt_country: "Country",
txt_create: "Create",
txt_create_account: "Create Account",
txt_registering: "Creating account...",
txt_create_folder: "Create Folder",
txt_create_folder_failed: "Create folder failed",
txt_create_item_failed: "Create item failed",
@@ -380,6 +382,7 @@ const messages: Record<Locale, Record<string, string>> = {
txt_random_secret_generator: "Random Secret Generator",
txt_copied: "Copied",
txt_log_in: "Log In",
txt_logging_in: "Logging in...",
txt_log_out: "Log Out",
txt_lock: "Lock",
txt_menu: "Menu",
@@ -394,6 +397,7 @@ const messages: Record<Locale, Record<string, string>> = {
txt_manage_device_sessions_and_30_day_totp_trusted_sessions: "Manage device sessions and 30-day TOTP trusted sessions.",
txt_master_password: "Master Password",
txt_master_password_changed_please_login_again: "Master password changed. Please login again.",
txt_master_password_changed_signing_out_everywhere: "Master password changed. Signing out all devices.",
txt_master_password_is_required: "Master password is required",
txt_master_password_is_required_2: "Master password is required.",
txt_master_password_must_be_at_least_12_chars: "Master password must be at least 12 chars",
@@ -544,6 +548,7 @@ const messages: Record<Locale, Record<string, string>> = {
txt_unchecked: "Unchecked",
txt_unknown_device: "Unknown device",
txt_unlock: "Unlock",
txt_unlocking: "Unlocking...",
txt_unlock_details: "Unlock Details",
txt_unlock_failed: "Unlock failed",
txt_unlock_failed_master_password_is_incorrect: "Unlock failed. Master password is incorrect.",
@@ -762,10 +767,13 @@ const zhCNOverrides: Record<string, string> = {
txt_backup_clear_and_restore: '清空后还原',
txt_sign_out: '退出登录',
txt_log_in: '登录',
txt_logging_in: '正在登录...',
txt_log_out: '退出',
txt_create_account: '创建账户',
txt_registering: '正在注册...',
txt_back_to_login: '返回登录',
txt_unlock: '解锁',
txt_unlocking: '正在解锁...',
txt_unlock_vault: '解锁密码库',
txt_master_password: '主密码',
txt_email: '邮箱',
@@ -845,6 +853,7 @@ const zhCNOverrides: Record<string, string> = {
txt_current_password: '当前密码',
txt_new_password: '新密码',
txt_change_password: '修改密码',
txt_change_password_confirm_and_sign_out_all_devices: '修改主密码后会强制退出所有设备,包括当前网页端。确认继续吗',
txt_totp: 'TOTP',
txt_enable_totp: '启用 TOTP',
txt_disable_totp: '停用 TOTP',
@@ -1037,6 +1046,7 @@ const zhCNOverrides: Record<string, string> = {
txt_login_success: '登录成功',
txt_macos_desktop: 'macOS 桌面端',
txt_master_password_changed_please_login_again: '主密码已修改,请重新登录',
txt_master_password_changed_signing_out_everywhere: '主密码已修改,正在退出所有设备',
txt_master_password_is_required: '主密码不能为空',
txt_master_password_is_required_2: '请输入主密码',
txt_master_password_must_be_at_least_12_chars: '主密码至少需要 12 个字符',