Hi,

Sometimes, the translation of strings in our .ui files are not displayed, the 
original string is used instead. It seems there's a context problem. 
According to: http://www.riverbankcomputing.co.uk/pyqt/docs/x163.html (Things 
to be Aware of), pyuic uses "QApplication.translate()" but after looking at 
the code it's not the case, I discovered it uses "self.tr()" instead. 
Replacing "self.tr()" with "qApp.translate()" fixed the bug.

Any idea why pyuic does not do what it is supposed to?

Regards,
  Aurélien

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to