[Gajim-devel] Patch for translatable messages

Torsten Bronger bronger at physik.rwth-aachen.de
Tue Sep 5 13:06:35 CEST 2006


Hallöchen!

Yann Le Boulanger writes:

> Torsten Bronger wrote:
>
>> Yes, but the problem occurs later.  _("see %s" % "blablubb")
>> becomes _("see blablubb") at runtime, which can't be found in the
>> dictionary.
>
> in such a case we do:
> _("see %s" % _("blablubb"))
>
> and both
> "see %s" and "blablubb" are in pot file
>
> I still don't see what string is not translated with the way we do
> things.

Okay, poor example, mea culpa.  ;-)

_("see %s" % contactname)

And e.g. "see Asterix" surely is not in the pot file.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                                    ICQ 264-296-646
                          (See ime.webhop.org for Jabber, MSN, etc.)



More information about the Gajim-devel mailing list