right now for using self.tr() with python string formatting, i do the
following thing:

unicode(self.tr("%d out of %d completed")) % (i, n)

is there a way to somehow combine the unicode & self.tr, or make them look
shorter?
because calling unicode(self.tr()) on every shown string makes a lot of
code noise

Thanks.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to