fix(i18n): localize audit logs and new validation messages

This commit is contained in:
shuaiplus
2026-07-05 23:45:26 +08:00
parent d028b194e7
commit 01ff627ac6
6 changed files with 352 additions and 248 deletions
+143 -124
View File
@@ -1014,6 +1014,8 @@ const ru: Record<string, string> = {
"txt_totp_qr_scanned": "Значение TOTP добавлено.",
"txt_totp_qr_not_found": "QR-код на этом изображении не найден.",
"txt_totp_qr_scan_failed": "Не удалось отсканировать QR-код.",
"txt_totp_qr_invalid_image_type": "Выберите файл изображения.",
"txt_totp_qr_image_too_large": "Выберите изображение меньше 8 МБ.",
"txt_totp_qr_unsupported": "Этот браузер не поддерживает сканирование QR. Попробуйте Chrome или Edge либо вставьте ссылку или секрет TOTP вручную.",
"txt_totp_qr_camera_unavailable": "Камера недоступна. Проверьте разрешение браузера или выберите изображение.",
"txt_totp_qr_choose_image": "Выбрать изображение",
@@ -1125,6 +1127,12 @@ const ru: Record<string, string> = {
"txt_import_invalid_password_protected_file": "Неверный файл экспорта, защищенный паролем.",
"txt_import_decrypt_failed": "Не удалось расшифровать файл импорта.",
"txt_import_empty_zip_archive": "Пустой zip-архив.",
"txt_import_zip_too_large": "ZIP-архив слишком большой. Максимальный размер: {size} MiB.",
"txt_import_file_too_large": "Файл импорта слишком большой. Максимальный размер: {size} MiB.",
"txt_import_zip_too_many_files": "ZIP-архив содержит слишком много файлов.",
"txt_import_zip_entry_too_large": "ZIP-архив содержит файл больше {size} MiB.",
"txt_import_zip_expands_too_large": "ZIP-архив распаковывается за текущий лимит импорта {size} MiB.",
"txt_import_zip_unsafe_file_name": "ZIP-архив содержит небезопасное имя файла.",
"txt_import_no_json_found_in_zip": "В zip-архиве не найдены импортируемые данные JSON.",
"txt_import_data_json_not_found": "data.json не найден в zip-архиве.",
"txt_import_zip_password_required": "Требуется пароль ZIP.",
@@ -1216,133 +1224,144 @@ const ru: Record<string, string> = {
"txt_log_level_info": "Инфо",
"txt_log_level_security": "Безопасность",
"txt_log_level_warn": "Предупреждение",
"txt_log_action_account_api_key_create": "Create API key",
"txt_log_action_account_api_key_rotate": "Rotate API key",
"txt_log_action_account_keys_update": "Update account keys",
"txt_log_action_account_profile_update": "Update account profile",
"txt_log_action_account_totp_disable": "Disable two-step login",
"txt_log_action_account_totp_enable": "Enable two-step login",
"txt_log_action_account_totp_recover": "Recover two-step login",
"txt_log_action_account_verify_devices_update": "Update device verification",
"txt_log_action_admin_audit_settings_update": "Update log retention settings",
"txt_log_action_admin_backup_export": "Export backup",
"txt_log_action_admin_backup_import": "Import backup",
"txt_log_action_admin_backup_remote_delete": "Delete remote backup",
"txt_log_action_admin_backup_remote_manual": "Manual remote backup succeeded",
"txt_log_action_admin_backup_remote_manual_failed": "Manual remote backup failed",
"txt_log_action_admin_backup_remote_scheduled": "Scheduled remote backup succeeded",
"txt_log_action_admin_backup_remote_scheduled_failed": "Scheduled remote backup failed",
"txt_log_action_admin_backup_settings_repair": "Repair backup settings",
"txt_log_action_admin_backup_settings_update": "Update backup settings",
"txt_log_action_admin_invite_create": "Create invite",
"txt_log_action_admin_invite_delete": "Delete invite",
"txt_log_action_admin_invite_delete_all": "Clear invites",
"txt_log_action_admin_invite_delete_invalid": "Delete invalid invites",
"txt_log_action_admin_invite_revoke": "Revoke invite",
"txt_log_action_admin_user_delete": "Delete user",
"txt_log_action_admin_user_status": "Change user status",
"txt_log_action_attachment_delete": "Delete attachment",
"txt_log_action_auth_login_failed_bad_api_key": "Login failed: bad API key",
"txt_log_action_auth_login_failed_bad_password": "Login failed: bad password",
"txt_log_action_auth_login_failed_user_inactive": "Login failed: inactive account",
"txt_log_action_auth_login_success": "Login succeeded",
"txt_log_action_auth_refresh_failed": "Refresh login failed: {reason}",
"txt_log_action_cipher_delete_permanent": "Permanently delete vault item",
"txt_log_action_cipher_delete_permanent_bulk": "Permanently delete vault items",
"txt_log_action_cipher_delete_soft": "Move vault item to trash",
"txt_log_action_cipher_delete_soft_bulk": "Move vault items to trash",
"txt_log_action_device_deactivate": "Deactivate device",
"txt_log_action_device_delete": "Delete device",
"txt_log_action_device_delete_all": "Delete all devices",
"txt_log_action_device_name_update": "Update device name",
"txt_log_action_device_trust_permanent": "Trust device permanently",
"txt_log_action_device_trust_revoke": "Revoke device trust",
"txt_log_action_device_trust_revoke_batch": "Revoke device trust in bulk",
"txt_log_action_folder_delete": "Delete folder",
"txt_log_action_folder_delete_bulk": "Delete folders",
"txt_log_action_send_auth_remove": "Remove Send authentication",
"txt_log_action_send_delete": "Delete Send",
"txt_log_action_send_delete_bulk": "Delete Sends",
"txt_log_action_send_password_remove": "Remove Send password",
"txt_log_action_user_password_change": "Change master password",
"txt_log_action_user_register_first_admin": "Register first admin",
"txt_log_action_user_register_invite": "Register by invite",
"txt_log_meta_attachments": "Attachments",
"txt_log_action_account_api_key_create": "Создание API-ключа",
"txt_log_action_account_api_key_rotate": "Ротация API-ключа",
"txt_log_action_account_keys_update": "Обновление ключей учетной записи",
"txt_log_action_account_passkey_create": "Создание ключа входа",
"txt_log_action_account_passkey_delete": "Удаление ключа входа",
"txt_log_action_account_passkey_encryption_enable": "Включение разблокировки хранилища ключом доступа",
"txt_log_action_account_profile_update": "Обновление профиля учетной записи",
"txt_log_action_account_totp_disable": "Отключение двухфакторной проверки",
"txt_log_action_account_totp_enable": "Включение двухфакторной проверки",
"txt_log_action_account_totp_recover": "Восстановление двухфакторной проверки",
"txt_log_action_account_verify_devices_update": "Обновление проверки устройств",
"txt_log_action_account_webauthn_2fa_delete": "Удаление ключа двухфакторной проверки",
"txt_log_action_account_webauthn_2fa_enable": "Включение двухфакторной проверки ключом доступа",
"txt_log_action_account_yubikey_enable": "Обновление настроек YubiKey OTP",
"txt_log_action_admin_audit_clear": "Очистка журнала аудита",
"txt_log_action_admin_audit_settings_update": "Обновление хранения журналов",
"txt_log_action_admin_backup_export": "Экспорт резервной копии",
"txt_log_action_admin_backup_import": "Импорт резервной копии",
"txt_log_action_admin_backup_remote_delete": "Удаление удаленной резервной копии",
"txt_log_action_admin_backup_remote_manual": "Ручное удаленное резервное копирование выполнено",
"txt_log_action_admin_backup_remote_manual_failed": "Ошибка ручного удаленного резервного копирования",
"txt_log_action_admin_backup_remote_scheduled": "Запланированное удаленное резервное копирование выполнено",
"txt_log_action_admin_backup_remote_scheduled_failed": "Ошибка запланированного удаленного резервного копирования",
"txt_log_action_admin_backup_settings_repair": "Восстановление настроек резервного копирования",
"txt_log_action_admin_backup_settings_update": "Обновление настроек резервного копирования",
"txt_log_action_admin_invite_create": "Создание приглашения",
"txt_log_action_admin_invite_delete": "Удаление приглашения",
"txt_log_action_admin_invite_delete_all": "Очистка приглашений",
"txt_log_action_admin_invite_delete_invalid": "Удаление недействительных приглашений",
"txt_log_action_admin_invite_revoke": "Отзыв приглашения",
"txt_log_action_admin_user_delete": "Удаление пользователя",
"txt_log_action_admin_user_status": "Изменение статуса пользователя",
"txt_log_action_attachment_delete": "Удаление вложения",
"txt_log_action_auth_login_failed_bad_api_key": "Ошибка входа: неверный API-ключ",
"txt_log_action_auth_login_failed_bad_password": "Ошибка входа: неверный пароль",
"txt_log_action_auth_login_failed_user_inactive": "Ошибка входа: учетная запись неактивна",
"txt_log_action_auth_login_success": "Вход выполнен",
"txt_log_action_auth_passkey_login_failed": "Ошибка входа по ключу доступа",
"txt_log_action_auth_passkey_login_success": "Вход по ключу доступа выполнен",
"txt_log_action_auth_refresh_failed": "Не удалось обновить вход: {reason}",
"txt_log_action_cipher_delete_permanent": "Окончательное удаление элемента хранилища",
"txt_log_action_cipher_delete_permanent_bulk": "Окончательное удаление элементов хранилища",
"txt_log_action_cipher_delete_soft": "Перемещение элемента хранилища в корзину",
"txt_log_action_cipher_delete_soft_bulk": "Перемещение элементов хранилища в корзину",
"txt_log_action_device_deactivate": "Деактивация устройства",
"txt_log_action_device_delete": "Удаление устройства",
"txt_log_action_device_delete_all": "Удаление всех устройств",
"txt_log_action_device_name_update": "Обновление имени устройства",
"txt_log_action_device_trust_permanent": "Постоянное доверие устройству",
"txt_log_action_device_trust_revoke": "Отзыв доверия устройству",
"txt_log_action_device_trust_revoke_batch": "Массовый отзыв доверия устройствам",
"txt_log_action_folder_delete": "Удаление папки",
"txt_log_action_folder_delete_bulk": "Удаление папок",
"txt_log_action_send_auth_remove": "Удаление проверки Send",
"txt_log_action_send_delete": "Удаление Send",
"txt_log_action_send_delete_bulk": "Удаление Send",
"txt_log_action_send_password_remove": "Удаление пароля Send",
"txt_log_action_user_password_change": "Изменение мастер-пароля",
"txt_log_action_user_register_first_admin": "Регистрация первого администратора",
"txt_log_action_user_register_invite": "Регистрация по приглашению",
"txt_log_meta_attachments": "Вложения",
"txt_log_meta_bytes": "Bytes",
"txt_log_meta_changed": "Changed fields",
"txt_log_meta_checksum_mismatch_accepted": "Accepted checksum mismatch",
"txt_log_meta_cipher_id": "Vault item ID",
"txt_log_meta_ciphers": "Vault items",
"txt_log_meta_compat": "Compatibility",
"txt_log_meta_compressed_bytes": "Compressed bytes",
"txt_log_meta_count": "Count",
"txt_log_meta_deleted": "Deleted count",
"txt_log_meta_destination_count": "Destination count",
"txt_log_meta_destination_id": "Destination ID",
"txt_log_meta_destination_name": "Destination name",
"txt_log_meta_destination_type": "Destination type",
"txt_log_meta_device_identifier": "Device ID",
"txt_log_meta_device_type": "Device type",
"txt_log_meta_changed": "Измененные поля",
"txt_log_meta_checksum_mismatch_accepted": "Принято несовпадение контрольной суммы",
"txt_log_meta_cipher_id": "ID элемента хранилища",
"txt_log_meta_ciphers": "Элементы хранилища",
"txt_log_meta_compat": "Совместимость",
"txt_log_meta_compressed_bytes": "Байт после сжатия",
"txt_log_meta_count": "Количество",
"txt_log_meta_deleted": "Удалено",
"txt_log_meta_destination_count": "Количество назначений",
"txt_log_meta_destination_id": "ID назначения",
"txt_log_meta_destination_name": "Имя назначения",
"txt_log_meta_destination_type": "Тип назначения",
"txt_log_meta_device_identifier": "ID устройства",
"txt_log_meta_device_type": "Тип устройства",
"txt_log_meta_email": "Email",
"txt_log_meta_error": "Error",
"txt_log_meta_expires_in_hours": "Expires in hours",
"txt_log_meta_file_bytes": "File bytes",
"txt_log_meta_file_name": "File name",
"txt_log_meta_folder_id": "Folder ID",
"txt_log_meta_grant_type": "Login method",
"txt_log_meta_includes_attachments": "Includes attachments",
"txt_log_meta_ip": "IP address",
"txt_log_meta_max_entries": "Entry limit",
"txt_log_meta_method": "Request method",
"txt_log_meta_path": "Request path",
"txt_log_meta_provider": "Provider",
"txt_log_meta_prune_error": "Cleanup error",
"txt_log_meta_pruned_file_count": "Cleaned files",
"txt_log_meta_raw": "Raw data",
"txt_log_meta_reason": "Reason",
"txt_log_meta_remote_path": "Remote path",
"txt_log_meta_removed": "Removed count",
"txt_log_meta_removed_devices": "Removed devices",
"txt_log_meta_removed_sessions": "Removed sessions",
"txt_log_meta_removed_trusted": "Trust removals",
"txt_log_meta_replace_existing": "Replace existing data",
"txt_log_meta_requested": "Requested count",
"txt_log_meta_requested_count": "Requested count",
"txt_log_meta_retention_days": "Retention days",
"txt_log_meta_scheduled_destination_count": "Scheduled destinations",
"txt_log_meta_size": "Size",
"txt_log_meta_skipped_attachments": "Skipped attachments",
"txt_log_meta_skipped_reason": "Skip reason",
"txt_log_meta_status": "Status",
"txt_log_meta_target_email": "Target email",
"txt_log_meta_trigger": "Trigger",
"txt_log_meta_type": "Type",
"txt_log_meta_updated": "Updated count",
"txt_log_meta_upload_verification_attempts": "Upload verification attempts",
"txt_log_meta_user_agent": "Browser/client",
"txt_log_meta_users": "Users",
"txt_log_meta_verify_devices": "Verify devices",
"txt_log_meta_web_session": "Web session",
"txt_log_reason_bad_api_key": "Bad API key",
"txt_log_reason_bad_password": "Bad password",
"txt_log_reason_device_missing": "Device missing",
"txt_log_reason_device_session_mismatch": "Device session mismatch",
"txt_log_reason_token_not_found_or_expired": "Token missing or expired",
"txt_log_reason_user_inactive": "User inactive",
"txt_log_reason_user_missing": "User missing",
"txt_log_target_type_attachment": "Attachment",
"txt_log_target_type_audit_log": "Log",
"txt_log_target_type_backup": "Backup",
"txt_log_target_type_cipher": "Vault item",
"txt_log_target_type_device": "Device",
"txt_log_target_type_folder": "Folder",
"txt_log_target_type_invite": "Invite",
"txt_log_target_type_refresh_token": "Refresh token",
"txt_log_meta_error": "Ошибка",
"txt_log_meta_expires_in_hours": "Истекает через часов",
"txt_log_meta_file_bytes": "Байт файла",
"txt_log_meta_file_name": "Имя файла",
"txt_log_meta_folder_id": "ID папки",
"txt_log_meta_grant_type": "Способ входа",
"txt_log_meta_includes_attachments": "Включает вложения",
"txt_log_meta_ip": "IP-адрес",
"txt_log_meta_max_entries": "Лимит записей",
"txt_log_meta_method": "Метод запроса",
"txt_log_meta_path": "Путь запроса",
"txt_log_meta_provider": "Поставщик",
"txt_log_meta_prf_status": "Статус PRF",
"txt_log_meta_prune_error": "Ошибка очистки",
"txt_log_meta_pruned_file_count": "Очищено файлов",
"txt_log_meta_raw": "Исходные данные",
"txt_log_meta_reason": "Причина",
"txt_log_meta_remote_path": "Удаленный путь",
"txt_log_meta_removed": "Удалено",
"txt_log_meta_removed_devices": "Удалено устройств",
"txt_log_meta_removed_sessions": "Удалено сессий",
"txt_log_meta_removed_trusted": "Отозвано доверий",
"txt_log_meta_replace_existing": "Заменить существующие данные",
"txt_log_meta_requested": "Запрошено",
"txt_log_meta_requested_count": "Запрошено",
"txt_log_meta_retention_days": "Дней хранения",
"txt_log_meta_scheduled_destination_count": "Запланированные назначения",
"txt_log_meta_size": "Размер",
"txt_log_meta_skipped_attachments": "Пропущенные вложения",
"txt_log_meta_skipped_reason": "Причина пропуска",
"txt_log_meta_status": "Статус",
"txt_log_meta_target_email": "Email цели",
"txt_log_meta_trigger": "Триггер",
"txt_log_meta_type": "Тип",
"txt_log_meta_updated": "Обновлено",
"txt_log_meta_upload_verification_attempts": "Попытки проверки загрузки",
"txt_log_meta_user_agent": "Браузер/клиент",
"txt_log_meta_users": "Пользователи",
"txt_log_meta_verify_devices": "Проверка устройств",
"txt_log_meta_web_session": "Веб-сессия",
"txt_log_reason_bad_api_key": "Неверный API-ключ",
"txt_log_reason_bad_password": "Неверный пароль",
"txt_log_reason_device_missing": "Устройство не найдено",
"txt_log_reason_device_session_mismatch": "Сессия не соответствует устройству",
"txt_log_reason_token_not_found_or_expired": "Токен отсутствует или истек",
"txt_log_reason_user_inactive": "Пользователь неактивен",
"txt_log_reason_user_missing": "Пользователь не найден",
"txt_log_target_type_attachment": "Вложение",
"txt_log_target_type_account_passkey": "Ключ входа",
"txt_log_target_type_audit_log": "Журнал",
"txt_log_target_type_backup": "Резервная копия",
"txt_log_target_type_cipher": "Элемент хранилища",
"txt_log_target_type_device": "Устройство",
"txt_log_target_type_folder": "Папка",
"txt_log_target_type_invite": "Приглашение",
"txt_log_target_type_refresh_token": "Токен обновления",
"txt_log_target_type_send": "Send",
"txt_log_target_type_user": "User",
"txt_log_trigger_manual": "Manual",
"txt_log_trigger_remote": "Remote",
"txt_log_trigger_scheduled": "Scheduled",
"txt_log_target_type_user": "Пользователь",
"txt_log_trigger_manual": "Вручную",
"txt_log_trigger_remote": "Удаленно",
"txt_log_trigger_scheduled": "По расписанию",
"txt_log_max_1000": "До 1 000 записей",
"txt_log_max_5000": "До 5 000 записей",
"txt_log_max_10000": "До 10 000 записей",