[PyQt] Possible bug in pyludate5

Detlev Offenbach detlev at die-offenbachs.de
Sat Jul 5 12:18:49 BST 2014


Hi,

I have a few calls like these in my program.

QCoreApplication.translate(
            "DownloadUtilities",
            "%n:{0:02} minutes remaining""", "",
            minutes).format(seconds)

The observed issue is, that pyludate5 doesn't generate the numerous form. Attached find a 
minumum example and the resultant output. The _correct.ty file contains the correct format 
that should have been created.

If the compatibility overload of the translate function (the one containg the encoding parameter), 
the generated .ts file is correct. However, that is not wrapped (i.e. not cotained in 
QCoreApplication.sip).

Regards,
Detlev-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140705/8167e28f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 271 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140705/8167e28f/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main_de.ts
Type: text/vnd.trolltech.linguist
Size: 317 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140705/8167e28f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main_de_correct.ts
Type: text/vnd.trolltech.linguist
Size: 380 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140705/8167e28f/attachment-0001.bin>


More information about the PyQt mailing list