src/eric7/MicroPython/UF2FlashDialog.py

branch
eric7
changeset 11054
38ffc8fbc782
parent 11053
5f044e09aba5
child 11090
f5f5f5803935
--- a/src/eric7/MicroPython/UF2FlashDialog.py	Tue Nov 26 16:56:34 2024 +0100
+++ b/src/eric7/MicroPython/UF2FlashDialog.py	Tue Nov 26 17:07:48 2024 +0100
@@ -1275,10 +1275,8 @@
         else:
             result, ok = QInputDialog.getItem(
                 self,
-                QCoreApplication.translate("UF2FlashDialog", "Flash UF2 Device"),
-                QCoreApplication.translate(
-                    "UF2FlashDialog", "Select the Boot Volume of the device:"
-                ),
+                self.tr("Flash UF2 Device"),
+                self.tr("Select the Boot Volume of the device:"),
                 [*foundBootVolumes],
                 0,
                 True,

eric ide

mercurial