!46 Fix zh_CN msgster meaning error

From: @xinyingchao
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-10-14 09:48:53 +00:00 committed by Gitee
commit 99df847f79
2 changed files with 28 additions and 1 deletions

View File

@ -4,7 +4,7 @@
%define _pamconfdir %{_sysconfdir}/pam.d
Name: pam
Version: 1.4.0
Release: 6
Release: 7
Summary: Pluggable Authentication Modules for Linux
License: BSD and GPLv2+
URL: http://www.linux-pam.org/
@ -28,6 +28,8 @@ Patch6: Prevent-SEGFAULT-for-unknown-UID.patch
Patch7: change-ndbm-to-gdbm.patch
Patch6000: backport-Move-read_passwords-function-from-pam_unix-to-pam_inline.h.patch
Patch6001: backport-add-helper-to-handle-SELinux.patch
Patch6002: zh_CN_po_fix_str_meaning_error.patch
Patch9000: 0001-bugfix-cannot-open-database-file.patch
BuildRequires: autoconf automake libtool bison flex sed cracklib-devel gdbm-devel
@ -181,6 +183,9 @@ fi
%changelog
* Thu Oct 14 2021 yuanxin <yuanxin24@huawei.com> - 1.4.0-7
- Fix zh_CN msgster meaning error
* Thu Sep 16 2021 renhongxun <renhongxun@huawei.com> - 1.4.0-6
- bugfix on cannot open database file

View File

@ -0,0 +1,22 @@
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 4227e4f..8836488 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -44,14 +44,13 @@ msgid "Password: "
msgstr "密码:"
#: libpam/pam_get_authtok.c:41
-#, fuzzy, c-format
+#, c-format
msgid "Current %s password: "
-msgstr "新的 %s 密码:"
+msgstr "当前的 %s 密码:"
#: libpam/pam_get_authtok.c:42
-#, fuzzy
msgid "Current password: "
-msgstr "新的 密码:"
+msgstr "当前的密码:"
#: libpam/pam_get_authtok.c:44
#, c-format