From: David Masterson <dsmasterson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: dir(Top) is in French ?!?
Date: Mon, 28 Apr 2014 11:29:05 -0700 [thread overview]
Message-ID: <8661lt71fy.fsf@gmail.com> (raw)
In-Reply-To: mailman.202.1398707393.1147.help-gnu-emacs@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: David Masterson <dsmasterson@gmail.com>
>> Date: Mon, 28 Apr 2014 10:32:20 -0700
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > This is not an Emacs problem. This is how the install-info.exe
>> > program (part of the Texinfo package) works: it localizes these
>> > introductory instructions to the Info system when it installs Info
>> > files.
>>
>> I don't have the source code installed, but I don't believe that is
>> true.
>
>>From install-info.c:
>
> desc = open (dirfile, O_RDONLY);
> if (desc < 0 && errno == ENOENT)
> {
> FILE *f;
> char *readerr = strerror (errno);
> close (desc);
> f = fopen (dirfile, "w");
> if (f)
> {
> 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\
> %c\n\
> %s\tThis is the top of the INFO tree\n\
> \n\
> [...]
>
> As you probably know, text that is in _() will be replaced by gettext
> with its localized translation.
But this only applies if there is *no* dir file. My problem is that,
when there are dir files, the header information is pulled from the
first dir file in Info-directory-list. If it is wrong (as in this
case), then the result is wrong. The resulting dir file is not
localized.
--
David Masterson
Programmer At Large
next prev parent reply other threads:[~2014-04-28 18:29 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 3:15 dir(Top) is in French ?!? David Masterson
2014-04-28 4:33 ` Notes-Mode package problem (was dir(Top) is in French ?!?) David Masterson
2014-04-28 5:33 ` David Masterson
2014-04-28 15:21 ` Eli Zaretskii
[not found] ` <mailman.182.1398698489.1147.help-gnu-emacs@gnu.org>
2014-04-28 17:24 ` David Masterson
2014-04-28 17:47 ` Eli Zaretskii
[not found] ` <mailman.201.1398707246.1147.help-gnu-emacs@gnu.org>
2014-04-28 18:19 ` David Masterson
2014-04-28 18:47 ` Eli Zaretskii
[not found] ` <mailman.211.1398710871.1147.help-gnu-emacs@gnu.org>
2014-04-29 5:14 ` David Masterson
2014-04-28 15:18 ` dir(Top) is in French ?!? Eli Zaretskii
[not found] ` <mailman.181.1398698332.1147.help-gnu-emacs@gnu.org>
2014-04-28 17:32 ` David Masterson
2014-04-28 17:49 ` Eli Zaretskii
[not found] ` <mailman.202.1398707393.1147.help-gnu-emacs@gnu.org>
2014-04-28 18:29 ` David Masterson [this message]
2014-04-28 18:50 ` Eli Zaretskii
2014-04-29 12:03 ` Stefan Monnier
2014-04-29 14:06 ` Eli Zaretskii
[not found] ` <mailman.272.1398780373.1147.help-gnu-emacs@gnu.org>
2014-04-29 22:02 ` David Masterson
2014-04-30 2:56 ` Eli Zaretskii
2014-04-29 22:21 ` Stefan Monnier
2014-04-30 2:58 ` Eli Zaretskii
2014-04-30 12:20 ` Stefan Monnier
[not found] ` <mailman.369.1398860725.1147.help-gnu-emacs@gnu.org>
2014-05-01 13:30 ` Stefan Monnier
2014-05-01 15:14 ` Eli Zaretskii
[not found] ` <mailman.444.1398957286.1147.help-gnu-emacs@gnu.org>
2014-05-01 15:21 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8661lt71fy.fsf@gmail.com \
--to=dsmasterson@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.