pam/fix-login-message.patch
2020-06-18 17:12:44 +08:00

33 lines
1.2 KiB
Diff

From 1a79e750977c2c809d5fc8f44c1c90f58a261926 Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Wed, 17 Jun 2020 15:14:25 +0800
Subject: [PATCH] fix login translation inaccurate
---
po/zh_CN.po | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 33c257d..398d8b6 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -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
--
1.8.3.1