diff --git a/0001-add-chinese-translation.patch b/0001-add-chinese-translation.patch new file mode 100644 index 0000000000000000000000000000000000000000..b1e9b0fb2fc73ce16f2d5d0e90206bbd424b641a --- /dev/null +++ b/0001-add-chinese-translation.patch @@ -0,0 +1,25 @@ +From 728b7228074f292c4a2f400146cf4de6b1879229 Mon Sep 17 00:00:00 2001 +From: liaowei +Date: Thu, 6 Aug 2020 02:17:02 -0400 +Subject: [PATCH] add chinese translation + +--- + po/zh_CN.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 96066fa..eed8ec1 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -503,7 +503,7 @@ msgstr "" + + #: ../data/pluma.desktop.in.in.h:1 + msgid "Pluma" +-msgstr "Pluma" ++msgstr "文本编辑器" + + #: ../data/pluma.desktop.in.in.h:2 ../pluma/pluma-print-job.c:760 + msgid "Text Editor" +-- +2.18.1 + diff --git a/pluma.spec b/pluma.spec index c8df537b57574f15b51a6da7a1b9280abea7511d..fe23155024235fba8281cedab0e65b82104aa796 100644 --- a/pluma.spec +++ b/pluma.spec @@ -15,7 +15,7 @@ Summary: Text editor for the MATE desktop Name: pluma Version: %{branch}.2 -Release: 2 +Release: 3 License: GPLv2+ and LGPLv2+ URL: http://mate-desktop.org @@ -37,6 +37,7 @@ Patch4: pluma_0001-externaltools-plugin-change-code-for-Python-2-3-comp.p Patch5: pluma_0001-snippets-plugin-change-code-for-Python-2-3-compatibi.patch # https://github.com/mate-desktop/pluma/pull/437 Patch6: pluma_0001-Switch-to-Python-3.patch +Patch7: 0001-add-chinese-translation.patch BuildRequires: desktop-file-utils BuildRequires: enchant-devel @@ -157,6 +158,9 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %changelog +* Thu Jul 28 2022 longcheng - 1.22.2-3 +- Add chinese translation + * Fri Dec 11 2020 douyan - 1.22.2-2 - modify spec file