maint: use our textdomain for Gnulib
commit6b9c72607683bcd73d4c5832cf9e94ae979572f0
authorPaul Eggert <[email protected]>
Tue, 9 Sep 2025 17:03:27 +0000 (9 10:03 -0700)
committerPaul Eggert <[email protected]>
Tue, 9 Sep 2025 17:23:01 +0000 (9 10:23 -0700)
tree1ba5a0f86db126d3b91764b3bb5b89a14e8a975d
parent3ccfcd8cd77b819ee6a47670b39153451da2844e
maint: use our textdomain for Gnulib

Support diffutils’ traditional way of getting translations,
by telling Gnulib to use diffutils’ message catalog.
* configure.ac (GNULIB_TEXT_DOMAIN): New macro.
* src/cmp.c, src/diff.c, src/diff3.c, src/sdiff.c (main):
Don’t call bindtextdomain ("gnulib", GNULIB_LOCALEDIR)
as the existing bindtextdomain (PACKAGE, LOCALEDIR) call suffices.
configure.ac
src/cmp.c
src/diff.c
src/diff3.c
src/sdiff.c