mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
cmp, diff, diff3, sdiff: support gnulib-l10n
* src/cmp.c (main): Call bindtextdomain for gnulib-l10n. * src/diff.c (main): Likewise. * src/diff3.c (main): Likewise. * src/sdiff.c (main): Likewise.
This commit is contained in:
parent
41034e8398
commit
82cbd61848
@ -208,6 +208,7 @@ main (int argc, char **argv)
|
||||
set_program_name (argv[0]);
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
c_stack_action (nullptr);
|
||||
xstdopen ();
|
||||
|
||||
@ -303,6 +303,7 @@ main (int argc, char **argv)
|
||||
set_program_name (argv[0]);
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
c_stack_action (nullptr);
|
||||
function_regexp_list.buf = &function_regexp;
|
||||
|
||||
@ -233,6 +233,7 @@ main (int argc, char **argv)
|
||||
set_program_name (argv[0]);
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
c_stack_action (nullptr);
|
||||
xstdopen ();
|
||||
|
||||
@ -449,6 +449,7 @@ main (int argc, char *argv[])
|
||||
set_program_name (argv[0]);
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
c_stack_action (cleanup);
|
||||
xstdopen ();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user