2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

Call gettext() on insults when displayed, not when declared.

This commit is contained in:
Todd C. Miller
2024-04-22 08:15:39 -06:00
parent 8666c66ff1
commit 78699a8f7a
6 changed files with 61 additions and 61 deletions

View File

@@ -231,7 +231,7 @@ pass_warn(void)
#ifdef INSULT
if (def_insults)
warning = INSULT;
warning = _(INSULT);
#endif
sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, "%s\n", warning);