diff --git a/Fix-chinese-translation-error.patch b/Fix-chinese-translation-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..d883e126fddb16d7802b99fdfed5f5cffd0a3343 --- /dev/null +++ b/Fix-chinese-translation-error.patch @@ -0,0 +1,53 @@ +From 0106fbd21da206b7b32e36219478934eaa8e6c4b Mon Sep 17 00:00:00 2001 +From: lijunwei +Date: Fri, 22 Nov 2024 16:22:43 +0800 +Subject: [PATCH] fix chinese translation error + +Change-Id: I887aed7f2bffe2875787961eb3645fc161573913 +--- + source/po/zh_CN.po | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/source/po/zh_CN.po b/source/po/zh_CN.po +index 6129a8e..ebffb0d 100644 +--- a/source/po/zh_CN.po ++++ b/source/po/zh_CN.po +@@ -1275,7 +1275,7 @@ msgstr "可移除" + #: ui/details.ui:4886 ui/hostnets.ui:652 ui/hoststorage.ui:186 + #: ui/snapshots.ui:499 + msgid "_Apply" +-msgstr "" ++msgstr "应用(_A)" + + #: ui/fsdetails.ui:30 + msgid "E_xport filesystem as readonly mount" +@@ -1295,7 +1295,7 @@ msgstr "格式(_F):" + + #: ui/fsdetails.ui:280 + msgid "blah foo warning message" +-msgstr "" ++msgstr "警告信息" + + #: ui/gfxdetails.ui:75 + msgid "Show passwor_d" +@@ -5790,6 +5790,8 @@ msgid "" + "%(cores)d * threads=%(threads)d == %(total)d) does not match vCPU count " + "%(vcpus)d" + msgstr "" ++"拓扑结构中CPU总数(sockets=%(sockets)d * dies=%(dies)d * cores=" ++"%(cores)d * threads=%(threads)d == %(total)d)与VPCU数量不匹配%(vcpus)d" + + #: virtinst/domain/launch_security.py:26 + msgid "Missing mandatory attribute 'type'" +@@ -5985,7 +5987,7 @@ msgstr "正在传输 '%(filename)s'" + + #: virtinst/osdict.py:71 + msgid "Generic or unknown OS. Usage is not recommended." +-msgstr "" ++msgstr "通用或未知操作系统,不建议使用" + + #: virtinst/osdict.py:96 + #, python-format +-- +2.20.1 + diff --git a/virt-manager.spec b/virt-manager.spec index 6a2167e5ec120f0ed9b32213e09008e4a93014ad..94cb67df46ad3a13425e5769723789b596db0c3f 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 Nov 22 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=