From d31531f88b3ecd227170e22792cd7892223f4598 Mon Sep 17 00:00:00 2001 From: YoVinchen Date: Mon, 24 Nov 2025 00:47:48 +0800 Subject: [PATCH] feat(i18n): update translations for SQL backup feature - Update Chinese translations for SQL import/export - Update English translations for SQL import/export - Change terminology from 'config file' to 'SQL backup' - Update error messages and UI hints --- src/i18n/locales/en.json | 12 ++++++------ src/i18n/locales/zh.json | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 3583437..6276f48 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -145,10 +145,10 @@ "themeLight": "Light", "themeDark": "Dark", "themeSystem": "System", - "importExport": "Import/Export Config", - "importExportHint": "Import or export CC Switch configuration for backup or migration.", - "exportConfig": "Export Config to File", - "selectConfigFile": "Select Config File", + "importExport": "SQL Import/Export", + "importExportHint": "Import or export database SQL backups for migration or restore.", + "exportConfig": "Export SQL Backup", + "selectConfigFile": "Select SQL File", "noFileSelected": "No configuration file selected.", "import": "Import", "importing": "Importing...", @@ -159,8 +159,8 @@ "importPartialHint": "Please manually reselect the provider to refresh the live configuration.", "configExported": "Config exported to:", "exportFailed": "Export failed", - "selectFileFailed": "Failed to select file", - "configCorrupted": "Config file may be corrupted or invalid", + "selectFileFailed": "Please choose a valid SQL backup file", + "configCorrupted": "SQL file may be corrupted or invalid", "backupId": "Backup ID", "autoReload": "Data will refresh automatically in 2 seconds...", "languageOptionChinese": "中文", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index d29c35d..91c8279 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -145,10 +145,10 @@ "themeLight": "浅色", "themeDark": "深色", "themeSystem": "跟随系统", - "importExport": "导入导出配置", - "importExportHint": "导入导出 CC Switch 配置,便于备份或迁移。", - "exportConfig": "导出配置到文件", - "selectConfigFile": "选择配置文件", + "importExport": "SQL 导入导出", + "importExportHint": "导入/导出数据库 SQL 备份,便于备份或迁移。", + "exportConfig": "导出 SQL 备份", + "selectConfigFile": "选择 SQL 文件", "noFileSelected": "尚未选择配置文件。", "import": "导入", "importing": "导入中...", @@ -159,8 +159,8 @@ "importPartialHint": "请手动重新选择一次供应商以刷新对应配置。", "configExported": "配置已导出到:", "exportFailed": "导出失败", - "selectFileFailed": "选择文件失败", - "configCorrupted": "配置文件可能已损坏或格式不正确", + "selectFileFailed": "请选择有效的 SQL 备份文件", + "configCorrupted": "SQL 文件可能已损坏或格式不正确", "backupId": "备份ID", "autoReload": "数据将在2秒后自动刷新...", "languageOptionChinese": "中文",