From a9561e0ded6f5cf0d4585cea4d0c17b77fddb1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=94=9F=E6=9D=82=E7=89=A9=E6=88=BF?= <88823709+TC999@users.noreply.github.com> Date: Sun, 15 Jun 2025 19:38:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=AE=80=E4=BD=93?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E8=AF=AD=E8=A8=80=E6=96=87=E4=BB=B6=20(#3684?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 更新简体中文语言文件 * 报错照样上传文件 --- .github/workflows/dev.yml | 1 + src/locales/zh.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 0ab6dd7e6..07fd5c61f 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -61,6 +61,7 @@ jobs: pnpm prepare ${{ matrix.target }} - name: Tauri build + continue-on-error: true uses: tauri-apps/tauri-action@v0 env: NODE_OPTIONS: "--max_old_space_size=4096" diff --git a/src/locales/zh.json b/src/locales/zh.json index cc0eb7338..2fd2d52ae 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -157,6 +157,7 @@ "Edit File": "编辑文件", "Open File": "打开文件", "Update": "更新", + "Update via proxy": "更新(代理)", "Update(Proxy)": "更新(代理)", "Confirm deletion": "确认删除", "This operation is not reversible": "此操作不可逆", @@ -204,9 +205,11 @@ "TUN requires Service Mode": "TUN 模式需要安装服务", "Install Service": "安装服务", "Install Service failed": "安装服务失败", + "Uninstall Service": "卸载服务", "Restart Core failed": "重启核心失败", "Reset to Default": "重置为默认值", "Tun Mode Info": "TUN(虚拟网卡)模式接管系统所有流量,启用时无须打开系统代理", + "TUN requires Service Mode or Admin Mode": "TUN 模式需要安装服务模式或管理员模式", "System Proxy Enabled": "系统代理已启用,您的应用将通过代理访问网络", "System Proxy Disabled": "系统代理已关闭,建议大多数用户打开此选项", "TUN Mode Enabled": "TUN 模式已启用,应用将通过虚拟网卡访问网络", @@ -394,6 +397,17 @@ "Installing Service...": "安装服务中...", "Service Installed Successfully": "已成功安装服务", "Service Uninstalled Successfully": "已成功卸载服务", + "Waiting for service to be ready...": "等待服务准备就绪...", + "Service not ready, retrying attempt {count}/{total}...": "服务未就绪,正在重试 {count}/{total} 次...", + "Failed to check service status, retrying attempt {count}/{total}...": "检查服务状态失败,正在重试 {count}/{total} 次...", + "Service did not become ready after attempts. Proceeding with core restart.": "服务在尝试后仍未就绪。正在重启内核。", + "Restarting Core...": "正在重启内核...", + "Service was ready, but core restart might have issues or service became unavailable. Please check.": "服务已就绪,但内核重启可能存在问题或服务变得不可用。请检查。", + "Service installation or core restart encountered issues. Service might not be available. Please check system logs.": "服务安装或内核重启遇到问题。服务可能不可用。请检查系统日志。", + "Attempting to restart core as a fallback...": "尝试重启内核作为后备方案...", + "Fallback core restart also failed: {message}": "后备内核重启也失败了: {{message}}", + "Service is ready and core restarted": "服务已就绪,内核已重启", + "Core restarted. Service is now available.": "内核已重启,服务现已可用", "Proxy Daemon Duration Cannot be Less than 1 Second": "代理守护间隔时间不得低于 1 秒", "Invalid Bypass Format": "无效的代理绕过格式", "Clash Port Modified": "Clash 端口已修改",