[Top][All Lists]

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

Re: [bug-gettext] interpretation of error messages

From: Bruno Haible
Subject: Re: [bug-gettext] interpretation of error messages
Date: Tue, 26 Jul 2011 22:57:57 +0200
User-agent: KMail/1.13.6 (Linux/; KDE/4.6.0; x86_64; ; )


Jon L. Bondy wrote:
> I am encountering error messages while running msgfmt.  The numbers at
> the start of the error messages do not appear to be line numbers.

They are line numbers, but into the PO file, not the source code.

> How does one locate the problem in the source text?  I am using Windows (of
> course!), and thus may not have the same tools available to me as one
> might under Linux.

When you generated the POT file from which the PO file was derived using the
xgettext option --add-location, you get references to the source code in the
PO file.

> I could not find documentation about the format of
> error messages in the GetText Manual PDF

The documentation of error messages in GNU is found in the GNU Coding Standards,
at [1].


[1] http://www.gnu.org/prep/standards/html_node/Errors.html
In memoriam Eva Perón <http://en.wikipedia.org/wiki/Eva_Perón>

reply via email to

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