From: Todd C. Miller Date: Fri, 9 Nov 2012 20:37:03 +0000 (-0500) Subject: Make the sudo lecture translatable. X-Git-Tag: SUDO_1_8_7~1^2~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69cb0c321556d20e22e1776d019613410ea5427c;p=sudo Make the sudo lecture translatable. --- diff --git a/plugins/sudoers/check.c b/plugins/sudoers/check.c index d7371dcbf..c0954af39 100644 --- a/plugins/sudoers/check.c +++ b/plugins/sudoers/check.c @@ -176,7 +176,12 @@ display_lecture(int status) fclose(fp); } else { msg.msg_type = SUDO_CONV_ERROR_MSG; - msg.msg = _(DEFAULT_LECTURE); + msg.msg = _("\n" + "We trust you have received the usual lecture from the local System\n" + "Administrator. It usually boils down to these three things:\n\n" + " #1) Respect the privacy of others.\n" + " #2) Think before you type.\n" + " #3) With great power comes great responsibility.\n\n"); sudo_conv(1, &msg, &repl); } debug_return_int(true);