aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_tally2
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2018-06-22 10:21:22 +0000
committerDmitry V. Levin <ldv@altlinux.org>2018-06-22 10:21:22 +0000
commit955b3e2f100205be2db4358e9c812de2ae453b8e (patch)
tree68d3aed93e95f7c3d9e33eb779360fcdaa4851f3 /modules/pam_tally2
parent0fb1f5b701432b6d9f40754b69f2fe0dc6f75103 (diff)
downloadpam-955b3e2f100205be2db4358e9c812de2ae453b8e.tar.gz
pam-955b3e2f100205be2db4358e9c812de2ae453b8e.tar.bz2
pam-955b3e2f100205be2db4358e9c812de2ae453b8e.zip
pam_tally, pam_tally2: fix grammar and spelling (#54)
* modules/pam_tally/pam_tally.c (tally_check): Replace "Account is temporary locked" with "The account is temporarily locked" in translated messages. * modules/pam_tally2/pam_tally2.c (tally_check): Likewise. * po/Linux-PAM.pot: Update pam_tally and pam_tally2 messages. Closes: https://github.com/linux-pam/linux-pam/issues/54
Diffstat (limited to 'modules/pam_tally2')
-rw-r--r--modules/pam_tally2/pam_tally2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_tally2/pam_tally2.c b/modules/pam_tally2/pam_tally2.c
index 9a24d881..984edf6a 100644
--- a/modules/pam_tally2/pam_tally2.c
+++ b/modules/pam_tally2/pam_tally2.c
@@ -577,7 +577,7 @@ tally_check (tally_t oldcnt, time_t oldtime, pam_handle_t *pamh, uid_t uid,
#endif
if (!(opts->ctrl & OPT_QUIET)) {
- pam_info(pamh, _("Account is locked due to %u failed logins."),
+ pam_info(pamh, _("The account is locked due to %u failed logins."),
(unsigned int)tally->fail_cnt);
}
loglevel = LOG_NOTICE;
@@ -594,7 +594,7 @@ tally_check (tally_t oldcnt, time_t oldtime, pam_handle_t *pamh, uid_t uid,
tally->fail_time = oldtime;
if (!(opts->ctrl & OPT_QUIET)) {
- pam_info(pamh, _("Account is temporary locked (%ld seconds left)."),
+ pam_info(pamh, _("The account is temporarily locked (%ld seconds left)."),
oldtime+opts->lock_time-time(NULL));
}
if (!(opts->ctrl & OPT_NOLOGNOTICE)) {