On Friday 25 July 2003 5:16 pm, Aurélien Gâteau wrote: > 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?
Which version of PyQt? The documentation describes v3.7. Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde