Преглед на файлове

Add more translations for zh-hans

Tiffany Fung преди 1 година
родител
ревизия
e9c056367d

+ 3 - 0
Platform/iOS/zh-Hans.lproj/InfoPlist.strings

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

+ 30 - 0
Platform/zh-Hans.lproj/Localizable.strings

@@ -184,6 +184,9 @@
 /* VMMetalView */
 "Capture Input" = "捕获输入";
 
+/* No comment provided by engineer. */
+"Capture input automatically when entering full screen" = "进入全屏时自动捕获输入";
+
 /* VMDisplayQemuMetalWindowController */
 "Captured mouse" = "鼠标已捕获";
 
@@ -292,6 +295,9 @@
 /* No comment provided by engineer. */
 "Do not show prompt when USB device is plugged in" = "插入 USB 设备时不显示提示";
 
+/* No comment provided by engineer. */
+"Do you want to copy this VM and all its data to internal storage?" = "要将此虚拟机及其所有数据拷贝到内部存储吗?";
+
 /* No comment provided by engineer. */
 "Do you want to delete this VM and all its data?" = "要删除此虚拟机及其所有数据吗?";
 
@@ -385,6 +391,9 @@
 /* UTMDownloadVMTask */
 "Failed to parse the downloaded VM." = "解析下载的虚拟机失败。";
 
+/* VMDisplayWindowController */
+"Failed to save suspend state" = "无法保存挂起状态。";
+
 /* UTMQemuVirtualMachine */
 "Failed to save VM snapshot. Usually this means at least one device does not support snapshots. %@" = "保存虚拟机快照失败。通常这意味着至少有一台设备不支持快照。%@";
 
@@ -581,6 +590,9 @@
 /* UTMAppleConfigurationDevices */
 "Mouse" = "鼠标";
 
+/* No comment provided by engineer. */
+"Mouse/Keyboard" = "鼠标/键盘";
+
 /* No comment provided by engineer. */
 "Move Down" = "下移";
 
@@ -935,6 +947,9 @@
 /* UTMQemuVirtualMachine */
 "Suspend is not supported when GPU acceleration is enabled." = "启用 GPU 加速时不支持挂起。";
 
+/* UTMQemuVirtualMachine */
+"Suspend state cannot be saved when running in disposible mode." = "在一次性模式下运行时,无法保存挂起状态。";
+
 /* VMData */
 "Suspended" = "已挂起";
 
@@ -959,9 +974,21 @@
 /* No comment provided by engineer. */
 "Test" = "测试";
 
+/* No comment provided by engineer. */
+"Test 1" = "测试 1";
+
+/* No comment provided by engineer. */
+"Test 2" = "测试 2";
+
 /* UTMConfiguration */
 "The backend for this configuration is not supported." = "不支持此配置的后端。";
 
+/* UTMScriptingUSBDeviceImpl */
+"The device cannot be found." = "找不到该设备。";
+
+/* UTMScriptingUSBDeviceImpl */
+"The device is not currently connected." = "设备目前尚未连接。";
+
 /* UTMConfiguration */
 "The drive '%@' already exists and cannot be created." = "驱动器 '%@' 已存在,无法创建。";
 
@@ -1153,6 +1180,9 @@
 /* No comment provided by engineer. */
 "VM display size is fixed" = "虚拟机显示大小为固定";
 
+/* No comment provided by engineer. */
+"Waiting for VM to connect to display..." = "等待虚拟机连接到显示...";
+
 /* No comment provided by engineer. */
 "Welcome to UTM" = "欢迎使用 UTM";
 

+ 20 - 0
Platform/zh-Hans.lproj/Localizable.stringsdict

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>%lld Cores</key>
+	<dict>
+		<key>NSStringLocalizedFormatKey</key>
+		<string>%#@cores@</string>
+		<key>cores</key>
+		<dict>
+			<key>NSStringFormatSpecTypeKey</key>
+			<string>NSStringPluralRuleType</string>
+			<key>NSStringFormatValueTypeKey</key>
+			<string>lld</string>
+			<key>other</key>
+			<string>%lld 核心</string>
+		</dict>
+	</dict>
+</dict>
+</plist>

+ 4 - 0
UTM.xcodeproj/project.pbxproj

@@ -1700,6 +1700,8 @@
 		F6DA2DAD2AAFEDAC0070DCD1 /* zh-HK */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-HK"; path = "zh-HK.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
 		F6DA2DAE2AAFEE060070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/VMDisplayMetalViewInputAccessory.strings"; sourceTree = "<group>"; };
 		F6DA2DAF2AAFEE060070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/VMDisplayWindow.strings"; sourceTree = "<group>"; };
+		F6DA2DB02AAFF0640070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
+		F6DA2DB12AAFF0640070DCD1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
 		FF0307542A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/QEMULauncher-InfoPlist.strings"; sourceTree = "<group>"; };
 		FF0307562A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
 		FF0307572A84E3B70049979B /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/VMDisplayMetalViewInputAccessory.strings"; sourceTree = "<group>"; };
@@ -3472,6 +3474,7 @@
 				CEB54C17293009C8000D2AA9 /* pl */,
 				FF0307562A84E3B70049979B /* zh-Hant */,
 				F6DA2DAA2AAFED5F0070DCD1 /* zh-HK */,
+				F6DA2DB12AAFF0640070DCD1 /* zh-Hans */,
 			);
 			name = Localizable.stringsdict;
 			sourceTree = "<group>";
@@ -3481,6 +3484,7 @@
 			children = (
 				FF0307542A84E3B70049979B /* zh-Hant */,
 				F6DA2DAD2AAFEDAC0070DCD1 /* zh-HK */,
+				F6DA2DB02AAFF0640070DCD1 /* zh-Hans */,
 			);
 			name = "QEMULauncher-InfoPlist.strings";
 			sourceTree = "<group>";

+ 3 - 0
zh-Hans.lproj/QEMULauncher-InfoPlist.strings

@@ -0,0 +1,3 @@
+/* Bundle name */
+"CFBundleName" = "QEMULauncher";
+