texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Mon, 23 Dec 2024 09:22:27 -0500 (EST)

branch: master
commit a7be1adf027319ecd42f41be05893eb10c44d0ce
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Dec 23 13:12:05 2024 +0000

    * info/nodemenu.c (get_visited_nodes, nodemenu_format_info):
    Remove "* Menu:" from translatable string to prevent translators
    from translating it.
---
 ChangeLog       | 6 ++++++
 info/nodemenu.c | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 25913dac65..1a38dc94c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-23  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * info/nodemenu.c (get_visited_nodes, nodemenu_format_info):
+       Remove "* Menu:" from translatable string to prevent translators
+       from translating it.
+
 2024-12-23  Patrice Dumas  <pertusus@free.fr>
 
        * tp/tests/other/list-of-tests (highlight_syntax_example_latin9):
diff --git a/info/nodemenu.c b/info/nodemenu.c
index 6eacbbd90b..86ee87ba5f 100644
--- a/info/nodemenu.c
+++ b/info/nodemenu.c
@@ -30,9 +30,7 @@ static NODE *get_visited_nodes (void);
 static const char *
 nodemenu_format_info (void)
 {
-  /* TRANSLATORS: The "\n* Menu:\n\n" part of this should not be translated, 
as 
-     it is part of the Info syntax. */
-  return _("\n* Menu:\n\n\
+  return _("\
   (File)Node                        Lines   Size   Containing File\n\
   ----------                        -----   ----   ---------------");
 }
@@ -187,7 +185,9 @@ get_visited_nodes (void)
      (_("Here is the menu of nodes you have recently visited.\n\
 Select one from this menu, or use '\\[history-node]' in another window.\n"), 
0));
 
-  text_buffer_printf (&message, "%s\n", nodemenu_format_info ());
+  text_buffer_printf (&message, "\n%s\n\n%s\n",
+                      "* Menu:",
+                      nodemenu_format_info ());
 
   for (i = 0; (lines != NULL) && (i < lines_index); i++)
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]