On 29/09/10 15:19, Eric Frederich wrote:
I have a bunch of helper functions that raise exceptions and I'd like the
messages in those exceptions to be translated.
How should I get those strings translated?
QObject.tr is not a static method, I can't just call it.
I need a QObject don't I?

QCoreApplication has the static method "translate":

  http://doc.qt.nokia.com/4.6/qcoreapplication.html#translate
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to