texinfo-commits
[Top][All Lists]
Advanced

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

[7373] put text within a call to gettext


From: gavinsmith0123
Subject: [7373] put text within a call to gettext
Date: Sun, 18 Sep 2016 22:12:49 +0000 (UTC)

Revision: 7373
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7373
Author:   gavin
Date:     2016-09-18 22:12:49 +0000 (Sun, 18 Sep 2016)
Log Message:
-----------
put text within a call to gettext

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/indices.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-09-18 18:46:12 UTC (rev 7372)
+++ trunk/ChangeLog     2016-09-18 22:12:49 UTC (rev 7373)
@@ -1,5 +1,10 @@
 2016-09-18  Gavin Smith  <address@hidden>
 
+       * info/indices.c (info_virtual_index): Put text within a
+       call to gettext so that it can be translated.
+
+2016-09-18  Gavin Smith  <address@hidden>
+
        * doc/texinfo.tex (\definefontsetatsize): New macro to reduce 
        repetition in \textfonts, \titlefonts etc.
        (\reducedrm): Comment changed.

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2016-09-18 18:46:12 UTC (rev 7372)
+++ trunk/info/indices.c        2016-09-18 22:12:49 UTC (rev 7373)
@@ -857,11 +857,12 @@
   
   text_buffer_init (&text);
   text_buffer_printf (&text,
-                     "File: %s,  Node: Index for '%s'\n\n"
-                     "Virtual Index\n"
-                     "*************\n\n"
-                      "Index entries that match '%s':\n",
-                      fb->filename, index_search, index_search);
+                      "File: %s,  Node: Index for '%s'\n\n",
+                      fb->filename, index_search);
+  text_buffer_printf (&text, _("Virtual Index\n"
+                               "*************\n\n"
+                               "Index entries that match '%s':\n"),
+                      index_search);
   text_buffer_add_string (&text, "\0\b[index\0\b]", 11);
   text_buffer_printf (&text, "\n* Menu:\n\n");
 




reply via email to

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