diff --git a/Update-chinese-translation-file.patch b/Update-chinese-translation-file.patch new file mode 100644 index 0000000000000000000000000000000000000000..174232dd52edce43de9684f386c1d9bd03fbc834 --- /dev/null +++ b/Update-chinese-translation-file.patch @@ -0,0 +1,159 @@ +From ceed98b72d347ca732c58c681dc7c99562facc77 Mon Sep 17 00:00:00 2001 +From: yanjianqing +Date: Wed, 17 Jul 2024 11:42:53 +0800 +Subject: [PATCH] Update chinese translation file + +--- + po/zh_CN.po | 43 ++++++++++++------------------------------- + 1 file changed, 12 insertions(+), 31 deletions(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 292c293..ec51bb5 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -186,7 +186,7 @@ msgstr "随机数生成器" + + #: ui/addhardware.ui:1336 ui/details.ui:4770 + msgid "panic" +-msgstr "恐慌(Panic)" ++msgstr "panic" + + #: ui/addhardware.ui:1442 ui/asyncjob.ui:146 ui/clone.ui:26 ui/clone.ui:690 + #: ui/connectauth.ui:22 ui/createconn.ui:25 ui/createnet.ui:798 +@@ -194,7 +194,7 @@ msgstr "恐慌(Panic)" + #: ui/delete.ui:181 ui/details.ui:4866 ui/hoststorage.ui:154 ui/migrate.ui:638 + #: ui/snapshotsnew.ui:253 + msgid "_Cancel" +-msgstr "" ++msgstr "取消(_C)" + + #: ui/addhardware.ui:1457 ui/createnet.ui:813 ui/createpool.ui:493 + #: ui/createvm.ui:2446 ui/createvol.ui:477 ui/snapshotsnew.ui:268 +@@ -794,16 +794,12 @@ msgid "Finish" + msgstr "完成" + + #: ui/createvm.ui:2415 +-#, fuzzy +-#| msgid "_Backend:" + msgid "_Back" +-msgstr "后端:" ++msgstr "后退(_B)" + + #: ui/createvm.ui:2431 +-#, fuzzy +-#| msgid "Forwarding:" + msgid "_Forward" +-msgstr "转发:" ++msgstr "下一步(_F)" + + #: ui/createvol.ui:24 + msgid "Add a Storage Volume" +@@ -1033,10 +1029,8 @@ msgid "MiB" + msgstr "MiB" + + #: ui/details.ui:1913 +-#, fuzzy +-#| msgid "External disk and memory" + msgid "Enable shared _memory" +-msgstr "外部磁盘和内存" ++msgstr "启用共享内存" + + #: ui/details.ui:1943 + msgid "Memory" +@@ -1275,15 +1269,13 @@ msgid "Panic Notifier" + msgstr "Panic 通知器" + + #: ui/details.ui:4845 +-#, fuzzy +-#| msgid "Removable" + msgid "_Remove" + msgstr "可移除" + + #: ui/details.ui:4886 ui/hostnets.ui:652 ui/hoststorage.ui:186 + #: ui/snapshots.ui:499 + msgid "_Apply" +-msgstr "" ++msgstr "应用" + + #: ui/fsdetails.ui:30 + msgid "E_xport filesystem as readonly mount" +@@ -1455,10 +1447,8 @@ msgid "Cancel and close dialog" + msgstr "取消并关闭对话框" + + #: ui/hoststorage.ui:170 +-#, fuzzy +-#| msgid "Choose Volume" + msgid "Ch_oose Volume" +-msgstr "选择卷" ++msgstr "选择卷(_O)" + + #: ui/hoststorage.ui:174 + msgid "Choose the selected volume" +@@ -1499,11 +1489,11 @@ msgstr "新建虚拟机(_N)" + + #: ui/manager.ui:59 ui/preferences.ui:979 ui/vmwindow.ui:49 + msgid "_Close" +-msgstr "" ++msgstr "关闭(_C)" + + #: ui/manager.ui:69 ui/vmwindow.ui:59 + msgid "_Quit" +-msgstr "" ++msgstr "退出(_Q)" + + #: ui/manager.ui:83 + msgid "_Edit" +@@ -1518,10 +1508,8 @@ msgid "_Virtual Machine Details" + msgstr "虚拟机详情(_V)" + + #: ui/manager.ui:125 +-#, fuzzy +-#| msgid "Preferences" + msgid "_Preferences" +-msgstr "首选项" ++msgstr "首选项(_P)" + + #: ui/manager.ui:138 ui/vmwindow.ui:112 + msgid "_View" +@@ -1557,7 +1545,7 @@ msgstr "帮助(_H)" + + #: ui/manager.ui:222 + msgid "_About" +-msgstr "" ++msgstr "关于(_A)" + + #: ui/manager.ui:253 + msgid "Create a new virtual machine" +@@ -1727,11 +1715,6 @@ msgid "_Network source:" + msgstr "网络源(_N):" + + #: ui/oslist.ui:56 +-#, fuzzy +-#| msgid "" +-#| "Can't find the operating system you are looking for?\n" +-#| "Try selecting the next most recent version displayed,\n" +-#| "or use the \"Generic OS\" entry." + msgid "" + "Can't find the operating system you are looking for?\n" + "Try selecting a similar distro or version, or use one of the 'Generic' " +@@ -1997,8 +1980,6 @@ msgid "_Version:" + msgstr "版本(_V):" + + #: ui/tpmdetails.ui:162 +-#, fuzzy +-#| msgid "Advanced options" + msgid "Adva_nced options" + msgstr "高级选项" + +@@ -3988,7 +3969,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" +-- +2.43.0 + diff --git a/virt-manager.spec b/virt-manager.spec index 1febaf0184dfe8d73b62dbdc551f4a7039329932..d13a87c24524029043b330aa5434fd9aa6d6dedd 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -2,7 +2,7 @@ Name: virt-manager Version: 4.1.0 -Release: 5 +Release: 6 Summary: The manage virtual machines tool which via libvirt. License: GPLv2+ BuildArch: noarch @@ -13,6 +13,7 @@ Patch1: Add-loongarch-support.patch Patch2: Add-loongarch-support-in-guest-class.patch Patch3: Add-some-default-device-support-for-loongarch.patch Patch4: Add-test-cases-for-loongarch.patch +Patch5: Update-chinese-translation-file.patch Requires: virt-manager-common = %{version}-%{release} python3-gobject gtk3 libvirt-glib >= 0.0.9 Requires: gtk-vnc2 dconf vte291 gtksourceview4 @@ -90,6 +91,9 @@ done %{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-xml.1*} %changelog +* Wed Jul 17 2024 yanjianqing - 4.1.0-6 +- Update chinese translation file + * Thu Feb 29 2024 yanjianqing - 4.1.0-5 - delete Fix-bug-that-virt-manager-can-not-support-dies.patch,virt-manager-4.1.0 support dies