mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-05 23:32:26 -04:00
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain. Reported by Michel Robitaille <robitail@IRO.UMontreal.CA>.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user