Skip to content

Commit

Permalink
Merge pull request #6742 from changanmoon/main
Browse files Browse the repository at this point in the history
Update translations for zh-Hans & zh-HK
  • Loading branch information
osy authored Nov 20, 2024
2 parents 2c52c0d + 25cc995 commit b4f6030
Show file tree
Hide file tree
Showing 15 changed files with 413 additions and 413 deletions.
66 changes: 33 additions & 33 deletions Documentation/TetheredLaunch.zh-HK.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
# 不完全啟動
# 捆綁式啟動

在iOS14中,Apple[修補][1]了我們用來使JIT工作的“把戲”。 因此,下一個最佳的解決方案所涉及的範圍更廣。 這只支援非越獄設備。 如果你越獄了,你不需要這樣做
在 iOS 14 當中,Apple [修複][1]了我們之前令 JIT 工作的“蠱惑招”。因此,下一個最佳的變通方法涉及更多。這只限用於未越獄的裝置。如你已經越獄,就無需這樣做

## 前條件
## 先決條件

* Xcode
* [最新的正用版IPA][3]
* [iOS App Signer][4]
* [Homebrew][2]
* [ios-deploy][5] (`brew install ios-deploy`)
* Xcode
* [最新版本的 IPA][3]
* [iOS App Signer][4]
* [Homebrew][2]
* [ios-deploy][5] (`brew install ios-deploy`)

## 簽字
## 簽署

安裝並按照[iOS App Signer][4]的說明進行操作。 請確保您的簽字證書和配置文件匹配。 選擇UTM.ipa正式版作為輸入文件並且按下開始
安裝並依照 [iOS App Signer][4] 的說明執行操作。確保你的簽署證書與配置檔案匹配。選擇 UTM.ipa 發行版本作為輸入檔案,然後按一下「開始」

將已簽字的IPA保存為`UTM-signed.ipa`過程完成後將`UTM-signed.ipa`重命名為`UTM-signed.zip`並且打開ZIP文件。 macOS會將文件提取至名為`Payload/`的新目錄
將已經簽署的 IPA 儲存為 `UTM-signed.ipa`完成程序之後,將 `UTM-signed.ipa` 重新命名為`UTM-signed.zip`,並且開啟 ZIP 檔案。macOS 應將檔案解壓縮至名稱為 `Payload/` 的新目錄當中

## 部署
## 部署

要部署UTM,連接你的設備然後在終端中運行
如要部署 UTM,連接你的裝置並在終端機中執行

```sh
ios-deploy --bundle /path/to/Payload/UTM.app
```
```sh
ios-deploy --bundle /path/to/Payload/UTM.app
```

(提示:你可以把 `Payload/UTM.app` 拖放進終端來自動填充目錄。)
(貼士:你可以拖放 `Payload/UTM.app` 至終端機以自動填充目錄。)

## 啟動
## 啟動

當你每次希望啟動UTM時,都需要運行以下命令。 (你無法在iOS14中從主頁面正常啟動UTM否則它無法正常運行!)
如你每次希望啟動 UTM,都需要執行以下內容。(在 iOS 14 當中,不應該透過主畫面啟動 UTM,否則它將無法正常工作!)

```sh
ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app
```
```sh
ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app
```

(提示:如果您打開Xcode並轉到Window->Devices and Simulators並找到您的設備,那麼您可以選中“Connect via network”(通過網路連接)以便在沒有USB連線的情況下部署/啟動。你只 需要解鎖設備並靠近你的電腦。)
(貼士:如你要開啟 Xcode 並轉到 Window > Devices and Simulators 找到你的裝置,則你可以選中「Connect via network」以便於在無 USB 連線的條件下部署/啟動。你只需要解鎖裝置並令它靠近你的電腦。)

## 疑難解答
## 疑難排解

### 信任問題
### 信任問題

如果你看見了消息`The operation couldn't be completed. Unable to launch xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.(無法完成操作。無法啟動xxx, 因為它的代碼簽名無效、授權不足或其配置文件未被用戶明確信任。 )`,你需要打開設置-> 通用-> 設備管理,選擇開發者描述文件,然後選擇信任
如你看到訊息`The operation couldn't be completed. Unable to launch xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.`,你需要開啟設定 > 一般 > 裝置管理,選擇「開發者描述檔」,然後選擇「信任」

### 註冊捆綁標識符失敗
### 註冊套裝識別碼失敗(Failed to register bundle identifier)

Xcode 可能在嘗試創建簽名配置文件時顯示此消息,您需要更改綁定標識符並重試
Xcode 可能在嘗試製作簽名設定檔時顯示此訊息,你需要更改套裝識別碼,然後再試

[1]: https://github.com/utmapp/UTM/issues/397
[2]: https://brew.sh
[3]: https://github.com/utmapp/UTM/releases
[4]: https://dantheman827.github.io/ios-app-signer/
[5]: https://github.com/ios-control/ios-deploy
[1]: https://github.com/utmapp/UTM/issues/397
[2]: https://brew.sh
[3]: https://github.com/utmapp/UTM/releases
[4]: https://dantheman827.github.io/ios-app-signer/
[5]: https://github.com/ios-control/ios-deploy
24 changes: 12 additions & 12 deletions Documentation/TetheredLaunch.zh-Hans.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
# 不完美启动
# 捆绑启动

在iOS14中,苹果[修补][1]了我们用来让JIT工作的“把戏”。因此,下一个最佳的解决方案所涉及的范围更广。这只适用于非越狱设备。 如果你越狱了,你不需要这样做
在 iOS 14 中,Apple [修补][1]了我们用来让 JIT 工作的“把戏”。因此,下一个最佳的解决方案所涉及的范围更广。这一操作只适用于非越狱设备。如果你已经越狱,就不需要这样做了

## 前置条件

* Xcode
* [最新的正式版IPA][3]
* [最新版本的 IPA][3]
* [iOS App Signer][4]
* [Homebrew][2]
* [ios-deploy][5] (`brew install ios-deploy`)

## 签名

安装并按照[iOS App Signer][4]的说明进行操作。请确保您的签名证书和配置文件匹配。 选择UTM.ipa正式版作为输入文件并且按下开始
安装并按照 [iOS App Signer][4] 的说明进行操作。确保你的签名证书和配置文件相匹配。选择 UTM.ipa 版本作为输入的文件,然后点击“开始”

将已签名的IPA保存为`UTM-signed.ipa`过程完成后将`UTM-signed.ipa`重命名为`UTM-signed.zip`并且打开ZIP文件。 macOS会将文件提取至名为`Payload/`的新目录
将已签名的 IPA 保存为 `UTM-signed.ipa`完成操作后将 `UTM-signed.ipa` 重命名为 `UTM-signed.zip`,打开 ZIP 文件。 macOS 会将文件提取到名为`Payload/`的新目录中

## 部署

要部署UTM,连接你的设备然后在终端中运行
若要部署 UTM,请连接你的设备,然后在终端中运行

```sh
ios-deploy --bundle /path/to/Payload/UTM.app
```

(提示:你可以把 `Payload/UTM.app` 拖放进终端来自动填充目录。)
提示:你可以把 `Payload/UTM.app` 拖放进终端来自动填充目录。

## 启动

当你每次希望启动UTM时,都需要运行以下命令。 (你无法在iOS14中从主屏幕正常启动UTM否则它无法正常运行!)
当你每次希望启动 UTM 时,都需要运行如下命令。(不能在 iOS 14 中从主屏幕启动 UTM,否则它将无法正常工作!)

```sh
ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app
```

(提示:如果您打开Xcode并转到Window->Devices and Simulators并找到您的设备,那么您可以选中“Connect via network”(通过网络连接)以便在没有USB电缆的情况下部署/启动。你只需要解锁设备并靠近你的电脑。)
提示:如果你打开了 Xcode 并转到窗口(Window)> 设备和模拟器(Devices and Simulators)并找到你的设备,可以勾选“通过网络连接”,以便在没有 USB 电缆的情况下部署/启动。只需要解锁设备并靠近你的电脑即可。)

## 疑难解答

### 信任问题

如果你看见了消息:`The operation couldn’t be completed. Unable to launch xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.(无法完成操作。无法启动xxx,因为它的代码签名无效、授权不足或其配置文件未被用户明确信任。 `,你需要打开设置 -> 通用 -> 设备管理,选择开发者描述文件,然后选择信任。
如果你看到了消息 `The operation couldn’t be completed. Unable to launch xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.(无法完成操作。无法启动 xxx,因为它的代码签名无效,授权不足,或者其配置文件尚未被用户明确信任。`,你需要打开设置 > 通用 > 设备管理,选择开发者描述文件,然后选择信任。

### 注册捆绑标识符失败
### 注册捆绑包标识符失败(Failed to register bundle identifier)

Xcode 可能在尝试创建签名配置文件时显示此消息,您需要更改绑定标识符并重试
Xcode 可能在尝试创建签名配置文件时显示此消息,你需要更改绑定标识符并重试

[1]: https://github.com/utmapp/UTM/issues/397
[2]: https://brew.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"bCv-uH-SSy.normalTitle" = "⌃";

/* Class = "UIButton"; accessibilityLabel = "Num Lock"; ObjectID = "BUk-Vf-yE5"; */
"BUk-Vf-yE5.accessibilityLabel" = "Num Lock";
"BUk-Vf-yE5.accessibilityLabel" = "Number Lock";

/* Class = "UIButton"; normalTitle = "Num"; ObjectID = "BUk-Vf-yE5"; */
"BUk-Vf-yE5.normalTitle" = "Num";
Expand Down Expand Up @@ -68,7 +68,7 @@
"gUX-ez-mbt.normalTitle" = "F3";

/* Class = "UIButton"; accessibilityLabel = "Page Down"; ObjectID = "h4q-XF-UMn"; */
"h4q-XF-UMn.accessibilityLabel" = "下頁";
"h4q-XF-UMn.accessibilityLabel" = "下一頁";

/* Class = "UIButton"; normalTitle = "Pg Dn"; ObjectID = "h4q-XF-UMn"; */
"h4q-XF-UMn.normalTitle" = "Pg Dn";
Expand Down Expand Up @@ -119,7 +119,7 @@
"PWe-Va-Qi1.normalTitle" = "F1";

/* Class = "UIButton"; accessibilityLabel = "Page Up"; ObjectID = "pX1-7o-dbU"; */
"pX1-7o-dbU.accessibilityLabel" = "上頁";
"pX1-7o-dbU.accessibilityLabel" = "上一頁";

/* Class = "UIButton"; normalTitle = "Pg Up"; ObjectID = "pX1-7o-dbU"; */
"pX1-7o-dbU.normalTitle" = "Pg Up";
Expand Down
6 changes: 3 additions & 3 deletions Platform/iOS/zh-HK.lproj/Info-RemotePlist.strings
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* Bundle name */
"CFBundleName" = "UTM 遠端";
"CFBundleName" = "UTM 遙距";

/* Privacy - Local Network Usage Description */
"NSLocalNetworkUsageDescription" = "UTM 使用本地網絡尋找並連接至 UTM 遠端伺服器。";
"NSLocalNetworkUsageDescription" = "UTM 使用區域網絡尋找並連接到 UTM 遙距伺服器。";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虛擬電腦都需要許可才能由咪高風進行錄製。";
"NSMicrophoneUsageDescription" = "任何虛擬機器都需要權限才能從咪高風錄製。";

12 changes: 6 additions & 6 deletions Platform/iOS/zh-HK.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"CFBundleName" = "UTM";

/* Privacy - Local Network Usage Description */
"NSLocalNetworkUsageDescription" = "虛擬電腦可以訪問本地網絡。UTM 還會使用本地網絡與 AltServer 進行通信。";
"NSLocalNetworkUsageDescription" = "虛擬機器可以取用區域網絡。UTM 還會使用區域網絡與 AltServer 通訊。";

/* Privacy - Location Always and When In Use Usage Description */
"NSLocationAlwaysAndWhenInUseUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料永不離開設備。";
"NSLocationAlwaysAndWhenInUseUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料絕對不會離開裝置。";

/* Privacy - Location Always Usage Description */
"NSLocationAlwaysUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料永不離開設備。";
"NSLocationAlwaysUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料絕對不會離開裝置。";

/* Privacy - Location When In Use Usage Description */
"NSLocationWhenInUseUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料永不離開設備。";
"NSLocationWhenInUseUsageDescription" = "UTM 定期請求位置資料,以確保系統保持背景程序處於啟用狀態。位置資料絕對不會離開裝置。";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虛擬電腦都需要許可才能由咪高風進行錄製。";
"NSMicrophoneUsageDescription" = "任何虛擬機器都需要權限才能從咪高風錄製。";

/* (No Comment) */
"UTM virtual machine" = "UTM 虛擬電腦";
"UTM virtual machine" = "UTM 虛擬機器";

2 changes: 1 addition & 1 deletion Platform/iOS/zh-Hans.lproj/Info-Remote-InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"NSLocalNetworkUsageDescription" = "UTM 使用本地网络查找和连接 UTM 远程服务器。";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虚拟机都需要获得许可才能从麦克风录音。";
"NSMicrophoneUsageDescription" = "任何虚拟机都需要权限才能通过麦克风录音。";

2 changes: 1 addition & 1 deletion Platform/iOS/zh-Hans.lproj/Info-RemotePlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"NSLocalNetworkUsageDescription" = "UTM 使用本地网络查找并连接到 UTM 远程服务器。";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虚拟机都需要获得许可才能从麦克风录音。";
"NSMicrophoneUsageDescription" = "任何虚拟机都需要权限才能通过麦克风录音。";

10 changes: 5 additions & 5 deletions Platform/iOS/zh-Hans.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"CFBundleName" = "UTM";

/* Privacy - Local Network Usage Description */
"NSLocalNetworkUsageDescription" = "虚拟机可能会访问本地网络。UTM 还使用本地网络与 AltServer 通信。";
"NSLocalNetworkUsageDescription" = "虚拟机可能会访问本地网络。UTM 还会使用本地网络与 AltServer 通信。";

/* Privacy - Location Always and When In Use Usage Description */
"NSLocationAlwaysAndWhenInUseUsageDescription" = "UTM 定期请求位置数据,以确保系统保持后台进程处于活动状态。位置数据永远不会离开设备。";
"NSLocationAlwaysAndWhenInUseUsageDescription" = "UTM 定期请求位置数据,以确保系统维持后台进程处于活动状态。位置数据永远不会脱离设备。";

/* Privacy - Location Always Usage Description */
"NSLocationAlwaysUsageDescription" = "UTM 定期请求位置数据,以确保系统保持后台进程处于活动状态。位置数据永远不会离开设备。";
"NSLocationAlwaysUsageDescription" = "UTM 定期请求位置数据,以确保系统维持后台进程处于活动状态。位置数据永远不会脱离设备。";

/* Privacy - Location When In Use Usage Description */
"NSLocationWhenInUseUsageDescription" = "UTM 定期请求位置数据,以确保系统保持后台进程处于活动状态。位置数据永远不会离开设备。";
"NSLocationWhenInUseUsageDescription" = "UTM 定期请求位置数据,以确保系统维持后台进程处于活动状态。位置数据永远不会脱离设备。";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虚拟机都需要获得许可才能从麦克风录音。";
"NSMicrophoneUsageDescription" = "任何虚拟机都需要权限才能通过麦克风录音。";

/* (No Comment) */
"UTM virtual machine" = "UTM 虚拟机";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"Ulf-oT-4cP.paletteLabel" = "重新调整控制台";

/* Class = "NSToolbarItem"; toolTip = "Send console resize command"; ObjectID = "Ulf-oT-4cP"; */
"Ulf-oT-4cP.toolTip" = "发送控制台重新调整命令";
"Ulf-oT-4cP.toolTip" = "发送控制台重新调整大小命令";

/* Class = "NSButton"; ibShadowedToolTip = "Starts/resumes the VM"; ObjectID = "ZTi-Hs-ge6"; */
"ZTi-Hs-ge6.ibShadowedToolTip" = "启动/恢复虚拟机";
Expand Down
4 changes: 2 additions & 2 deletions Platform/macOS/zh-HK.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"CFBundleName" = "UTM";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虛擬電腦都需要許可才能由咪高風進行錄製。";
"NSMicrophoneUsageDescription" = "任何虛擬機器都需要權限才能從咪高風錄製。";

/* (No Comment) */
"UTM virtual machine" = "UTM 虛擬電腦";
"UTM virtual machine" = "UTM 虛擬機器";

2 changes: 1 addition & 1 deletion Platform/macOS/zh-Hans.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"CFBundleName" = "UTM";

/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "任何虚拟机都需要获得权限才能从麦克风进行录音。";
"NSMicrophoneUsageDescription" = "任何虚拟机都需要权限才能通过麦克风录音。";

/* (No Comment) */
"UTM virtual machine" = "UTM 虚拟机";
Expand Down
Loading

0 comments on commit b4f6030

Please sign in to comment.