[PATCH] po/zh_CN.po: Fix some translation issues

liu.song13@zte.com.cn posted 1 patch 10 months, 2 weeks ago
Failed in applying to current master (apply log)
po/zh_CN.po | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
[PATCH] po/zh_CN.po: Fix some translation issues
Posted by liu.song13@zte.com.cn 10 months, 2 weeks ago
From: QiangWei Zhang <zhang.qiangwei@zte.com.cn>

Swap the order of the two objects to ensure that the logic of the
two objects translated into Chinese is correct.

Signed-off-by: QiangWei Zhang <zhang.qiangwei@zte.com.cn>
---
po/zh_CN.po | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/po/zh_CN.po b/po/zh_CN.po
index bf04782f88..73f7aa0549 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -5802,11 +5802,11 @@ msgstr "??? '%1$s' ???????????????"

#, c-format
msgid "Domain '%1$s' created from %2$s\n"
-msgstr "??? %1$s ???????????? '%2$s'\n"
+msgstr "??? %2$s ???????????? '%1$s'\n"

#, c-format
msgid "Domain '%1$s' defined from %2$s\n"
-msgstr "??? %1$s ???????????? '%2$s'\n"
+msgstr "??? %2$s ???????????? '%1$s'\n"

#, c-format
msgid "Domain '%1$s' destroyed\n"
@@ -8770,7 +8770,7 @@ msgstr "???????????? '%1$s' ??????????????? 0 ????????????"

#, c-format
msgid "Failed to unbind PCI device '%1$s' from %2$s"
-msgstr "??? %1$s ??????????????? PCI ?????? '%2$s' ??????"
+msgstr "??? %2$s ??????????????? PCI ?????? '%1$s' ??????"

#, c-format
msgid "Failed to undefine bridge interface %1$s"
@@ -9798,7 +9798,7 @@ msgstr "????????? %1$s XML ?????????\n"

#, c-format
msgid "Interface %1$s defined from %2$s\n"
-msgstr "?????? %1$s ??????????????? %2$s\n"
+msgstr "?????? %2$s ??????????????? %1$s\n"

#, c-format
msgid "Interface %1$s destroyed\n"
@@ -12240,11 +12240,11 @@ msgstr "??????????????? %1$s XML ??????\n"

#, c-format
msgid "Network %1$s created from %2$s\n"
-msgstr "???%1$s????????????%2$s\n"
+msgstr "???%2$s????????????%1$s\n"

#, c-format
msgid "Network %1$s defined from %2$s\n"
-msgstr "??? %1$s????????????%2$s\n"
+msgstr "??? %2$s????????????%1$s\n"

#, c-format
msgid "Network %1$s destroyed\n"
@@ -12325,7 +12325,7 @@ msgstr "??????????????????????????? %1$s XML ??????\n"

#, c-format
msgid "Network filter %1$s defined from %2$s\n"
-msgstr "?????? %1$s ???????????????????????? %2$s\n"
+msgstr "?????? %2$s ???????????????????????? %1$s\n"

#, c-format
msgid "Network filter %1$s undefined\n"
@@ -12340,7 +12340,7 @@ msgstr "?????????????????????????????????%1$s"

#, c-format
msgid "Network filter binding on %1$s created from %2$s\n"
-msgstr "???%1$s ????????? %2$s ???????????????????????????\n"
+msgstr "???%2$s ????????? %1$s ???????????????????????????\n"

#, c-format
msgid "Network filter binding on %1$s deleted\n"
@@ -12376,7 +12376,7 @@ msgstr "???????????????: %1$s"

#, c-format
msgid "Network port %1$s created from %2$s\n"
-msgstr "??? %1$s ????????????????????? %2$s\n"
+msgstr "??? %2$s ????????????????????? %1$s\n"

#, c-format
msgid "Network port %1$s deleted\n"
@@ -12805,7 +12805,7 @@ msgstr "??????????????????"

#, c-format
msgid "Node device %1$s created from %2$s\n"
-msgstr "?????? %1$s ????????????????????? %2$s\n"
+msgstr "?????? %2$s ????????????????????? %1$s\n"

#, c-format
msgid "Node device '%1$s' defined from '%2$s'\n"
@@ -13609,7 +13609,7 @@ msgstr "????????? %1$s\n"

#, c-format
msgid "Pool %1$s created from %2$s\n"
-msgstr "??? %1$s ???????????? %2$s\n"
+msgstr "??? %2$s ???????????? %1$s\n"

#, c-format
msgid "Pool %1$s defined\n"
@@ -13617,7 +13617,7 @@ msgstr "????????? %1$s\n"

#, c-format
msgid "Pool %1$s defined from %2$s\n"
-msgstr "??? %1$s ???????????? %2$s\n"
+msgstr "??? %2$s ???????????? %1$s\n"

#, c-format
msgid "Pool %1$s deleted\n"
@@ -20571,7 +20571,7 @@ msgstr "???????????????????????????????????????????????????"

#, c-format
msgid "Vol %1$s cloned from %2$s\n"
-msgstr "??? %1$s ???????????? %2$s\n"
+msgstr "??? %2$s ???????????? %1$s\n"

#, c-format
msgid "Vol %1$s created\n"
@@ -20579,7 +20579,7 @@ msgstr "??? %1$s ?????????\n"

#, c-format
msgid "Vol %1$s created from %2$s\n"
-msgstr "??? %1$s ???????????? %2$s\n"
+msgstr "??? %2$s ???????????? %1$s\n"

#, c-format
msgid "Vol %1$s created from input vol %2$s\n"
--
2.27.0
Re: [PATCH] po/zh_CN.po: Fix some translation issues
Posted by Jiri Denemark via Devel 10 months, 1 week ago
On Sun, Apr 27, 2025 at 10:44:20 +0800, liu.song13@zte.com.cn wrote:
> From: QiangWei Zhang <zhang.qiangwei@zte.com.cn>
> 
> Swap the order of the two objects to ensure that the logic of the
> two objects translated into Chinese is correct.

Hi, we use Fedora Weblate for translations:

https://translate.fedoraproject.org/projects/libvirt/libvirt/

Could you please make the changes there?

Thanks,
Jirka
Re: [PATCH] po/zh_CN.po: Fix some translation issues
Posted by Peter Krempa via Devel 10 months, 1 week ago
On Mon, Apr 28, 2025 at 09:57:50 +0200, Jiri Denemark via Devel wrote:
> On Sun, Apr 27, 2025 at 10:44:20 +0800, liu.song13@zte.com.cn wrote:
> > From: QiangWei Zhang <zhang.qiangwei@zte.com.cn>
> > 
> > Swap the order of the two objects to ensure that the logic of the
> > two objects translated into Chinese is correct.
> 
> Hi, we use Fedora Weblate for translations:
> 
> https://translate.fedoraproject.org/projects/libvirt/libvirt/
> 
> Could you please make the changes there?

Specifically, libvirt pulls the translations from weblate
unconditionally. Any changes done to the files in the libvirt repo would
be overwritten on the next pull.

That also means that there is no need to do anything else once updating
the translations there.