From 4a1853d4120bfd22f04fa91c911a548b69744700 Mon Sep 17 00:00:00 2001 From: ouyangminxiang Date: Wed, 30 Mar 2022 15:33:55 +0800 Subject: [PATCH] Change Chinese translation --- 1003-Change-chinese-translation.patch | 24 ++++++++++++++++++++++++ pam.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 1003-Change-chinese-translation.patch diff --git a/1003-Change-chinese-translation.patch b/1003-Change-chinese-translation.patch new file mode 100644 index 0000000..bb8b908 --- /dev/null +++ b/1003-Change-chinese-translation.patch @@ -0,0 +1,24 @@ +From 92c97988c58661e9df3b5e710de22717359c4783 Mon Sep 17 00:00:00 2001 +From: longcheng +Date: Thu, 17 Mar 2022 17:17:35 +0800 +Subject: [PATCH] Change 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 4f8e040..ba7e901 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -478,7 +478,7 @@ msgstr "您必须选择一个更长的密码。" + #: modules/pam_unix/pam_unix_passwd.c:692 + #, c-format + msgid "Changing password for %s." +-msgstr "为 %s 更改 STRESS 密码。" ++msgstr "为 %s 更改密码。" + + #: modules/pam_unix/pam_unix_passwd.c:722 + msgid "You must wait longer to change your password." +-- +2.27.0 diff --git a/pam.spec b/pam.spec index d353ebf..04a7678 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.5.2 -Release: 2 +Release: 3 Summary: Pluggable Authentication Modules for Linux License: BSD and GPLv2+ URL: http://www.linux-pam.org/ @@ -24,6 +24,7 @@ Patch1: bugfix-pam-1.1.8-faillock-systemtime.patch Patch9000:openEuler-change-ndbm-to-gdbm.patch Patch9001:0001-bugfix-cannot-open-database-file.patch Patch9002:add-sm3-crypt-support.patch +Patch9003:1003-Change-chinese-translation.patch BuildRequires: autoconf automake libtool bison flex sed cracklib-devel gdbm-devel BuildRequires: perl-interpreter pkgconfig gettext-devel libtirpc-devel libnsl2-devel @@ -178,6 +179,9 @@ fi %changelog +* Wed Mar 30 2022 ouyangminxiang - 1.5.2-3 +- Change Chinese translation + * Fri Jan 14 2022 fangxiuning - 1.5.2-2 - add sm3 crypt support -- Gitee