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

Sergio Jovani lesergi at gmail.com
Tue Sep 16 01:20:53 BST 2008


Hello all!

I have a project and his respective translations in TS files. All work fine 
except strings that contain %s, they aren't loaded, source-code strings are 
loaded.

For example,

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

Translation:
Duració: %s min


App loads for example "Duration: 4 min"

I need your help.

Thanks!!!




More information about the PyQt mailing list