Add __tr() methods to Configurator classes which have strings

This commit is contained in:
AnyOldName3
2018-04-13 18:58:19 +01:00
parent 984b6398ce
commit bee6c04eb2
+6
View File
@@ -100,6 +100,9 @@ class MainWindow(QDialog):
self.__lastSelectedCategory = ""
self.__ui.closeButton.clicked.connect(self.close)
def __tr(self):
return QCoreApplication.translate("MainWindow", str)
def closeEvent(self, event):
if self.__ui.saveButton.isEnabled():
@@ -427,6 +430,9 @@ class IniEdit(mobase.IPluginTool):
def setParentWidget(self, widget):
self.__parentWidget = widget
def __tr(self):
return QCoreApplication.translate("IniEdit", str)
def __iniFiles(self):
gameName = self.__organizer.managedGame().gameShortName().lower()