Skip to content

Commit e9c0563

Browse files
committed
Add more translations for zh-hans
1 parent abce5ab commit e9c0563

File tree

5 files changed

+60
-0
lines changed

5 files changed

+60
-0
lines changed

Platform/iOS/zh-Hans.lproj/InfoPlist.strings

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* Bundle name */
2+
"CFBundleName" = "UTM SE";
3+
14
/* Privacy - Local Network Usage Description */
25
"NSLocalNetworkUsageDescription" = "虚拟机可以访问本地网络。UTM 还使用本地网络与 AltServer 通信。";
36

Platform/zh-Hans.lproj/Localizable.strings

+30
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
/* VMMetalView */
185185
"Capture Input" = "捕获输入";
186186

187+
/* No comment provided by engineer. */
188+
"Capture input automatically when entering full screen" = "进入全屏时自动捕获输入";
189+
187190
/* VMDisplayQemuMetalWindowController */
188191
"Captured mouse" = "鼠标已捕获";
189192

@@ -292,6 +295,9 @@
292295
/* No comment provided by engineer. */
293296
"Do not show prompt when USB device is plugged in" = "插入 USB 设备时不显示提示";
294297

298+
/* No comment provided by engineer. */
299+
"Do you want to copy this VM and all its data to internal storage?" = "要将此虚拟机及其所有数据拷贝到内部存储吗?";
300+
295301
/* No comment provided by engineer. */
296302
"Do you want to delete this VM and all its data?" = "要删除此虚拟机及其所有数据吗?";
297303

@@ -385,6 +391,9 @@
385391
/* UTMDownloadVMTask */
386392
"Failed to parse the downloaded VM." = "解析下载的虚拟机失败。";
387393

394+
/* VMDisplayWindowController */
395+
"Failed to save suspend state" = "无法保存挂起状态。";
396+
388397
/* UTMQemuVirtualMachine */
389398
"Failed to save VM snapshot. Usually this means at least one device does not support snapshots. %@" = "保存虚拟机快照失败。通常这意味着至少有一台设备不支持快照。%@";
390399

@@ -581,6 +590,9 @@
581590
/* UTMAppleConfigurationDevices */
582591
"Mouse" = "鼠标";
583592

593+
/* No comment provided by engineer. */
594+
"Mouse/Keyboard" = "鼠标/键盘";
595+
584596
/* No comment provided by engineer. */
585597
"Move Down" = "下移";
586598

@@ -935,6 +947,9 @@
935947
/* UTMQemuVirtualMachine */
936948
"Suspend is not supported when GPU acceleration is enabled." = "启用 GPU 加速时不支持挂起。";
937949

950+
/* UTMQemuVirtualMachine */
951+
"Suspend state cannot be saved when running in disposible mode." = "在一次性模式下运行时,无法保存挂起状态。";
952+
938953
/* VMData */
939954
"Suspended" = "已挂起";
940955

@@ -959,9 +974,21 @@
959974
/* No comment provided by engineer. */
960975
"Test" = "测试";
961976

977+
/* No comment provided by engineer. */
978+
"Test 1" = "测试 1";
979+
980+
/* No comment provided by engineer. */
981+
"Test 2" = "测试 2";
982+
962983
/* UTMConfiguration */
963984
"The backend for this configuration is not supported." = "不支持此配置的后端。";
964985

986+
/* UTMScriptingUSBDeviceImpl */
987+
"The device cannot be found." = "找不到该设备。";
988+
989+
/* UTMScriptingUSBDeviceImpl */
990+
"The device is not currently connected." = "设备目前尚未连接。";
991+
965992
/* UTMConfiguration */
966993
"The drive '%@' already exists and cannot be created." = "驱动器 '%@' 已存在,无法创建。";
967994

@@ -1153,6 +1180,9 @@
11531180
/* No comment provided by engineer. */
11541181
"VM display size is fixed" = "虚拟机显示大小为固定";
11551182

1183+
/* No comment provided by engineer. */
1184+
"Waiting for VM to connect to display..." = "等待虚拟机连接到显示...";
1185+
11561186
/* No comment provided by engineer. */
11571187
"Welcome to UTM" = "欢迎使用 UTM";
11581188

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>%lld Cores</key>
6+
<dict>
7+
<key>NSStringLocalizedFormatKey</key>
8+
<string>%#@cores@</string>
9+
<key>cores</key>
10+
<dict>
11+
<key>NSStringFormatSpecTypeKey</key>
12+
<string>NSStringPluralRuleType</string>
13+
<key>NSStringFormatValueTypeKey</key>
14+
<string>lld</string>
15+
<key>other</key>
16+
<string>%lld 核心</string>
17+
</dict>
18+
</dict>
19+
</dict>
20+
</plist>

UTM.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -1700,6 +1700,8 @@
17001700
F6DA2DAD2AAFEDAC0070DCD1 /* zh-HK */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-HK"; path = "zh-HK.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
17011701
F6DA2DAE2AAFEE060070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/VMDisplayMetalViewInputAccessory.strings"; sourceTree = "<group>"; };
17021702
F6DA2DAF2AAFEE060070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/VMDisplayWindow.strings"; sourceTree = "<group>"; };
1703+
F6DA2DB02AAFF0640070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
1704+
F6DA2DB12AAFF0640070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
17031705
FF0307542A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
17041706
FF0307562A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
17051707
FF0307572A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/VMDisplayMetalViewInputAccessory.strings"; sourceTree = "<group>"; };
@@ -3472,6 +3474,7 @@
34723474
CEB54C17293009C8000D2AA9 /* pl */,
34733475
FF0307562A84E3B70049979B /* zh-Hant */,
34743476
F6DA2DAA2AAFED5F0070DCD1 /* zh-HK */,
3477+
F6DA2DB12AAFF0640070DCD1 /* zh-Hans */,
34753478
);
34763479
name = Localizable.stringsdict;
34773480
sourceTree = "<group>";
@@ -3481,6 +3484,7 @@
34813484
children = (
34823485
FF0307542A84E3B70049979B /* zh-Hant */,
34833486
F6DA2DAD2AAFEDAC0070DCD1 /* zh-HK */,
3487+
F6DA2DB02AAFF0640070DCD1 /* zh-Hans */,
34843488
);
34853489
name = "QEMULauncher-InfoPlist.strings";
34863490
sourceTree = "<group>";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* Bundle name */
2+
"CFBundleName" = "QEMULauncher";
3+

0 commit comments

Comments
 (0)