[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Wed, 11 Dec 2024 12:52:51 -0500 (EST) |
branch: master
commit eea20bd613c9aead11c88534b89a12006f09e09e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Dec 11 17:46:47 2024 +0000
Use new method for gnulib translations
* info/info.c (main),
* install-info/install-info.c (main):
Call bindtextdomain for gnulib domain.
---
ChangeLog | 8 ++++++++
info/info.c | 3 +++
install-info/install-info.c | 3 +++
3 files changed, 14 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 736688d8ba..db9848fcbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-12-11 Gavin Smith <gavinsmith0123@gmail.com>
+
+ Use new method for gnulib translations
+
+ * info/info.c (main),
+ * install-info/install-info.c (main):
+ Call bindtextdomain for gnulib domain.
+
2024-12-11 Gavin Smith <gavinsmith0123@gmail.com>
Excise gnulib/po
diff --git a/info/info.c b/info/info.c
index 8067d0c8a2..553f2f11b2 100644
--- a/info/info.c
+++ b/info/info.c
@@ -699,6 +699,9 @@ main (int argc, char *argv[])
/* Set the text message domain. */
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+
+ /* For any translations of gnulib strings. */
+ bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
#endif
init_messages ();
diff --git a/install-info/install-info.c b/install-info/install-info.c
index b7380b4b9b..3ea11fbc93 100644
--- a/install-info/install-info.c
+++ b/install-info/install-info.c
@@ -1981,6 +1981,9 @@ main (int argc, char *argv[])
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+ /* For any translations of gnulib strings. */
+ bindtextdomain ("gnulib", GNULIB_LOCALEDIR);
+
/* Make sure standard input can be freopened at will. Otherwise,
when stdin starts off closed, bad things could happen if a plain fopen
returns stdin before open_possibly_compressed_file freopens it. */