6969self .__modified__ = list () # Existing members modified in some way
7070
7171# Below members are set dynamically on import relative the original binding.
72- self .__version__ = "0.6.3 "
72+ self .__version__ = "0.6.4 "
7373self .__qt_version__ = "0.0.0"
7474self .__binding__ = "None"
7575self .__binding_version__ = "0.0.0"
@@ -223,7 +223,7 @@ def _pyqt4():
223223 QtCore .QCoreApplication .translate (context ,
224224 sourceText ,
225225 disambiguation ,
226- None ,
226+ QtCore . QCoreApplication . CodecForTr ,
227227 n ))
228228
229229 _maintain_backwards_compatibility (PyQt4 )
@@ -243,13 +243,7 @@ def _pyside2():
243243 _add (QtCompat , "setSectionResizeMode" ,
244244 QtWidgets .QHeaderView .setSectionResizeMode )
245245
246- _add (QtCompat , "translate" ,
247- lambda context , sourceText , disambiguation , n :
248- QtCore .QCoreApplication .translate (context ,
249- sourceText ,
250- disambiguation ,
251- None ,
252- n ))
246+ _add (QtCompat , "translate" , QtCore .QCoreApplication .translate )
253247
254248 _maintain_backwards_compatibility (PySide2 )
255249
@@ -285,7 +279,7 @@ def _pyside():
285279 QtCore .QCoreApplication .translate (context ,
286280 sourceText ,
287281 disambiguation ,
288- None ,
282+ QtCore . QCoreApplication . CodecForTr ,
289283 n ))
290284
291285 _maintain_backwards_compatibility (PySide )
0 commit comments