ProjectFlask/FlaskBabelExtension/PyBabelConfigDialog.py

branch
eric7
changeset 84
f39230b845e4
parent 83
d8788dc3442f
child 87
075f7667f69d
--- a/ProjectFlask/FlaskBabelExtension/PyBabelConfigDialog.py	Sat Dec 23 15:48:52 2023 +0100
+++ b/ProjectFlask/FlaskBabelExtension/PyBabelConfigDialog.py	Sat Dec 23 17:08:59 2023 +0100
@@ -41,7 +41,7 @@
             EricPathPickerModes.SAVE_FILE_ENSURE_EXTENSION_MODE
         )
         self.configFilePicker.setFilters(
-            self.tr("Configuration Files (*.cfg);;" "All Files (*)")
+            self.tr("Configuration Files (*.cfg);;All Files (*)")
         )
         self.configFilePicker.setDefaultDirectory(self.__ericProject.getProjectPath())
 
@@ -54,7 +54,7 @@
             EricPathPickerModes.SAVE_FILE_ENSURE_EXTENSION_MODE
         )
         self.catalogFilePicker.setFilters(
-            self.tr("Message Catalog Files (*.pot);;" "All Files (*)")
+            self.tr("Message Catalog Files (*.pot);;All Files (*)")
         )
         self.catalogFilePicker.setDefaultDirectory(self.__ericProject.getProjectPath())
 
@@ -144,7 +144,7 @@
         )
 
     @pyqtSlot(str)
-    def on_configFilePicker_textChanged(self, txt):
+    def on_configFilePicker_textChanged(self, txt):  # noqa: U100
         """
         Private slot to handle a change of the configuration file name.
 
@@ -154,7 +154,7 @@
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_translationsDirectoryPicker_textChanged(self, txt):
+    def on_translationsDirectoryPicker_textChanged(self, txt):  # noqa: U100
         """
         Private slot to handle a change of the catalog file name.
 
@@ -165,7 +165,7 @@
         self.__updateCatalogPicker()
 
     @pyqtSlot(str)
-    def on_domainEdit_textChanged(self, txt):
+    def on_domainEdit_textChanged(self, txt):  # noqa: U100
         """
         Private slot to handle a change of the translations domain.
 

eric ide

mercurial