def METHOD_NAME(self, ethernetHubConfigPageWidget):
    _translate = QtCore.QCoreApplication.translate
    ethernetHubConfigPageWidget.setWindowTitle(_translate("ethernetHubConfigPageWidget", "Ethernet hub template configuration"))
    self.uiSettingsGroupBox.setTitle(_translate("ethernetHubConfigPageWidget", "Settings"))
    self.uiNameLabel.setText(_translate("ethernetHubConfigPageWidget", "Name:"))
    self.uiDefaultNameFormatLabel.setText(_translate("ethernetHubConfigPageWidget", "Default name format:"))
    self.uiSymbolLabel.setText(_translate("ethernetHubConfigPageWidget", "Symbol:"))
    self.uiSymbolToolButton.setText(_translate("ethernetHubConfigPageWidget", "&Browse..."))
    self.uiCategoryLabel.setText(_translate("ethernetHubConfigPageWidget", "Category:"))
    self.uiPortsLabel.setText(_translate("ethernetHubConfigPageWidget", "Number of ports:"))