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

Sergio Jovani lesergi at gmail.com
Tue Sep 16 15:56:02 BST 2008


El Tuesday 16 September 2008 15:55:23 Alberto Berti va escriure:
> >>>>> "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
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

I'm sorry to be so stupid, but I don't understand you are telling to me. How 
should I write this??

Thanks for your patience!



More information about the PyQt mailing list