diff --git a/Fix-chinese-translation-error.patch b/Fix-chinese-translation-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..b7f559c1e17df7ce1e0e1016f6c11e42439781d9 --- /dev/null +++ b/Fix-chinese-translation-error.patch @@ -0,0 +1,126 @@ +From b421954d3069e6ba80b530f51264fd84fa77e60a Mon Sep 17 00:00:00 2001 +From: lijunwei +Date: Wed, 18 Dec 2024 17:18:39 +0800 +Subject: [PATCH] Fix-chinese-translation-error + +--- + po/zh_CN.po | 27 +++++++++++++++++---------- + 1 file changed, 17 insertions(+), 10 deletions(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 292c293..04196a3 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -1303,7 +1303,7 @@ msgstr "格式(_F):" + + #: ui/fsdetails.ui:280 + msgid "blah foo warning message" +-msgstr "" ++msgstr "警告信息" + + #: ui/gfxdetails.ui:75 + msgid "Show passwor_d" +@@ -1831,7 +1831,7 @@ msgstr "CPU 默认值(_D):" + + #: ui/preferences.ui:488 + msgid "Default Firmware for new VMs. Boot using either BIOS or UEFI." +-msgstr "" ++msgstr "新虚拟机的默认固件。使用 BIOS 或 UEFI 启动" + + #: ui/preferences.ui:490 + #, fuzzy +@@ -2460,6 +2460,8 @@ msgid "" + "%s is not active in the host system.\n" + "Please start the mdev in the host system before adding it to the guest." + msgstr "" ++"%s 在宿主机中并未活跃" ++"将 mdev 添加到guest之前,请先在主机系统中启动 mdev" + + #: virtManager/addhardware.py:797 + msgid "No Devices Available" +@@ -3737,11 +3739,11 @@ msgstr "不支持设备类型为 '%s' 的控制台" + + #: virtManager/details/serialcon.py:251 + msgid "_Copy" +-msgstr "" ++msgstr "复制" + + #: virtManager/details/serialcon.py:255 + msgid "_Paste" +-msgstr "" ++msgstr "粘贴" + + #: virtManager/details/serialcon.py:348 + #, python-format +@@ -3988,7 +3990,7 @@ msgstr "源路径(_S):" + + #: virtManager/device/fsdetails.py:163 + msgid "You may need to 'Enable shared memory' on the 'Memory' screen." +-msgstr "" ++msgstr "你可能需要现在'内存'界面设置'开启共享内存'" + + #: virtManager/device/gfxdetails.py:87 + msgid "Spice server" +@@ -4650,11 +4652,11 @@ msgstr "取消迁移任务时出错:%s" + + #: virtManager/object/domain.py:454 + msgid "Can not change shared memory setting when is configured." +-msgstr "" ++msgstr "当numa配置时无法修改共享内存设置" + + #: virtManager/object/domain.py:457 + msgid "Libvirt may not be new enough to support memfd." +-msgstr "" ++msgstr "Libvirt版本不够新从而无法支持memfd" + + #: virtManager/object/domain.py:476 + msgid "Libvirt connection does not support snapshots." +@@ -5678,6 +5680,9 @@ msgid "" + "\n" + " osinfo-query os\n" + msgstr "" ++"你可以通过下面的命令查看额外信息:\n" ++"\n" ++" osinfo-query os\n" + + #: virtinst/cloner.py:44 + #, python-format +@@ -5845,7 +5850,7 @@ msgid "" + "Total CPUs implied by topology (sockets=%(sockets)d * dies=%(dies)d * cores=" + "%(cores)d * threads=%(threads)d == %(total)d) does not match vCPU count " + "%(vcpus)d" +-msgstr "" ++msgstr "拓扑结构隐含的 CPU 总数与vCPU数量不匹配" + + #: virtinst/domain/launch_security.py:26 + msgid "Missing mandatory attribute 'type'" +@@ -6041,7 +6046,7 @@ msgstr "正在传输 '%(filename)s'" + + #: virtinst/osdict.py:71 + msgid "Generic or unknown OS. Usage is not recommended." +-msgstr "" ++msgstr "通用或未知OS,使用不被推荐" + + #: virtinst/osdict.py:96 + #, python-format +@@ -6278,7 +6283,7 @@ msgstr "" + + #: virtinst/virtinstall.py:149 + msgid "--os-type is deprecated and does nothing. Please stop using it." +-msgstr "" ++msgstr "--os-type 已废弃,请停止使用" + + #: virtinst/virtinstall.py:225 + msgid "Cannot mix --graphics and old style graphical options" +@@ -6387,6 +6392,8 @@ msgid "" + "This is now a fatal error. Specifying an OS name is required\n" + "for modern, performant, and secure virtual machine defaults.\n" + msgstr "" ++"这现在是一个致命错误. 指定OS名称是必需的\n" ++"为了更现代化、高性能和安全的虚拟机默认配置\n" + + #: virtinst/virtinstall.py:574 + msgid "" +-- +2.20.1 + diff --git a/virt-manager.spec b/virt-manager.spec index 6a2167e5ec120f0ed9b32213e09008e4a93014ad..a23c531559a3b8869236c16be15fb493fc827b2a 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -2,7 +2,7 @@ Name: virt-manager Version: 4.1.0 -Release: 8 +Release: 9 Summary: The manage virtual machines tool which via libvirt. License: GPLv2+ BuildArch: noarch @@ -29,6 +29,7 @@ Patch17: backport-virt-install-unattended-and-cloud-init-conflict.pa Patch18: backport-virt-install-Reuse-cli.fail_conflicting.patch Patch19: backport-cli-support-boot-loader.stateless.patch Patch20: backport-diskbackend-Drop-support-for-sheepdog.patch +Patch21: Fix-chinese-translation-error.patch Requires: virt-manager-common = %{version}-%{release} python3-gobject gtk3 libvirt-glib >= 0.0.9 Requires: gtk-vnc2 dconf vte291 gtksourceview4 @@ -106,6 +107,9 @@ done %{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-xml.1*} %changelog +* Fri Dec 18 2024 lijunwei - 4.1.0-9 +- Fix chinese translation error + * Wed Aug 21 2024 yanjianqing - 4.1.0-8 - diskbackend: Drop support for sheepdog - cli: support --boot loader.stateless=