Skip to content

Commit c5db4f3

Browse files
authored
Add zh-Hans translations for UI and prompts (#48)
Added zh-Hans translations: - UI text in Main.strings, adjusted for aesthetic alignment due to `alignment="center"` in Main.storyboard. - Prompts in Localizable.strings from Util.swift.
1 parent 2572a5e commit c5db4f3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

TmpDisk/zh-Hans.lproj/Localizable.strings

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@
2727
"The volume \"%@\" wasn't ejected because one or more programs may be using it" = "无法推出卷 \"%@\" , 因为有一个或多个程序正在使用";
2828
"To eject the disk immediately, hit the Force Eject button" = "选择\"强制推出\"按钮以强制推出";
2929
"Force Eject" = "强制推出";
30+
"Do you wish to install TmpDiskHelper? It will require your admin password." = "您想安装 TmpDiskHelper 吗?需要管理员密码确认。";
31+
"There is an updated TmpDiskHelper, do you wish to install it? Requires admin password." = "有一个新版的 TmpDiskHelper,您想安装吗?需要管理员密码确认。";

TmpDisk/zh-Hans.lproj/Main.strings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,3 +577,6 @@
577577

578578
/* Class = "NSMenuItem"; title = "Show Substitutions"; ObjectID = "z6F-FW-3nz"; */
579579
"z6F-FW-3nz.title" = "Show Substitutions";
580+
581+
/* Class = "NSTextFieldCell"; title = "Installing the TmpDiskCreator Helper can install TmpFS TmpDisks without asking for your root password. Requires Admin password to install"; ObjectID = "LLv-lK-dgg"; */
582+
"LLv-lK-dgg.title" = "安装 TmpDiskHelper 后,无需输入 root 密码即可创建 TmpFS 临时磁盘。安装时需要管理员密码";

0 commit comments

Comments
 (0)