texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/texi2any.pl: remove \n from translated strin


From: Patrice Dumas
Subject: branch master updated: * tp/texi2any.pl: remove \n from translated strings is newly modified strings. Report from Benno Schulenberg.
Date: Sun, 19 Dec 2021 18:42:58 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new d4d0bc6  * tp/texi2any.pl: remove \n from translated strings is newly 
modified strings.  Report from Benno Schulenberg.
d4d0bc6 is described below

commit d4d0bc67ea1e983b97f63cdf719f2693ee57d4de
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Dec 20 00:42:49 2021 +0100

    * tp/texi2any.pl: remove \n from translated strings is newly
    modified strings.  Report from Benno Schulenberg.
---
 ChangeLog      |  5 +++++
 tp/texi2any.pl | 12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e542c07..0965d1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2021-12-20  Patrice Dumas  <pertusus@free.fr>
 
+       * tp/texi2any.pl: remove \n from translated strings is newly
+       modified strings.  Report from Benno Schulenberg.
+
+2021-12-20  Patrice Dumas  <pertusus@free.fr>
+
        * tp/Texinfo/Convert/HTML.pm (_root_html_element_attributes_string),
        doc/texinfo.texi (HTML Customization Variables): add
        HTML_ROOT_ELEMENT_ATTRIBUTES to be able to add attributes
diff --git a/tp/texi2any.pl b/tp/texi2any.pl
index 6a06f1d..504ad4d 100755
--- a/tp/texi2any.pl
+++ b/tp/texi2any.pl
@@ -659,22 +659,22 @@ the behavior is identical, and does not depend on the 
installed name.\n")
                                 after checking validity of TEXINFO-FILE.\n")
 ."\n";
 
-  $makeinfo_help .= __("General output options:\n")
+  $makeinfo_help .= __("General output options:")."\n"
 .__(
 "  -E, --macro-expand=FILE     output macro-expanded source to FILE,
-                                ignoring any \@setfilename.\n")
+                                ignoring any \@setfilename.")."\n"
 .__(
 "      --no-headers            suppress node separators, Node: lines, and menus
                                 from Info output (thus producing plain text)
                                 or from HTML (thus producing shorter output).
                                 Also, if producing Info, write to
-                                standard output by default.\n")
+                                standard output by default.")."\n"
 .__(
 "      --no-split              suppress any splitting of the output;
-                                generate only one output file.\n")
+                                generate only one output file.")."\n"
 .__(
 "      --[no-]number-sections  output chapter and sectioning numbers;
-                                default is on.\n")
+                                default is on.")."\n"
 .__(
 "  -o, --output=DEST           output to DEST.
                                 With split output, create DEST as a directory
@@ -682,7 +682,7 @@ the behavior is identical, and does not depend on the 
installed name.\n")
                                 With non-split output, if DEST is already
                                 a directory or ends with a /,
                                 put the output file there.
-                                Otherwise, DEST names the output file.\n")
+                                Otherwise, DEST names the output file.")."\n"
 ."\n";
   # TODO: avoid \n in translated strings, split each option in a translatable
   # string.  Report from Benno Schulenberg



reply via email to

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