pam/bugfix-pam-1.1.8-mod-chinese-date-format.patch

30 lines
1.3 KiB
Diff
Raw Normal View History

2019-12-30 11:46:16 +08:00
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 33c257d..2ae6e50 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -285,7 +285,7 @@ msgstr "%s 失败:未知的状态 0x%x"
#. TRANSLATORS: "strftime options for date of last login"
#: modules/pam_lastlog/pam_lastlog.c:282 modules/pam_lastlog/pam_lastlog.c:496
msgid " %a %b %e %H:%M:%S %Z %Y"
-msgstr "%a %b %e %H:%M:%S %Z %Y"
+msgstr "%Y年 %b %e日 %H:%M:%S 星期%a %Z"
#. TRANSLATORS: " from <host>"
#: modules/pam_lastlog/pam_lastlog.c:291 modules/pam_lastlog/pam_lastlog.c:505
@@ -320,13 +320,13 @@ msgstr "最后一次失败的登录:%s%s%s"
msgid "There was %d failed login attempt since the last successful login."
msgid_plural ""
"There were %d failed login attempts since the last successful login."
-msgstr[0] "最有一次成功登录后有 %d 次失败的登录尝试。"
+msgstr[0] "最近一次成功登录后有 %d 次失败的登录尝试。"
#. TRANSLATORS: only used if dngettext is not supported
#: modules/pam_lastlog/pam_lastlog.c:548
#, c-format
msgid "There were %d failed login attempts since the last successful login."
-msgstr "最有一次成功登录后有 %d 次失败的登录尝试。"
+msgstr "最近一次成功登录后有 %d 次失败的登录尝试。"
#: modules/pam_limits/pam_limits.c:1091
#, c-format