I ll fixed this pb today (or maybe tomorrow) :)

And if you have something like:
char *= keyboard input
string = gettext(string)
print(string)

if string = "", we will display the gettext header ? hum ...


2009/4/17 Massimo Maiurana <[email protected]>

> Atton Jonathan, il 17/04/2009 11:40, scrisse:
> > I found in exalt po files and in e (doesn't look in other projects) 2
> > strange lines. A example:
> > http://trac.enlightenment.org/e/browser/trunk/e/po/fr.po
> >
> > The 2 first lines translate an empty string into a string with the header
> of
> > the file.
> >
> > Is there a problem or I don't understand something ?
>
> no problem there, it's just the way gettext works, the empty string
> is reserved for the po header.
>
> but indeed there are problems with exalt-client as there are 2 empty
> strings in its source, so when generating the pot file xgettext
> returns this warnings:
> ./src/network_dialog.c:224: warning: Empty msgid.
> It is reserved by GNU gettext:
> gettext("") returns the header entry with
> meta information, not the empty string.
> ./src/network_dialog.c:308: warning: Empty msgid....
>
> as a consequence the resulting files are messed, the header is not
> at the beginning of the file anymore.
> I've never talked about this because I thought that those strings
> would be filled from developers one day, so I've always fixed my
> files by hand :)
>
> --
>       Massimo Maiurana         massimo<at>ragusa.linux.it
>       http://massimo.solira.org       GPG keyID #7044D601
>
> Articolo 33 - [...]Enti e privati hanno il diritto di istituire
> scuole ed istituti di educazione, senza oneri per lo Stato.[...]
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Regards.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to