(main): Initialize for internationalized message support:

call setlocale, bindtextdomain, and textdomain.  Reported by
Michel Robitaille <robitail@IRO.UMontreal.CA>.
This commit is contained in:
Jim Meyering
1996-07-19 02:59:54 +00:00
parent a5c67e1c05
commit 89495b81dd
+4
View File
@@ -292,6 +292,10 @@ main (int argc, char **argv)
int optc;
program_name = argv[0];
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
recurse = force_silent = verbose = changes_only = 0;
while ((optc = getopt_long (argc, argv, "Rcfnv", long_options, (int *) 0))