#include "alloc.h"
#include "error.h"
+#define DEFAULT_TEXT_DOMAIN "sudo"
+#include "gettext.h"
+
#ifdef HAVE_GETUSERATTR
#ifndef HAVE_SETRLIMIT64
if (user != NULL) {
if (setuserdb(S_READ) != 0)
- error(1, "unable to open userdb");
+ error(1, _("unable to open userdb"));
if (getuserattr(user, S_REGISTRY, ®istry, SEC_CHAR) == 0) {
if (setauthdb(registry, NULL) != 0)
- error(1, "unable to switch to registry \"%s\" for %s",
+ error(1, _("unable to switch to registry \"%s\" for %s"),
registry, user);
}
enduserdb();
aix_restoreauthdb(void)
{
if (setauthdb(NULL, NULL) != 0)
- error(1, "unable to restore registry");
+ error(1, _("unable to restore registry"));
}
#endif