mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Call gettext() in sudoerserror() in the user's locale and pass the untranslated string to it.
This commit is contained in:
@@ -122,7 +122,7 @@ alias_add(char *name, int type, struct member *members)
|
||||
/* a->seqno = 0; */
|
||||
list2tq(&a->members, members);
|
||||
if (rbinsert(aliases, a)) {
|
||||
snprintf(errbuf, sizeof(errbuf), _("Alias `%s' already defined"), name);
|
||||
snprintf(errbuf, sizeof(errbuf), N_("Alias `%s' already defined"), name);
|
||||
alias_free(a);
|
||||
debug_return_str(errbuf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user