From 6fc4ae7a28f4603daee61672949835aa6e6059ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 12 Mar 1996 23:49:29 +0000 Subject: (main): Initialize for internationalized message support: call setlocale, bindtextdomain, and textdomain. --- src/tty.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tty.c') diff --git a/src/tty.c b/src/tty.c index 598606339..26c293bb7 100644 --- a/src/tty.c +++ b/src/tty.c @@ -61,6 +61,10 @@ main (int argc, char **argv) int optc; program_name = argv[0]; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + silent = 0; while ((optc = getopt_long (argc, argv, "s", longopts, (int *) 0)) != EOF) -- cgit v1.2.3-54-g00ecf