]> granicus.if.org Git - sudo/commitdiff
Make the sudo lecture translatable.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Nov 2012 20:37:03 +0000 (15:37 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Nov 2012 20:37:03 +0000 (15:37 -0500)
plugins/sudoers/check.c

index d7371dcbf4cf34c04c647a5543ccec4a89abf50d..c0954af3904b2be5bcb95149da8973c318db947b 100644 (file)
@@ -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);