mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 13:00:39 +00:00
feat: add registration invite code handling and improve error translations
- Updated AuthViews component to conditionally show invite code field based on registrationInviteRequired prop. - Enhanced error handling in auth API functions to use translateServerError for better user feedback. - Added new translations for various server error messages in English, Spanish, Russian, Chinese (Simplified and Traditional). - Modified demo initial bootstrap state to include registrationInviteRequired flag. - Updated types to include registrationInviteRequired in WebBootstrapResponse.
This commit is contained in:
@@ -349,6 +349,7 @@ const en: Record<string, string> = {
|
||||
"txt_create": "Create",
|
||||
"txt_create_account": "Create Account",
|
||||
"txt_registering": "Creating account...",
|
||||
"txt_register_failed": "Register failed",
|
||||
"txt_create_folder": "Create Folder",
|
||||
"txt_create_folder_failed": "Create folder failed",
|
||||
"txt_create_item_failed": "Create item failed",
|
||||
@@ -408,6 +409,7 @@ const en: Record<string, string> = {
|
||||
"txt_disable_this_send": "Disable this send",
|
||||
"txt_disable_totp": "Disable TOTP",
|
||||
"txt_disable_totp_failed": "Disable TOTP failed",
|
||||
"txt_totp_update_failed": "Update TOTP failed",
|
||||
"txt_download": "Download",
|
||||
"txt_downloading": "Downloading...",
|
||||
"txt_downloading_percent": "Downloading {percent}%",
|
||||
@@ -467,12 +469,33 @@ const en: Record<string, string> = {
|
||||
"txt_identity_details": "Identity Details",
|
||||
"txt_ie_browser": "IE Browser",
|
||||
"txt_create_invite_failed": "Failed to create invite",
|
||||
"txt_invite_code_optional": "Invite Code (Not required for the first account; required for all others)",
|
||||
"txt_invite_code_required": "Invite Code (Required)",
|
||||
"txt_invite_created": "Invite created",
|
||||
"txt_invite_revoked": "Invite revoked",
|
||||
"txt_revoke_invite_failed": "Failed to revoke invite",
|
||||
"txt_invite_validity_hours": "Invite validity (hours)",
|
||||
"txt_invites": "Invites",
|
||||
"txt_rate_limit_try_again_seconds": "Too many requests. Try again in {seconds} seconds.",
|
||||
"txt_server_error_account_disabled": "Account is disabled",
|
||||
"txt_server_error_client_credentials_incorrect": "Client ID or client secret is incorrect. Try again.",
|
||||
"txt_server_error_client_ip_required": "Client IP is required",
|
||||
"txt_server_error_email_already_registered": "Email already registered",
|
||||
"txt_server_error_email_password_required": "Email and password are required",
|
||||
"txt_server_error_email_required": "Email is required",
|
||||
"txt_server_error_invalid_refresh_token": "Session expired. Please sign in again.",
|
||||
"txt_server_error_invalid_request_payload": "Invalid request payload",
|
||||
"txt_server_error_invite_invalid_or_expired": "Invite code is invalid or expired",
|
||||
"txt_server_error_invite_required": "Invite code is required",
|
||||
"txt_server_error_jwt_secret_default": "JWT_SECRET is using the default/sample value. Please change it.",
|
||||
"txt_server_error_jwt_secret_missing": "JWT_SECRET is not set",
|
||||
"txt_server_error_jwt_secret_too_short": "JWT_SECRET must be at least 32 characters",
|
||||
"txt_server_error_parameter_error": "Parameter error",
|
||||
"txt_server_error_refresh_token_required": "Session is missing. Please sign in again.",
|
||||
"txt_server_error_registration_retry": "Registration is temporarily unavailable. Please retry once.",
|
||||
"txt_server_error_totp_token_required": "Two-step token is required",
|
||||
"txt_server_error_two_factor_invalid": "Two-step token is invalid. Try again.",
|
||||
"txt_server_error_two_factor_required": "Two factor required.",
|
||||
"txt_server_error_username_password_incorrect": "Username or password is incorrect. Try again.",
|
||||
"txt_ios": "iOS",
|
||||
"txt_item": "Item",
|
||||
"txt_item_created": "Item created",
|
||||
@@ -546,6 +569,7 @@ const en: Record<string, string> = {
|
||||
"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",
|
||||
"txt_master_password_verify_failed": "Master password verify failed",
|
||||
"txt_master_password_reprompt": "Master password reprompt",
|
||||
"txt_master_password_reprompt_2": "Master Password Reprompt",
|
||||
"txt_max_access_count": "Max Access Count",
|
||||
@@ -632,6 +656,9 @@ const en: Record<string, string> = {
|
||||
"txt_api_key_rotated": "API key rotated",
|
||||
"txt_rotate_api_key_confirm": "Rotate API key? The current key will stop working immediately.",
|
||||
"txt_api_key_is_empty": "API key is empty",
|
||||
"txt_get_api_key_failed": "Failed to get API key",
|
||||
"txt_get_recovery_code_failed": "Failed to get recovery code",
|
||||
"txt_rotate_api_key_failed": "Failed to rotate API key",
|
||||
"txt_api_key_dialog_intro": "Your API key can be used to authenticate with the Bitwarden CLI.",
|
||||
"txt_api_key_warning_body": "Your API key is an alternative authentication mechanism. Keep it secret.",
|
||||
"txt_oauth_client_credentials": "OAuth 2.0 Client Credentials",
|
||||
@@ -669,6 +696,7 @@ const en: Record<string, string> = {
|
||||
"txt_save_profile": "Save Profile",
|
||||
"txt_save_profile_failed": "Save profile failed",
|
||||
"txt_search_sends": "Search sends...",
|
||||
"txt_session_refresh_failed": "Session refresh failed. Please sign in again.",
|
||||
"txt_search_your_secure_vault": "Search your secure vault...",
|
||||
"txt_clear_search": "Clear search",
|
||||
"txt_clear_search_esc": "Clear search (Esc)",
|
||||
|
||||
@@ -349,6 +349,7 @@ const es: Record<string, string> = {
|
||||
"txt_create": "Crear",
|
||||
"txt_create_account": "Crear cuenta",
|
||||
"txt_registering": "Creando cuenta...",
|
||||
"txt_register_failed": "Error al registrarse",
|
||||
"txt_create_folder": "Crear carpeta",
|
||||
"txt_create_folder_failed": "Error al crear carpeta",
|
||||
"txt_create_item_failed": "Error al crear elemento",
|
||||
@@ -408,6 +409,7 @@ const es: Record<string, string> = {
|
||||
"txt_disable_this_send": "Desactivar este envío",
|
||||
"txt_disable_totp": "Desactivar TOTP",
|
||||
"txt_disable_totp_failed": "Error al desactivar TOTP",
|
||||
"txt_totp_update_failed": "Error al actualizar TOTP",
|
||||
"txt_download": "Descargar",
|
||||
"txt_downloading": "Descargando...",
|
||||
"txt_downloading_percent": "Descargando {percent}%",
|
||||
@@ -467,12 +469,33 @@ const es: Record<string, string> = {
|
||||
"txt_identity_details": "Detalles de identidad",
|
||||
"txt_ie_browser": "Navegador Internet Explorer",
|
||||
"txt_create_invite_failed": "Error al crear invitación",
|
||||
"txt_invite_code_optional": "Código de invitación (No obligatorio para la primera cuenta; obligatorio para todas las demás)",
|
||||
"txt_invite_code_required": "Código de invitación (obligatorio)",
|
||||
"txt_invite_created": "Invitación creada",
|
||||
"txt_invite_revoked": "Invitación revocada",
|
||||
"txt_revoke_invite_failed": "Error al revocar invitación",
|
||||
"txt_invite_validity_hours": "Validez de la invitación en horas",
|
||||
"txt_invites": "Invitaciones",
|
||||
"txt_rate_limit_try_again_seconds": "Demasiadas solicitudes. Inténtalo de nuevo en {seconds} segundos.",
|
||||
"txt_server_error_account_disabled": "La cuenta está deshabilitada",
|
||||
"txt_server_error_client_credentials_incorrect": "El ID de cliente o el secreto de cliente no son correctos. Inténtalo de nuevo.",
|
||||
"txt_server_error_client_ip_required": "Se requiere la IP del cliente",
|
||||
"txt_server_error_email_already_registered": "Este correo ya está registrado",
|
||||
"txt_server_error_email_password_required": "Correo y contraseña son obligatorios",
|
||||
"txt_server_error_email_required": "El correo es obligatorio",
|
||||
"txt_server_error_invalid_refresh_token": "La sesión caducó. Inicia sesión de nuevo.",
|
||||
"txt_server_error_invalid_request_payload": "Solicitud no válida",
|
||||
"txt_server_error_invite_invalid_or_expired": "El código de invitación no es válido o ha caducado",
|
||||
"txt_server_error_invite_required": "El código de invitación es obligatorio",
|
||||
"txt_server_error_jwt_secret_default": "JWT_SECRET usa el valor predeterminado/de ejemplo. Cámbialo.",
|
||||
"txt_server_error_jwt_secret_missing": "JWT_SECRET no está configurado",
|
||||
"txt_server_error_jwt_secret_too_short": "JWT_SECRET debe tener al menos 32 caracteres",
|
||||
"txt_server_error_parameter_error": "Error de parámetros",
|
||||
"txt_server_error_refresh_token_required": "Falta la sesión. Inicia sesión de nuevo.",
|
||||
"txt_server_error_registration_retry": "El registro no está disponible temporalmente. Inténtalo una vez más.",
|
||||
"txt_server_error_totp_token_required": "El código de verificación en dos pasos es obligatorio",
|
||||
"txt_server_error_two_factor_invalid": "El código de verificación en dos pasos no es válido. Inténtalo de nuevo.",
|
||||
"txt_server_error_two_factor_required": "Se requiere verificación en dos pasos.",
|
||||
"txt_server_error_username_password_incorrect": "Usuario o contraseña incorrectos. Inténtalo de nuevo.",
|
||||
"txt_ios": "iOS",
|
||||
"txt_item": "Elemento",
|
||||
"txt_item_created": "Elemento creado",
|
||||
@@ -546,6 +569,7 @@ const es: Record<string, string> = {
|
||||
"txt_master_password_is_required": "La contraseña maestra es obligatoria",
|
||||
"txt_master_password_is_required_2": "La contraseña maestra es obligatoria.",
|
||||
"txt_master_password_must_be_at_least_12_chars": "La contraseña maestra debe tener al menos 12 caracteres",
|
||||
"txt_master_password_verify_failed": "Error al verificar la contraseña maestra",
|
||||
"txt_master_password_reprompt": "Solicitar contraseña maestra de nuevo",
|
||||
"txt_master_password_reprompt_2": "Solicitar contraseña maestra de nuevo",
|
||||
"txt_max_access_count": "Número máximo de accesos",
|
||||
@@ -632,6 +656,9 @@ const es: Record<string, string> = {
|
||||
"txt_api_key_rotated": "Clave API rotada",
|
||||
"txt_rotate_api_key_confirm": "¿Rotar clave API? La clave actual dejará de funcionar inmediatamente.",
|
||||
"txt_api_key_is_empty": "La clave API está vacía",
|
||||
"txt_get_api_key_failed": "Error al obtener la clave API",
|
||||
"txt_get_recovery_code_failed": "Error al obtener el código de recuperación",
|
||||
"txt_rotate_api_key_failed": "Error al rotar la clave API",
|
||||
"txt_api_key_dialog_intro": "Su clave API puede usarse para autenticarse con la CLI de Bitwarden.",
|
||||
"txt_api_key_warning_body": "Su clave API es un mecanismo de autenticación alternativo. Manténgala secreta.",
|
||||
"txt_oauth_client_credentials": "Credenciales de cliente OAuth 2.0",
|
||||
@@ -669,6 +696,7 @@ const es: Record<string, string> = {
|
||||
"txt_save_profile": "Guardar perfil",
|
||||
"txt_save_profile_failed": "Error al guardar perfil",
|
||||
"txt_search_sends": "Buscar envíos...",
|
||||
"txt_session_refresh_failed": "Error al actualizar la sesión. Inicia sesión de nuevo.",
|
||||
"txt_search_your_secure_vault": "Buscar en su bóveda segura...",
|
||||
"txt_clear_search": "Limpiar búsqueda",
|
||||
"txt_clear_search_esc": "Limpiar búsqueda (Esc)",
|
||||
|
||||
@@ -349,6 +349,7 @@ const ru: Record<string, string> = {
|
||||
"txt_create": "Создать",
|
||||
"txt_create_account": "Создать учетную запись",
|
||||
"txt_registering": "Создание учетной записи...",
|
||||
"txt_register_failed": "Не удалось зарегистрироваться",
|
||||
"txt_create_folder": "Создать папку",
|
||||
"txt_create_folder_failed": "Создать папку не удалось",
|
||||
"txt_create_item_failed": "Создать элемент не удалось",
|
||||
@@ -408,6 +409,7 @@ const ru: Record<string, string> = {
|
||||
"txt_disable_this_send": "Отключить эту отправку",
|
||||
"txt_disable_totp": "Отключить TOTP",
|
||||
"txt_disable_totp_failed": "Отключить TOTP не удалось",
|
||||
"txt_totp_update_failed": "Не удалось обновить TOTP",
|
||||
"txt_download": "Скачать",
|
||||
"txt_downloading": "Загрузка...",
|
||||
"txt_downloading_percent": "Загрузка {percent}%",
|
||||
@@ -467,12 +469,33 @@ const ru: Record<string, string> = {
|
||||
"txt_identity_details": "Данные личности",
|
||||
"txt_ie_browser": "IE-браузер",
|
||||
"txt_create_invite_failed": "Не удалось создать приглашение",
|
||||
"txt_invite_code_optional": "Пригласительный код (не требуется для первой учетной записи; требуется для всех остальных)",
|
||||
"txt_invite_code_required": "Пригласительный код (обязательно)",
|
||||
"txt_invite_created": "Приглашение создано",
|
||||
"txt_invite_revoked": "Приглашение отозвано",
|
||||
"txt_revoke_invite_failed": "Не удалось отозвать приглашение",
|
||||
"txt_invite_validity_hours": "Срок действия приглашения (часы)",
|
||||
"txt_invites": "Приглашает",
|
||||
"txt_rate_limit_try_again_seconds": "Слишком много запросов. Повторите попытку через {seconds} секунд.",
|
||||
"txt_server_error_account_disabled": "Учетная запись отключена",
|
||||
"txt_server_error_client_credentials_incorrect": "ID клиента или секрет клиента неверны. Повторите попытку.",
|
||||
"txt_server_error_client_ip_required": "Требуется IP клиента",
|
||||
"txt_server_error_email_already_registered": "Этот адрес электронной почты уже зарегистрирован",
|
||||
"txt_server_error_email_password_required": "Требуются адрес электронной почты и пароль",
|
||||
"txt_server_error_email_required": "Требуется адрес электронной почты",
|
||||
"txt_server_error_invalid_refresh_token": "Сеанс истек. Войдите снова.",
|
||||
"txt_server_error_invalid_request_payload": "Недопустимый запрос",
|
||||
"txt_server_error_invite_invalid_or_expired": "Код приглашения недействителен или истек",
|
||||
"txt_server_error_invite_required": "Требуется код приглашения",
|
||||
"txt_server_error_jwt_secret_default": "JWT_SECRET использует значение по умолчанию/пример. Измените его.",
|
||||
"txt_server_error_jwt_secret_missing": "JWT_SECRET не настроен",
|
||||
"txt_server_error_jwt_secret_too_short": "JWT_SECRET должен содержать не менее 32 символов",
|
||||
"txt_server_error_parameter_error": "Ошибка параметров",
|
||||
"txt_server_error_refresh_token_required": "Сеанс отсутствует. Войдите снова.",
|
||||
"txt_server_error_registration_retry": "Регистрация временно недоступна. Повторите попытку один раз.",
|
||||
"txt_server_error_totp_token_required": "Требуется код двухэтапной проверки",
|
||||
"txt_server_error_two_factor_invalid": "Код двухэтапной проверки недействителен. Повторите попытку.",
|
||||
"txt_server_error_two_factor_required": "Требуется двухэтапная проверка.",
|
||||
"txt_server_error_username_password_incorrect": "Имя пользователя или пароль неверны. Повторите попытку.",
|
||||
"txt_ios": "iOS",
|
||||
"txt_item": "Товар",
|
||||
"txt_item_created": "Объект создан",
|
||||
@@ -546,6 +569,7 @@ const ru: Record<string, string> = {
|
||||
"txt_master_password_is_required": "Требуется мастер-пароль",
|
||||
"txt_master_password_is_required_2": "Требуется мастер-пароль.",
|
||||
"txt_master_password_must_be_at_least_12_chars": "Мастер-пароль должен содержать не менее 12 символов.",
|
||||
"txt_master_password_verify_failed": "Не удалось проверить мастер-пароль",
|
||||
"txt_master_password_reprompt": "Повторный запрос мастер-пароля",
|
||||
"txt_master_password_reprompt_2": "Повторный запрос мастер-пароля",
|
||||
"txt_max_access_count": "Максимальное количество доступов",
|
||||
@@ -632,6 +656,9 @@ const ru: Record<string, string> = {
|
||||
"txt_api_key_rotated": "Ключ API поменян",
|
||||
"txt_rotate_api_key_confirm": "Поменять ключ API? Текущий ключ немедленно перестанет работать.",
|
||||
"txt_api_key_is_empty": "Ключ API пуст",
|
||||
"txt_get_api_key_failed": "Не удалось получить ключ API",
|
||||
"txt_get_recovery_code_failed": "Не удалось получить код восстановления",
|
||||
"txt_rotate_api_key_failed": "Не удалось сменить ключ API",
|
||||
"txt_api_key_dialog_intro": "Ваш ключ API можно использовать для аутентификации с помощью Bitwarden CLI.",
|
||||
"txt_api_key_warning_body": "Ваш ключ API — это альтернативный механизм аутентификации. Держите это в секрете.",
|
||||
"txt_oauth_client_credentials": "Учетные данные клиента OAuth 2.0",
|
||||
@@ -669,6 +696,7 @@ const ru: Record<string, string> = {
|
||||
"txt_save_profile": "Сохранить профиль",
|
||||
"txt_save_profile_failed": "Сохранить профиль не удалось",
|
||||
"txt_search_sends": "Поиск отправляет...",
|
||||
"txt_session_refresh_failed": "Не удалось обновить сеанс. Войдите снова.",
|
||||
"txt_search_your_secure_vault": "Найдите свое безопасное хранилище...",
|
||||
"txt_clear_search": "Очистить поиск",
|
||||
"txt_clear_search_esc": "Очистить поиск (Esc)",
|
||||
|
||||
@@ -349,6 +349,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_create": "创建",
|
||||
"txt_create_account": "创建账户",
|
||||
"txt_registering": "正在注册...",
|
||||
"txt_register_failed": "注册失败",
|
||||
"txt_create_folder": "创建文件夹",
|
||||
"txt_create_folder_failed": "创建文件夹失败",
|
||||
"txt_create_item_failed": "创建项目失败",
|
||||
@@ -408,6 +409,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_disable_this_send": "禁用此 Send",
|
||||
"txt_disable_totp": "停用 TOTP",
|
||||
"txt_disable_totp_failed": "禁用 TOTP 失败",
|
||||
"txt_totp_update_failed": "更新 TOTP 失败",
|
||||
"txt_download": "下载",
|
||||
"txt_downloading": "下载中...",
|
||||
"txt_downloading_percent": "下载中 {percent}%",
|
||||
@@ -467,12 +469,33 @@ const zhCN: Record<string, string> = {
|
||||
"txt_identity_details": "身份详情",
|
||||
"txt_ie_browser": "IE 浏览器",
|
||||
"txt_create_invite_failed": "创建邀请码失败",
|
||||
"txt_invite_code_optional": "邀请码(首位注册者无需填写,其他人必填)",
|
||||
"txt_invite_code_required": "邀请码(必填)",
|
||||
"txt_invite_created": "邀请码已创建",
|
||||
"txt_invite_revoked": "邀请码已撤销",
|
||||
"txt_revoke_invite_failed": "撤销邀请码失败",
|
||||
"txt_invite_validity_hours": "邀请码有效期(小时)",
|
||||
"txt_invites": "邀请码",
|
||||
"txt_rate_limit_try_again_seconds": "请求过于频繁,请在 {seconds} 秒后重试",
|
||||
"txt_server_error_account_disabled": "账号已被禁用",
|
||||
"txt_server_error_client_credentials_incorrect": "客户端 ID 或客户端密钥不正确,请重试",
|
||||
"txt_server_error_client_ip_required": "无法获取客户端 IP",
|
||||
"txt_server_error_email_already_registered": "该邮箱已注册",
|
||||
"txt_server_error_email_password_required": "邮箱和密码不能为空",
|
||||
"txt_server_error_email_required": "邮箱不能为空",
|
||||
"txt_server_error_invalid_refresh_token": "登录状态已失效,请重新登录",
|
||||
"txt_server_error_invalid_request_payload": "请求内容无效",
|
||||
"txt_server_error_invite_invalid_or_expired": "邀请码无效或已过期",
|
||||
"txt_server_error_invite_required": "邀请码不能为空",
|
||||
"txt_server_error_jwt_secret_default": "JWT_SECRET 正在使用默认示例值,请修改后再继续",
|
||||
"txt_server_error_jwt_secret_missing": "JWT_SECRET 未设置",
|
||||
"txt_server_error_jwt_secret_too_short": "JWT_SECRET 至少需要 32 个字符",
|
||||
"txt_server_error_parameter_error": "请求参数错误",
|
||||
"txt_server_error_refresh_token_required": "登录状态缺失,请重新登录",
|
||||
"txt_server_error_registration_retry": "注册暂时不可用,请重试一次",
|
||||
"txt_server_error_totp_token_required": "请输入两步验证码",
|
||||
"txt_server_error_two_factor_invalid": "两步验证码无效,请重试",
|
||||
"txt_server_error_two_factor_required": "需要两步验证",
|
||||
"txt_server_error_username_password_incorrect": "用户名或密码不正确,请重试",
|
||||
"txt_ios": "iOS",
|
||||
"txt_item": "项目",
|
||||
"txt_item_created": "项目已创建",
|
||||
@@ -546,6 +569,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_master_password_is_required": "主密码不能为空",
|
||||
"txt_master_password_is_required_2": "请输入主密码",
|
||||
"txt_master_password_must_be_at_least_12_chars": "主密码至少需要 12 个字符",
|
||||
"txt_master_password_verify_failed": "主密码验证失败",
|
||||
"txt_master_password_reprompt": "主密码二次确认",
|
||||
"txt_master_password_reprompt_2": "主密码二次确认",
|
||||
"txt_max_access_count": "最大访问次数",
|
||||
@@ -632,6 +656,9 @@ const zhCN: Record<string, string> = {
|
||||
"txt_api_key_rotated": "API 密钥已轮换",
|
||||
"txt_rotate_api_key_confirm": "轮换 API 密钥?当前密钥将立即失效。",
|
||||
"txt_api_key_is_empty": "API 密钥为空",
|
||||
"txt_get_api_key_failed": "获取 API 密钥失败",
|
||||
"txt_get_recovery_code_failed": "获取恢复代码失败",
|
||||
"txt_rotate_api_key_failed": "轮换 API 密钥失败",
|
||||
"txt_api_key_dialog_intro": "您的 API 密钥可用于在 Bitwarden CLI 中进行身份验证。",
|
||||
"txt_api_key_warning_body": "您的 API 密钥是一种替代身份验证机制。请严格保密。",
|
||||
"txt_oauth_client_credentials": "OAuth 2.0 客户端凭据",
|
||||
@@ -669,6 +696,7 @@ const zhCN: Record<string, string> = {
|
||||
"txt_save_profile": "保存资料",
|
||||
"txt_save_profile_failed": "保存资料失败",
|
||||
"txt_search_sends": "搜索 Send...",
|
||||
"txt_session_refresh_failed": "会话刷新失败,请重新登录",
|
||||
"txt_search_your_secure_vault": "搜索你的密码库...",
|
||||
"txt_clear_search": "清空搜索",
|
||||
"txt_clear_search_esc": "清空搜索(Esc)",
|
||||
|
||||
@@ -349,6 +349,7 @@ const zhTW: Record<string, string> = {
|
||||
"txt_create": "創建",
|
||||
"txt_create_account": "創建賬戶",
|
||||
"txt_registering": "正在註冊...",
|
||||
"txt_register_failed": "註冊失敗",
|
||||
"txt_create_folder": "創建文件夾",
|
||||
"txt_create_folder_failed": "創建文件夾失敗",
|
||||
"txt_create_item_failed": "創建項目失敗",
|
||||
@@ -408,6 +409,7 @@ const zhTW: Record<string, string> = {
|
||||
"txt_disable_this_send": "禁用此 Send",
|
||||
"txt_disable_totp": "停用 TOTP",
|
||||
"txt_disable_totp_failed": "禁用 TOTP 失敗",
|
||||
"txt_totp_update_failed": "更新 TOTP 失敗",
|
||||
"txt_download": "下載",
|
||||
"txt_downloading": "下載中...",
|
||||
"txt_downloading_percent": "下載中 {percent}%",
|
||||
@@ -467,12 +469,33 @@ const zhTW: Record<string, string> = {
|
||||
"txt_identity_details": "身份詳情",
|
||||
"txt_ie_browser": "IE 瀏覽器",
|
||||
"txt_create_invite_failed": "創建邀請碼失敗",
|
||||
"txt_invite_code_optional": "邀請碼(首位註冊者無需填寫,其他人必填)",
|
||||
"txt_invite_code_required": "邀請碼(必填)",
|
||||
"txt_invite_created": "邀請碼已創建",
|
||||
"txt_invite_revoked": "邀請碼已撤銷",
|
||||
"txt_revoke_invite_failed": "撤銷邀請碼失敗",
|
||||
"txt_invite_validity_hours": "邀請碼有效期(小時)",
|
||||
"txt_invites": "邀請碼",
|
||||
"txt_rate_limit_try_again_seconds": "請求過於頻繁,請在 {seconds} 秒後重試",
|
||||
"txt_server_error_account_disabled": "帳號已被禁用",
|
||||
"txt_server_error_client_credentials_incorrect": "客戶端 ID 或客戶端密鑰不正確,請重試",
|
||||
"txt_server_error_client_ip_required": "無法獲取客戶端 IP",
|
||||
"txt_server_error_email_already_registered": "該郵箱已註冊",
|
||||
"txt_server_error_email_password_required": "郵箱和密碼不能為空",
|
||||
"txt_server_error_email_required": "郵箱不能為空",
|
||||
"txt_server_error_invalid_refresh_token": "登入狀態已失效,請重新登入",
|
||||
"txt_server_error_invalid_request_payload": "請求內容無效",
|
||||
"txt_server_error_invite_invalid_or_expired": "邀請碼無效或已過期",
|
||||
"txt_server_error_invite_required": "邀請碼不能為空",
|
||||
"txt_server_error_jwt_secret_default": "JWT_SECRET 正在使用默認示例值,請修改後再繼續",
|
||||
"txt_server_error_jwt_secret_missing": "JWT_SECRET 未設置",
|
||||
"txt_server_error_jwt_secret_too_short": "JWT_SECRET 至少需要 32 個字符",
|
||||
"txt_server_error_parameter_error": "請求參數錯誤",
|
||||
"txt_server_error_refresh_token_required": "登入狀態缺失,請重新登入",
|
||||
"txt_server_error_registration_retry": "註冊暫時不可用,請重試一次",
|
||||
"txt_server_error_totp_token_required": "請輸入兩步驗證碼",
|
||||
"txt_server_error_two_factor_invalid": "兩步驗證碼無效,請重試",
|
||||
"txt_server_error_two_factor_required": "需要兩步驗證",
|
||||
"txt_server_error_username_password_incorrect": "用戶名或密碼不正確,請重試",
|
||||
"txt_ios": "iOS",
|
||||
"txt_item": "項目",
|
||||
"txt_item_created": "項目已創建",
|
||||
@@ -546,6 +569,7 @@ const zhTW: Record<string, string> = {
|
||||
"txt_master_password_is_required": "主密碼不能為空",
|
||||
"txt_master_password_is_required_2": "請輸入主密碼",
|
||||
"txt_master_password_must_be_at_least_12_chars": "主密碼至少需要 12 個字符",
|
||||
"txt_master_password_verify_failed": "主密碼驗證失敗",
|
||||
"txt_master_password_reprompt": "主密碼二次確認",
|
||||
"txt_master_password_reprompt_2": "主密碼二次確認",
|
||||
"txt_max_access_count": "最大訪問次數",
|
||||
@@ -632,6 +656,9 @@ const zhTW: Record<string, string> = {
|
||||
"txt_api_key_rotated": "API 密鑰已輪換",
|
||||
"txt_rotate_api_key_confirm": "輪換 API 密鑰?當前密鑰將立即失效。",
|
||||
"txt_api_key_is_empty": "API 密鑰為空",
|
||||
"txt_get_api_key_failed": "獲取 API 密鑰失敗",
|
||||
"txt_get_recovery_code_failed": "獲取恢復代碼失敗",
|
||||
"txt_rotate_api_key_failed": "輪換 API 密鑰失敗",
|
||||
"txt_api_key_dialog_intro": "您的 API 密鑰可用於在 Bitwarden CLI 中進行身份驗證。",
|
||||
"txt_api_key_warning_body": "您的 API 密鑰是一種替代身份驗證機制。請嚴格保密。",
|
||||
"txt_oauth_client_credentials": "OAuth 2.0 客戶端憑據",
|
||||
@@ -669,6 +696,7 @@ const zhTW: Record<string, string> = {
|
||||
"txt_save_profile": "保存資料",
|
||||
"txt_save_profile_failed": "保存資料失敗",
|
||||
"txt_search_sends": "搜索 Send...",
|
||||
"txt_session_refresh_failed": "會話刷新失敗,請重新登入",
|
||||
"txt_search_your_secure_vault": "搜索你的密碼庫...",
|
||||
"txt_clear_search": "清空搜索",
|
||||
"txt_clear_search_esc": "清空搜索(Esc)",
|
||||
|
||||
Reference in New Issue
Block a user