From e8edb108c7358d72c84bf857d8b9742c15c948cb Mon Sep 17 00:00:00 2001 From: Anakin Zhang Date: Thu, 9 Jul 2020 11:07:44 +0800 Subject: [PATCH] fix zh_CN typo --- man-zh_CN-fix-typo.patch | 93 ++++++++++++++++++++++++++++++++++++++++ shadow.spec | 6 ++- 2 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 man-zh_CN-fix-typo.patch diff --git a/man-zh_CN-fix-typo.patch b/man-zh_CN-fix-typo.patch new file mode 100644 index 0000000..e0cb368 --- /dev/null +++ b/man-zh_CN-fix-typo.patch @@ -0,0 +1,93 @@ +From 915cc6bb9cc8463576aea4b0262ad5f4f1700cd5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com> +Date: Mon, 3 Feb 2020 22:02:16 +0800 +Subject: [PATCH] =?UTF-8?q?man(zh=5FCN):=20fix=20typo=20=E7=8E=B0=E5=AE=9E?= + =?UTF-8?q?=20->=20=E6=98=BE=E7=A4=BA?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Anakin Zhang +--- + man/po/zh_CN.po | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/man/po/zh_CN.po b/man/po/zh_CN.po +index 2537807..85d1243 100644 +--- a/man/po/zh_CN.po ++++ b/man/po/zh_CN.po +@@ -334,7 +334,7 @@ msgstr ", " + #: expiry.1.xml:114(para) chsh.1.xml:103(para) chpasswd.8.xml:173(para) + #: chgpasswd.8.xml:133(para) chfn.1.xml:169(para) chage.1.xml:131(para) + msgid "Display help message and exit." +-msgstr "现实帮助信息并退出。" ++msgstr "显示帮助信息并退出。" + + #: vipw.8.xml:126(term) + msgid ", " +@@ -3710,7 +3710,7 @@ msgstr " (boolean)" + + #: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) + msgid "Enable checking and display of mailbox status upon login." +-msgstr "启用登录时检查和现实邮箱状态。" ++msgstr "启用登录时检查和显示邮箱状态。" + + #: su.1.xml:37(para) login.defs.5.xml:37(para) login.1.xml:37(para) + msgid "" +@@ -6372,7 +6372,7 @@ msgstr " (string)" + + #: login.defs.5.xml:34(para) login.1.xml:34(para) + msgid "If defined, this file will be displayed before each login prompt." +-msgstr "如果定义了,此文件将在每次的登录提示之前现实。" ++msgstr "如果定义了,此文件将在每次的登录提示之前显示。" + + #: login.defs.5.xml:32(term) login.1.xml:32(term) + msgid " (number)" +@@ -7125,7 +7125,7 @@ msgstr "$HOME/.hushlogin" + + #: login.1.xml:385(para) + msgid "Suppress printing of system messages." +-msgstr "阻止现实系统信息。" ++msgstr "阻止显示系统信息。" + + #: login.1.xml:399(para) + msgid "" +@@ -7453,7 +7453,7 @@ msgstr "" + msgid "" + "Print the lastlog records more recent than DAYS." +-msgstr "只现实新于 DAYS 的最近登录记录。" ++msgstr "只显示新于 DAYS 的最近登录记录。" + + #: lastlog.8.xml:161(term) faillog.8.xml:202(term) + msgid "" +@@ -7465,7 +7465,7 @@ msgstr "" + + #: lastlog.8.xml:165(para) + msgid "Print the lastlog record of the specified user(s)." +-msgstr "现实指定用户的最近登录记录。" ++msgstr "显示指定用户的最近登录记录。" + + #: lastlog.8.xml:168(para) faillog.8.xml:211(para) + msgid "" +@@ -7790,7 +7790,7 @@ msgstr "groups" + + #: groups.1.xml:65(refpurpose) + msgid "display current group names" +-msgstr "现实当前组名" ++msgstr "显示当前组名" + + #: groups.1.xml:72(replaceable) + msgid "user" +@@ -9396,7 +9396,7 @@ msgstr "" + + #: chage.1.xml:164(para) + msgid "Show account aging information." +-msgstr "现实账户年龄信息。" ++msgstr "显示账户年龄信息。" + + #: chage.1.xml:170(term) + msgid "" +-- +2.23.0.windows.1 + diff --git a/shadow.spec b/shadow.spec index 7d6e4d8..1f8d2fd 100644 --- a/shadow.spec +++ b/shadow.spec @@ -1,6 +1,6 @@ Name: shadow Version: 4.8.1 -Release: 3 +Release: 4 Epoch: 2 License: BSD and GPLv2+ Summary: Tools for managing accounts and shadow password files @@ -23,6 +23,7 @@ Patch6: add-home_mode-xml-file.patch Patch7: shadow-4.1.5.1-var-lock.patch Patch8: shadow-utils-fix-lock-file-residue.patch Patch9: generate-mail-USER-with-the-proper-selinux-identity.patch +Patch10: man-zh_CN-fix-typo.patch BuildRequires: gcc, libselinux-devel, audit-libs-devel, libsemanage-devel BuildRequires: libacl-devel, libattr-devel gdb @@ -169,6 +170,9 @@ done %{_mandir}/*/* %changelog +* Thu Jul 9 2020 Anakin Zhang - 2:4.8.1-4 +- fix zh_CN typo + * Sun Jun 28 2020 Anakin Zhang - 2:4.8.1-3 - generate /var/spool/mail/$USER with the proper SELinux user identity -- Gitee