diff --git a/NetworkManager.spec b/NetworkManager.spec index 86b503e597c252d9523b01e572e9c0a9285f7cf9..0b9c9a88d0f663322697c2ca07a74a940f4f8255 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -48,7 +48,7 @@ Name: NetworkManager Version: 1.26.2 Epoch: 1 -Release: 5 +Release: 6 Summary: Network Link Manager and User Applications License: GPLv2+ URL: https://www.gnome.org/projects/NetworkManager/ @@ -59,6 +59,9 @@ Source2: 00-server.conf Patch1: fix-wants-and-add-requires.patch Patch2: bugfix-NetworkManager-restarting-service-on-dependency-failure.patch +# amend translation of nmcli +Patch3: amend-edit-translation-of-nmcli.patch + BuildRequires: gcc libtool pkgconfig automake autoconf intltool gettext-devel ppp-devel gnutls-devel BuildRequires: dbus-devel dbus-glib-devel glib2-devel gobject-introspection-devel jansson-devel BuildRequires: dhclient readline-devel audit-libs-devel gtk-doc libudev-devel libuuid-devel /usr/bin/valac polkit-devel @@ -423,6 +426,12 @@ fi %{_datadir}/gtk-doc/html/NetworkManager/* %changelog +* Thu Jul 8 2021 wangce - 1.26.2-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:amend edit translation of nmcli + * Fri Mar 12 2021 yanan - 1.26.2-5 - Type:bugfix - ID:NA diff --git a/amend-edit-translation-of-nmcli.patch b/amend-edit-translation-of-nmcli.patch new file mode 100644 index 0000000000000000000000000000000000000000..acafb96bd1249e698f20044c81d3a0fe04e3c8ac --- /dev/null +++ b/amend-edit-translation-of-nmcli.patch @@ -0,0 +1,25 @@ +From 8515403bb2084a792efe106d6dca0a8b55c84bc0 Mon Sep 17 00:00:00 2001 +From: root +Date: Thu, 8 Jul 2021 06:57:56 +0600 +Subject: [PATCH 2/2] amend edit translation of nmcli + +--- + po/zh_CN.po | 2 +- + 1 file changed, 1 insertions(+), 1 deletion(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index fddbc27..567c0ee 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -2732,7 +2732,7 @@ msgstr "错误:超时时间 %d 秒已到。" + #: ../clients/cli/devices.c:1914 + #, c-format + msgid "Device '%s' successfully activated with '%s'.\n" +-msgstr "成功用 \"%s%s\" 激活了设备 \"\"。\n" ++msgstr "设备 \"%s\" 成功以 \"%s\" 激活。\n" + + #: ../clients/cli/devices.c:1919 + #, c-format +-- +2.23.0 +