Le Vendredi 25 Juillet 2003 18:41, vous avez �crit : > 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.
This is PyQt 3.7. Aur�lien _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
