carla_scenario_editor.py
def tr(self, message):
        """Get the translation for a string using Qt translation API.

        We implement this ourselves since we do not inherit QObject.

        :param message: String for translation.
        :type message: str, QString

        :returns: Translated version of message.
        :rtype: QString
        """
        # noinspection PyTypeChecker,PyArgumentList,PyCallByClass
        return QCoreApplication.translate('OSC_Generator', message)
Get the translation for a string using Qt translation API.

        We implement this ourselves since we do not inherit QObject.

        :param message: String for translation.
        :type message: str, QString

        :returns: Translated version of message.
        :rtype: QString
        
Get the translation for a string using Qt translation API.
We implement this ourselves since we do not inherit QObject.
Get the translation for a string using Qt translation API . We implement this ourselves since we do not inherit QObject .
def tr(self, message):
        return QCoreApplication.translate('OSC_Generator', message)
def tr ( self , message ) : return QCoreApplication . translate ( 'OSC_Generator' , message )
Get the translation for a string using Qt translation API.
Get the translation for a string using Qt translation API .
"""Get the translation for a string using Qt translation API.

        We implement this ourselves since we do not inherit QObject.

        :param message: String for translation.
        :type message: str, QString

        :returns: Translated version of message.
        :rtype: QString
        """ # noinspection PyTypeChecker,PyArgumentList,PyCallByClass
Translated version of message.
Translated version of message .
QString
self
message
String for translation.
String for translation .