[Gajim-devel] Patch for translatable messages

Yann Le Boulanger asterix at lagaule.org
Wed Sep 6 09:07:40 CEST 2006


Jan Claeys wrote:
> But at run-time, the string formatting is done first, and then the
> result of that is passed as an argument to the _() function that looks
> up the translation, so then:
>    
>    contactname = "Asterix"
>    _("see %s" % contactname)
> 
> *is* the same as:
> 
>    _("see Asterix")
> 
> Now gettext will look for "see Asterix" in the po file...
> 
> 

I never saw this problem ... but it doesn't hurt applying this patch.

Torsten, could you open a ticket with this patch attached so I can get 
it ? it's not a attached file in your first mail.

Thanks
-- 
Yann



More information about the Gajim-devel mailing list