Update localization files for backup destinations and API client credentials

- Changed references from E3 to S3 in Russian, Simplified Chinese, and Traditional Chinese localization files.
- Updated the corresponding keys and descriptions to reflect the change in backup destination protocols.
- Improved the Vite configuration to dynamically match locale files, simplifying the code for locale handling.
This commit is contained in:
shuaiplus
2026-04-30 15:03:05 +08:00
parent 9c5fbda374
commit 0c00114cc8
19 changed files with 1232 additions and 201 deletions
+13 -13
View File
@@ -38,7 +38,7 @@ const zhCN: Record<string, string> = {
"txt_backup_manual": "手动备份",
"txt_backup_manual_description": "现在就导出 ZIP,或者把之前导出的 ZIP 恢复到当前实例。",
"txt_backup_destinations_title": "备份地点",
"txt_backup_destinations_description": "把多个 WebDAV、E3 地点统一放在这里。左侧选一个,右侧编辑和浏览它。",
"txt_backup_destinations_description": "把多个 WebDAV、S3 地点统一放在这里。左侧选一个,右侧编辑和浏览它。",
"txt_backup_recommend_title": "推荐储存库",
"txt_backup_recommend_open_signup": "前往注册",
"txt_backup_recommend_open_signup_aff": "前往注册(含 AFF",
@@ -201,11 +201,11 @@ const zhCN: Record<string, string> = {
"txt_backup_import_invalid_response": "备份还原响应无效",
"txt_backup_destination": "备份地点",
"txt_backup_protocol_webdav": "WebDAV",
"txt_backup_protocol_e3": "E3",
"txt_backup_protocol_s3": "S3",
"txt_backup_recommend_group_webdav": "WebDAV",
"txt_backup_recommend_group_s3": "S3",
"txt_backup_destination_name_default_webdav": "WebDAV {index}",
"txt_backup_destination_name_default_e3": "E3 {index}",
"txt_backup_destination_name_default_s3": "S3 {index}",
"txt_backup_type": "备份类型",
"txt_backup_destination_reserved": "预留位置",
"txt_backup_time": "备份时间",
@@ -251,12 +251,12 @@ const zhCN: Record<string, string> = {
"txt_backup_webdav_username": "WebDAV 用户名",
"txt_backup_webdav_password": "WebDAV 密码",
"txt_backup_webdav_path": "远程目录",
"txt_backup_e3_endpoint": "E3 Endpoint",
"txt_backup_e3_bucket": "Bucket",
"txt_backup_e3_region": "Region",
"txt_backup_e3_access_key": "Access Key",
"txt_backup_e3_secret_key": "Secret Key",
"txt_backup_e3_path": "远程路径",
"txt_backup_s3_endpoint": "S3 端点",
"txt_backup_s3_bucket": "存储桶",
"txt_backup_s3_region": "区域",
"txt_backup_s3_access_key": "访问密钥",
"txt_backup_s3_secret_key": "秘密密钥",
"txt_backup_s3_path": "远程路径",
"txt_backup_reserved_name": "预留类型名称",
"txt_backup_reserved_notes": "预留备注",
"txt_backup_reserved_notes_placeholder": "给下一个备份地点先留个说明",
@@ -611,10 +611,10 @@ const zhCN: Record<string, string> = {
"txt_api_key_dialog_intro": "您的 API 密钥可用于在 Bitwarden CLI 中进行身份验证。",
"txt_api_key_warning_body": "您的 API 密钥是一种替代身份验证机制。请严格保密。",
"txt_oauth_client_credentials": "OAuth 2.0 客户端凭据",
"txt_client_id": "client_id",
"txt_client_secret": "client_secret",
"txt_scope": "scope",
"txt_grant_type": "grant_type",
"txt_client_id": "客户端 ID",
"txt_client_secret": "客户端密钥",
"txt_scope": "权限范围",
"txt_grant_type": "授权类型",
"txt_refresh": "刷新",
"txt_refresh_in_seconds_s": "{seconds} 秒后刷新",
"txt_regenerate": "重新生成",