(context, text, disambig, encoding = QtCore.QCoreApplication.CodecForTr, n = None)
| 25 | try: |
| 26 | _encoding = QtGui.QApplication.UnicodeUTF8 |
| 27 | def _translate(context, text, disambig, encoding = QtCore.QCoreApplication.CodecForTr, n = None): |
| 28 | if n is None: |
| 29 | return QtGui.QApplication.translate(context, text, disambig, _encoding) |
| 30 | else: |
| 31 | return QtGui.QApplication.translate(context, text, disambig, _encoding, n) |
| 32 | except AttributeError: |
| 33 | def _translate(context, text, disambig, encoding = QtCore.QCoreApplication.CodecForTr, n = None): |
| 34 | if n is None: |
no outgoing calls
no test coverage detected