Re: [PyQt] QCoreApplication.translate()

2013-07-05 Thread Phil Thompson
On Fri, 05 Jul 2013 13:46:43 +0200, pa...@paolodestefani.it wrote: > Hi > I'm trying to internationalize my PyQt application. Following the pyqt > reference guide i'm trying to use QCoreApplication.translate() instead > of self.tr(). > Works but only if i write the full function. But if i want to

[PyQt] QCoreApplication.translate()

2013-07-05 Thread paolo
Hi I'm trying to internationalize my PyQt application. Following the pyqt reference guide i'm trying to use QCoreApplication.translate() instead of self.tr(). Works but only if i write the full function. But if i want to shorten it in this way: tr = QCoreApplication.translate and then using