On 6/6/23 12:17, Bruno Haible wrote:

Probably the cause is that gnulib/lib/propername.h now has a _() invocation
inside comments, per
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=3f478b6cd3041b85891ff4a3ef1a141f85f82e49

Thanks, I installed the attached into Gnulib and propagated this into diffutils.
From 0e2636700a641556256a37fca0e7d6f472f83bb4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Tue, 6 Jun 2023 18:42:56 -0700
Subject: [PATCH] propername: pacify po_check

Problem reported by Bruno Haible <https://bugs.gnu.org/63933>.
* lib/propername.h: Change comment.
---
 ChangeLog        | 4 ++++
 lib/propername.h | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2aa6726537..7666d467e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-06-06  Paul Eggert  <egg...@cs.ucla.edu>
 
+	propername: pacify po_check
+	Problem reported by Bruno Haible <https://bugs.gnu.org/63933>.
+	* lib/propername.h: Change comment.
+
 	Put "/" at end of .gitignore directory names
 	* build-aux/bootstrap: Regenerate.
 	* top/bootstrap-funclib.sh (symlink_to_dir, autogen):
diff --git a/lib/propername.h b/lib/propername.h
index 7bd57b24a4..667058b47b 100644
--- a/lib/propername.h
+++ b/lib/propername.h
@@ -83,11 +83,12 @@
 
    Here is an example in context.
 
-        printf (_("Written by %s and %s.\n"),
+              char const *author_names[2] = {
                 / * TRANSLATORS: This is the proper name "Danilo Šegan".
                     In the original Cyrillic it is "Данило Шеган".  * /
                 proper_name_utf8 ("Danilo Segan", "Danilo \305\240egan"),
-                proper_name ("Bruno Haible"));
+                proper_name ("Bruno Haible")
+              };
 
    Differences between proper_name_utf8 and proper_name_lite:
    * proper_name_lite uses the localization provided by the translator.
-- 
2.40.1

Reply via email to