From: Todd C. Miller Date: Wed, 11 Jul 2012 20:28:40 +0000 (-0400) Subject: Use "a password is required" instead of "password required" when X-Git-Tag: SUDO_1_8_6^2~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7dc1d849f071d7caa23456fe6005a373ae78c18;p=sudo Use "a password is required" instead of "password required" when the -n flag is used and we need to read a password. --- diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c index 0f0b13c93..239a60436 100644 --- a/plugins/sudoers/logging.c +++ b/plugins/sudoers/logging.c @@ -374,7 +374,7 @@ log_auth_failure(int status, int tries) log_error(flags, ngettext("%d incorrect password attempt", "%d incorrect password attempts", tries), tries); } else if (ISSET(status, FLAG_NON_INTERACTIVE)) { - log_error(flags, _("password required")); + log_error(flags, _("a password is required")); } } diff --git a/plugins/sudoers/po/sudoers.pot b/plugins/sudoers/po/sudoers.pot index b5db1a73b..3a0e1d30c 100644 --- a/plugins/sudoers/po/sudoers.pot +++ b/plugins/sudoers/po/sudoers.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: sudo 1.8.6\n" "Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" -"POT-Creation-Date: 2012-07-10 14:52-0400\n" +"POT-Creation-Date: 2012-07-11 16:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1040,7 +1040,7 @@ msgstr[0] "" msgstr[1] "" #: plugins/sudoers/logging.c:377 -msgid "password required" +msgid "a password is required" msgstr "" #: plugins/sudoers/logging.c:528