From f5b27606ca09acaea700cf89f07aa12f35f019ab Mon Sep 17 00:00:00 2001 From: gexgd0419 <55008943+gexgd0419@users.noreply.github.com> Date: Mon, 25 Oct 2021 21:02:11 +0800 Subject: [PATCH] Make some strings translatable & update Chinese Simplified translation --- SandboxiePlus/SandMan/SandMan.cpp | 2 +- .../SandMan/Windows/OptionsGeneral.cpp | 2 +- SandboxiePlus/SandMan/sandman_zh_CN.ts | 136 ++++++++++-------- 3 files changed, 75 insertions(+), 65 deletions(-) diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index 0108ac8d..d88ec2ba 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -494,7 +494,7 @@ void CSandMan::CreateToolBar() m_pToolBar->addSeparator(); m_pToolBar->addWidget(new QLabel(" ")); - QLabel* pSupportLbl = new QLabel("Support Sandboxie-Plus on Patreon"); + QLabel* pSupportLbl = new QLabel(tr("Support Sandboxie-Plus on Patreon")); pSupportLbl->setTextInteractionFlags(Qt::TextBrowserInteraction); connect(pSupportLbl, SIGNAL(linkActivated(const QString&)), this, SLOT(OnHelp())); m_pToolBar->addWidget(pSupportLbl); diff --git a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp index c474dd17..5ab451f7 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp @@ -215,7 +215,7 @@ void COptionsWindow::OnGeneralChanged() void COptionsWindow::OnPickColor() { - QColor color = QColorDialog::getColor(m_BorderColor, this, "Select color"); + QColor color = QColorDialog::getColor(m_BorderColor, this, tr("Select color")); if (!color.isValid()) return; m_GeneralChanged = true; diff --git a/SandboxiePlus/SandMan/sandman_zh_CN.ts b/SandboxiePlus/SandMan/sandman_zh_CN.ts index b033b958..f3b399e0 100644 --- a/SandboxiePlus/SandMan/sandman_zh_CN.ts +++ b/SandboxiePlus/SandMan/sandman_zh_CN.ts @@ -24,12 +24,12 @@ 恢复到相同文件夹 - + Select Directory 选择目录 - + Create Shortcut to sandbox %1 为沙盒 %1 创建快捷方式 @@ -134,12 +134,12 @@ 浏览文件夹 - + This sandbox has been deleted hence configuration can not be saved. 该沙盒已被删除,因此配置无法保存。 - + Some changes haven't been saved yet, do you really want to close this options window? 部分变更未保存,确定关闭这个选项窗口吗? @@ -148,6 +148,11 @@ kilobytes (%1) KB (%1) + + + Select color + 选择颜色 + Please enter a program path @@ -201,8 +206,8 @@ - - + + Group: %1 组: %1 @@ -212,7 +217,7 @@ 请输入新组的名称 - + Enter program: 请输入程序: @@ -430,27 +435,27 @@ BT 种子(Torrent)客户端 - + This template is enabled globally. To configure it, use the global options. 此模板已全局启用。如需配置,请前往全局选项。 - + Please enter the template identifier 请输入模板标识符 - + Error: %1 错误:%1 - + Only local templates can be removed! 仅可删除本地模板! - + Do you really want to delete the selected local template? 确定要删除所选的本地模板吗? @@ -803,73 +808,73 @@ Full path: %4 Waiting for folder: %1 - + 正在等待文件夹: %1 Deleting folder: %1 - + 正在删除文件夹: %1 Merging folders: %1 &gt;&gt; %2 - + 正在合并文件夹: %1 &gt;&gt; %2 Finishing Snapshot Merge... - + 正在完成快照合并... CSandBoxPlus - + Disabled 禁用 - + Empty - + NOT SECURE (Debug Config) 不安全!(调试用配置) - + Reduced Isolation 削弱隔离 - + Enhanced Isolation 加强隔离 - + API Log API 日志 - + No INet 无网络 - + Net Share 网络共享 - + No Admin 无管理员 - + Normal 标准 @@ -1149,6 +1154,11 @@ Full path: %4 Cleanup 清理 + + + <a href="https://sandboxie-plus.com/go.php?to=patreon">Support Sandboxie-Plus on Patreon</a> + <a href="https://sandboxie-plus.com/go.php?to=patreon">在 Patreon 上支持 Sandboxie-Plus</a> + Do you want to close Sandboxie Manager? @@ -1697,17 +1707,17 @@ No will choose: %2 CSbieProcess - + Sbie RpcSs Sbie RPC 子系统 - + Sbie DcomLaunch Sbie DCOM 服务启动器 - + Sbie Crypto Sbie 密码学服务 @@ -1716,168 +1726,168 @@ No will choose: %2 Sbie 微软自动更新服务 - + Sbie WuauServ Sbie 微软自动更新服务 - + Sbie BITS Sbie 后台智能传输服务 - + Sbie Svc 沙盘软件服务 - + MSI Installer Msi Installer MSI 安装程序 - + Trusted Installer 可信安装程序 - + Windows Update Windows 更新 - + Windows Explorer Windows 文件资源管理器 - + Internet Explorer Internet Explorer - + Firefox FireFox Firefox - + Windows Media Player Windows Media Player - + Winamp WinAmp Winamp - + KMPlayer KM Player KMPlayer - + Windows Live Mail Windows Live Mail - + Service Model Reg 服务模型注册表 - + RunDll32 RunDll32 - - + + DllHost DllHost - + Windows Ink Services Windows 快捷方式服务 - + Chromium Based 基于 Chromium 的浏览器 - + Google Updater Google 更新程序 - + Acrobat Reader Acrobat Reader - + MS Outlook 微软 Outlook - + MS Excel 微软 Excel - + Flash Player Flash Player - + Firefox Plugin Container FireFox Plugin Container Firefox 插件容器 - + Generic Web Browser 常规网页浏览器 - + Generic Mail Client 常规电子邮件客户端 - + Thunderbird Thunderbird - + Terminated 已终止 - + Forced 必沙 - + Running 正在运行 - + in session %1 位于会话 %1 - + (%1) (%1) @@ -3418,7 +3428,7 @@ Note: Forced Programs and Force Folders settings for a sandbox do not apply to Allow use of nested job objects (experimental, works on Windows 8 and later) - 允许使用嵌套工作对象 (job object) (实验性;适用于 Windows 8 及更高版本) + 允许使用嵌套作业对象 (job object) (实验性;适用于 Windows 8 及更高版本)