[Freeciv-Dev] Re: headers in po-files
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Erik Sigra wrote on 2001-03-01:
> If I have the header fuzzy marked, the city
> report looks like in the screenshot cityreport.png. But when I remove the
> fuzzy line, it looks like in the screenshot cityreportwrong.png, which is
> clearly wrong. I didn't change anything else in sv.po between the
> screenshots. This doesn't necessarly mean that headers should be fuzzy
> marked. Maybe there is some other problem which is prevented from being
> triggered by fuzzy marking the header?
It looks like you are passing the empty string to gettext(). When you
do that, GNU gettext() returns the header entry. This is a feature.
If you want to use the empty string instead, you have to do it
explicitly:
const char *str = ,,,;
if (str[0] != '\0')
str = gettext(str);
Note that the header entry is necessary for several of the
gettext-0.10.38 features. gettext-0.11 will not ignore header entry
even if it is marked fuzzy.
Bruno
- [Freeciv-Dev] Re: headers in po-files,
Bruno Haible <=
- [Freeciv-Dev] Re: headers in po-files, Gaute B Strokkenes, 2001/06/25
- [Freeciv-Dev] Re: headers in po-files, Lino Mastrodomenico, 2001/06/26
- [Freeciv-Dev] Re: headers in po-files, Gaute B Strokkenes, 2001/06/26
- [Freeciv-Dev] Re: headers in po-files, Thue, 2001/06/26
- [Freeciv-Dev] Re: headers in po-files, Thue, 2001/06/26
- [Freeciv-Dev] Re: headers in po-files, Jeff Mallatt, 2001/06/26
- [Freeciv-Dev] Re: headers in po-files, Gaute B Strokkenes, 2001/06/26
[Freeciv-Dev] Re: headers in po-files, Bruno Haible, 2001/06/26
|
|