diff --git a/gtk3-B.3.24.21-translate-information-to-chinese.patch b/gtk3-B.3.24.21-translate-information-to-chinese.patch new file mode 100644 index 0000000000000000000000000000000000000000..56e0a75b2247f2c9df95c724fbd747fde59c1457 --- /dev/null +++ b/gtk3-B.3.24.21-translate-information-to-chinese.patch @@ -0,0 +1,24 @@ +From ee9c75281f11f06efa7734a6232d2ef9aded00f1 Mon Sep 17 00:00:00 2001 +From: ww0012633 +Date: Tue, 19 Jul 2022 16:40:58 +0800 +Subject: [PATCH] translate information to chinese + +--- + po/zh_CN.po | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index f3cd26b..e469ff7 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -7410,3 +7410,6 @@ msgstr "打印到测试打印机" + + #~ msgid "Shortcut %s already exists" + #~ msgstr "快捷方式 %s 已经存在" ++ ++msgid "Show T_ype Column" ++msgstr "显示类型栏(_Y)" +-- +2.27.0 + + diff --git a/gtk3.spec b/gtk3.spec index 4c44e10b8ef9fe2b2759640ba09233a74dfb4ec8..072c27a1a9e85a8006fbef5a8adb9d1e6da33bea 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -14,7 +14,7 @@ #Basic Information Name: gtk3 Version: 3.24.21 -Release: 2 +Release: 3 Summary: GTK+ graphical user interface library License: LGPLv2+ URL: http://www.gtk.org @@ -48,6 +48,8 @@ Obsoletes: gtk3-engines <= 2.91.5-5.fc15 Obsoletes: gtk-solidity-engine < 0.4.1-9 Obsoletes: oxygen-gtk3 < 2:1.4.1 +Patch0: gtk3-B.3.24.21-translate-information-to-chinese.patch + %description GTK+ is an object-oriented widget toolkit written in the programming language C; it has a C-based object-oriented architecture that allows for maximum @@ -98,6 +100,10 @@ This package contains man pages and other related documents for gtk3. #Build sections %prep %autosetup -n gtk+-%{version} -p1 +cd po +rm -f zh_CN.gmo +msgfmt zh_CN.po -o zh_CN.gmo +cd - %build export CFLAGS='-fno-strict-aliasing %optflags' @@ -256,6 +262,9 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || : %{_mandir}/man1/gtk3-widget-factory.1* %changelog +* Thu Dec 8 2022 yaoguangzhong - 3.24.21-3 +- translate some information to chinese + * Wed Jun 23 2021 chenbo pan - 3.24.21-2 - Fix virt-manager 'NoneType' object has no attribute 'conn' error