--- 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,