mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Prepare sudoers module messages for translation.
This commit is contained in:
@@ -94,12 +94,12 @@ _warning(int use_errno, const char *fmt, va_list ap)
|
||||
msg[0].msg_type = SUDO_CONV_ERROR_MSG;
|
||||
msg[0].msg = getprogname();
|
||||
msg[1].msg_type = SUDO_CONV_ERROR_MSG;
|
||||
msg[1].msg = ": ";
|
||||
msg[1].msg = _(": ");
|
||||
msg[2].msg_type = SUDO_CONV_ERROR_MSG;
|
||||
msg[2].msg = str;
|
||||
if (use_errno) {
|
||||
msg[3].msg_type = SUDO_CONV_ERROR_MSG;
|
||||
msg[3].msg = ": ";
|
||||
msg[3].msg = _(": ");
|
||||
msg[4].msg_type = SUDO_CONV_ERROR_MSG;
|
||||
msg[4].msg = strerror(errno);
|
||||
nmsgs = 6;
|
||||
|
Reference in New Issue
Block a user