Prepare sudo front end messages for translation.

This commit is contained in:
Todd C. Miller
2011-05-06 17:47:51 -04:00
parent 96b7c1f0f4
commit c865a462cc
15 changed files with 180 additions and 174 deletions

View File

@@ -76,11 +76,11 @@ _warning(int use_errno, const char *fmt, va_list ap)
fputs(getprogname(), stderr);
if (fmt != NULL) {
fputs(": ", stderr);
fputs(_(": "), stderr);
vfprintf(stderr, fmt, ap);
}
if (use_errno) {
fputs(": ", stderr);
fputs(_(": "), stderr);
fputs(strerror(serrno), stderr);
}
putc('\n', stderr);