[PyQt] Strings with variables in TS-File can not be loaded
phil at riverbankcomputing.com
Tue Sep 16 09:31:09 BST 2008
On Tue, 16 Sep 2008 02:20:53 +0200, Sergio Jovani <lesergi at gmail.com>
> Hello all!
> I have a project and his respective translations in TS files. All work
> except strings that contain %s, they aren't loaded, source-code strings
> For example,
> Source code:
> DurationMsg=self.tr("Duration: %s min" % duration)
> Duració: %s min
> App loads for example "Duration: 4 min"
Can you send me a short, complete example that demonstrates the problem.
More information about the PyQt