MCPcopy
hub / github.com/PyQt5/PyQt / _translate

Function _translate

Test/partner_625781186/13.combo_listwidget/combo_listwidget.py:26–27  ·  view source on GitHub ↗
(context, text, disambig)

Source from the content-addressed store, hash-verified

24try:
25 _encoding = QtWidgets.QApplication.UnicodeUTF8
26 def _translate(context, text, disambig):
27 return QtWidgets.QApplication.translate(context, text, disambig, _encoding)
28except AttributeError:
29 def _translate(context, text, disambig):
30 return QtWidgets.QApplication.translate(context, text, disambig)

Callers 15

retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85
retranslateUiMethod · 0.85

Calls

no outgoing calls

Tested by 2

retranslateUiMethod · 0.68
retranslateUiMethod · 0.68