bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Header handling?


From: Bruno Haible
Subject: Re: Header handling?
Date: Mon, 27 Jul 2009 21:14:00 +0200
User-agent: KMail/1.9.9

Hi,

Leslie Herps wrote:
> Attached are 2 screenshots. broken, and fixed, to illustrate what
> appears WITH a header (broken) and without (fixed, removed header).

The screenshots indicate that somewhere in your application you have
an invocation  gettext ("").  This call returns the meta-information
of the PO file. This meta-information cannot be stripped off; it is
necessary because not all users use an UTF-8 locale or when the
PO file contains plural forms.

The fix is to not use gettext (""). The empty string cannot meaningfully
be translated. Maybe the empty string should be hardcoded instead; or
maybe you can follow the advice [1] "Use entire sentences".

Bruno

[1] http://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html






reply via email to

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