diff --git a/passwd.spec b/passwd.spec index 529a8af8cdccace2daa7084db7c58ea7637b858d..beca314f59c6318f8acd381395207c25bcbe55d1 100644 --- a/passwd.spec +++ b/passwd.spec @@ -1,6 +1,6 @@ Name: passwd Version: 0.80 -Release: 10 +Release: 11 Summary: An implementation of the password setting/changing utility through PAM and libuser libraries License: BSD or GPL+ URL: https://pagure.io/passwd @@ -8,6 +8,7 @@ Source0: https://releases.pagure.org/passwd/passwd-%{version}.autotoolized.ta Patch1: fix-incorrect-S-output.patch Patch9000: add-sm3-crypt-support.patch +Patch9001: zh_CN_po_modify.patch BuildRequires:libselinux-devel >= 2.1.6-3 gcc glib2-devel, libuser-devel, pam-devel, libuser >= 0.53-1 BuildRequires: gettext, popt-devel audit-libs-devel >= 2.4.5 @@ -58,6 +59,9 @@ make check %{_mandir}/man1/*.gz %changelog +* Fri Jul 19 2024 liyue01 - 0.80-11 +- modify translation in the zh_CN.po + * Mon Aug 15 2022 xueyamao - 0.80-10 - Type:defect - ID:NA diff --git a/zh_CN_po_modify.patch b/zh_CN_po_modify.patch new file mode 100644 index 0000000000000000000000000000000000000000..29ec3ce4227f623bdf9507fc07d0d94fc06cdeac --- /dev/null +++ b/zh_CN_po_modify.patch @@ -0,0 +1,25 @@ +From d3f4bd91965c01ad7f64a855ab86fb32e8d00ee8 Mon Sep 17 00:00:00 2001 +From: liyue01 +Date: Fri, 19 Jul 2024 17:13:28 +0800 +Subject: [PATCH] zh_CN_po_modify.patch + +--- + 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 31ab573..32ea016 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -259,7 +259,7 @@ msgstr "%s:从标准输入:%s 读取时发生错误。 \n" + #: passwd.c:496 + #, c-format + msgid "%s: password too long, maximum is %zu" +-msgstr "" ++msgstr "%s : 密码过长,最大长度为%zu" + + #: passwd.c:515 + #, c-format +-- +2.27.0 +