bug-texinfo
[Top][All Lists]
Advanced

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

Re: install-info failure under LANG=it_IT.UTF-8


From: Karl Berry
Subject: Re: install-info failure under LANG=it_IT.UTF-8
Date: Thu, 15 Aug 2013 16:07:14 GMT

Thien-Thi,

    Date: Fri, 17 May 2013 11:16:41 +0200
    From: Thien-Thi Nguyen <address@hidden>

    Please find attached a tarball that demonstrates the failure of
    install-info under LANG=it_IT.UTF-8 to write a proper dir file.
    ...

Finally getting back to this report.  It turns out the Italian
translation simply failed to include the C-_ (it was part of the
string to be translated), causing the other errors.  (Not specific to
UTF-8 in Italian; and all the other languages I checked were fine.)

I changed the string so that the C-_ isn't translated.  Unfortunately
that will cause some makework for all the other translators who got it
right, but it seems more logical, just as we don't want to translate the
other "keywords".

Best,
karl

--- install-info.c      (revision 5312)
+++ install-info.c      (working copy)
@@ -630,7 +630,7 @@
           fprintf (f, _("This is the file .../info/dir, which contains the\n\
 topmost node of the Info hierarchy, called (dir)Top.\n\
 The first time you invoke Info you start off looking at this node.\n\
-\x1f\n\
+%c\n\
 %s\tThis is the top of the INFO tree\n\
 \n\
   This (the Directory node) gives a menu of major topics.\n\
@@ -642,9 +642,9 @@
   to select it.\n\
 \n\
 %s\n\
-"), "File: dir,\tNode: Top",  /* These keywords must not be translated.  */
-    "* Menu:"
-);
+"),         /* These keywords must not be translated:  */
+            '\x1f',  "File: dir,\tNode: Top",  "* Menu:"
+          );
           if (fclose (f) < 0)
             pfatal_with_name (dirfile);
         }



reply via email to

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