[PyQt] Re: Strings with variables in TS-File can not be loaded

Alberto Berti alberto at metapensiero.it
Tue Sep 16 14:55:23 BST 2008

>>>>> "Sergio" == Sergio Jovani <lesergi at gmail.com> writes:

    Sergio> Source code: DurationMsg=self.tr("Duration: %s min" %
    Sergio> duration)

mmm but here the string gets formatted before the callo to tr(), it
can never be translated...

    Sergio> Translation: Duració: %s min

More information about the PyQt mailing list