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
+9 -9
View File
@@ -38,7 +38,7 @@ const en: Record<string, string> = {
"txt_backup_manual": "Manual Backup",
"txt_backup_manual_description": "Export a ZIP right now, or import a ZIP back into this instance.",
"txt_backup_destinations_title": "Backup Destinations",
"txt_backup_destinations_description": "Keep multiple WebDAV and E3 targets here. Select one on the left to edit or browse it.",
"txt_backup_destinations_description": "Keep multiple WebDAV and S3 targets here. Select one on the left to edit or browse it.",
"txt_backup_recommend_title": "Recommended Storage",
"txt_backup_recommend_open_signup": "Open Signup",
"txt_backup_recommend_open_signup_aff": "Open Signup (AFF)",
@@ -201,11 +201,11 @@ const en: Record<string, string> = {
"txt_backup_import_invalid_response": "Invalid backup import response",
"txt_backup_destination": "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": "Backup Type",
"txt_backup_destination_reserved": "Reserved Slot",
"txt_backup_time": "Backup Time",
@@ -251,12 +251,12 @@ const en: Record<string, string> = {
"txt_backup_webdav_username": "WebDAV Username",
"txt_backup_webdav_password": "WebDAV Password",
"txt_backup_webdav_path": "Remote Folder",
"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": "Remote Path",
"txt_backup_s3_endpoint": "S3 Endpoint",
"txt_backup_s3_bucket": "Bucket",
"txt_backup_s3_region": "Region",
"txt_backup_s3_access_key": "Access Key",
"txt_backup_s3_secret_key": "Secret Key",
"txt_backup_s3_path": "Remote Path",
"txt_backup_reserved_name": "Reserved Provider Name",
"txt_backup_reserved_notes": "Reserved Notes",
"txt_backup_reserved_notes_placeholder": "Leave a note for the next destination type",