GNU bug report logs - #76034
Status of gnulib-l10n in diffutils

Previous Next

Package: diffutils;

Reported by: Santiago Vila <sanvila <at> debian.org>

Date: Mon, 3 Feb 2025 20:17:02 UTC

Severity: normal

To reply to this bug, email your comments to 76034 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#76034; Package diffutils. (Mon, 03 Feb 2025 20:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Santiago Vila <sanvila <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Mon, 03 Feb 2025 20:17:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Santiago Vila <sanvila <at> debian.org>
To: bug-diffutils <at> gnu.org
Subject: Status of gnulib-l10n in diffutils
Date: Mon, 3 Feb 2025 21:15:33 +0100
Hello.

After gettext decided to rely on a new package called gnulib-l10n
for the gnulib translations, I believed that diffutils would be next,
but the NEWS file for 3.11 does not say anything about it.

So: Will diffutils really do the same at some point?

Thanks.




Information forwarded to bug-diffutils <at> gnu.org:
bug#76034; Package diffutils. (Mon, 03 Feb 2025 20:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 76034 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Santiago Vila <sanvila <at> debian.org>, 76034 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#76034: Status of gnulib-l10n in diffutils
Date: Mon, 3 Feb 2025 12:29:49 -0800
On 2/3/25 12:15, Santiago Vila wrote:
> So: Will diffutils really do the same at some point?

I don't see why not. We didn't get around to it for 3.11, though.




Information forwarded to bug-diffutils <at> gnu.org:
bug#76034; Package diffutils. (Mon, 03 Feb 2025 21:43:01 GMT) Full text and rfc822 format available.

Message #11 received at 76034 <at> debbugs.gnu.org (full text, mbox):

From: Simon Josefsson <simon <at> josefsson.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Santiago Vila <sanvila <at> debian.org>, 76034 <at> debbugs.gnu.org
Subject: Re: bug#76034: bug#76034: Status of gnulib-l10n in diffutils
Date: Mon, 03 Feb 2025 22:42:12 +0100
[Message part 1 (text/plain, inline)]
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> On 2/3/25 12:15, Santiago Vila wrote:
>> So: Will diffutils really do the same at some point?
>
> I don't see why not. We didn't get around to it for 3.11, though.

Something like this perhaps?

/Simon
[0001-cmp-diff-diff3-sdiff-Support-gnulib-l10n.patch (text/x-diff, inline)]
From 280f6a66819e6e2738498a6f37e09a50058cd9f0 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon <at> josefsson.org>
Date: Mon, 3 Feb 2025 22:40:16 +0100
Subject: [PATCH] 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.
---
 src/cmp.c   | 1 +
 src/diff.c  | 1 +
 src/diff3.c | 1 +
 src/sdiff.c | 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/cmp.c b/src/cmp.c
index 26067d9..2482708 100644
--- a/src/cmp.c
+++ b/src/cmp.c
@@ -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 ();
diff --git a/src/diff.c b/src/diff.c
index c465d40..fa6100e 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -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;
diff --git a/src/diff3.c b/src/diff3.c
index 1b935f8..fa5f5a6 100644
--- a/src/diff3.c
+++ b/src/diff3.c
@@ -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 ();
diff --git a/src/sdiff.c b/src/sdiff.c
index 07b4510..7734a82 100644
--- a/src/sdiff.c
+++ b/src/sdiff.c
@@ -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 ();
-- 
2.48.1

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.