devctrl.utility.translation.translate#

translate(context: str, key: str, disambiguiation: str | None = None) str[source]#

Function that has the same signature as QApplication.translate, but does nothing.

As the function has the same signature as QApplication.translate, it is recognized by lupdate.

TODO: pass to QApplication.translate IF gui is imported, otherwise do nothing.