* Makefile.am (INCLUDES): Search intl dirs for headers; define
LOCALEDIR. * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. * ar.c (main): Likewise. * coffdump.c (main): Likewise. * dlltool.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * size.c (main): Likewise. * srconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * windres.c (main): Likewise.
This commit is contained in:
parent
16a02269fc
commit
19ac4b08f0
16 changed files with 78 additions and 3 deletions
|
@ -485,6 +485,10 @@ main (ac, av)
|
|||
{ NULL, no_argument, 0, 0 }
|
||||
};
|
||||
|
||||
setlocale (LC_MESSAGES, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
|
||||
program_name = av[0];
|
||||
xmalloc_set_program_name (program_name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue