Add calls to bindtextdomain() and textdomain()
Currently there are two domains, one for the sudo front-end and one for the sudoers plugin and its associated utilities.
This commit is contained in:
@@ -245,6 +245,10 @@ main(int argc, char *argv[])
|
||||
setlocale(LC_ALL, "");
|
||||
decimal = localeconv()->decimal_point;
|
||||
#endif
|
||||
#ifdef HAVE_LIBINTL_H
|
||||
bindtextdomain("sudoers", LOCALEDIR); /* XXX - should have sudoreplay domain */
|
||||
textdomain("sudoers");
|
||||
#endif
|
||||
|
||||
while ((ch = getopt(argc, argv, "d:f:hlm:s:V")) != -1) {
|
||||
switch(ch) {
|
||||
|
Reference in New Issue
Block a user