diff -r 6b197c3389f7 -r 7b8a21fd2d58 src/eric7/MicroPython/Devices/MicrobitDevices.py --- a/src/eric7/MicroPython/Devices/MicrobitDevices.py Sun Nov 03 12:34:02 2024 +0100 +++ b/src/eric7/MicroPython/Devices/MicrobitDevices.py Sun Nov 03 17:50:34 2024 +0100 @@ -373,7 +373,7 @@ shutil.copy2(firmware, deviceDirectories[0]) else: EricMessageBox.warning( - self, + self.microPython, self.tr("Flash MicroPython/Firmware"), self.tr( "There are multiple devices ready for flashing." @@ -390,7 +390,7 @@ if self.microPython.isConnected() and self.checkDeviceData(quiet=False): if self._deviceData["mpy_name"] not in ("micropython", "circuitpython"): EricMessageBox.critical( - None, + self.microPython, self.tr("Show MicroPython Versions"), self.tr( """The firmware of the connected device cannot be""" @@ -419,7 +419,7 @@ url = QUrl(FirmwareGithubUrls["circuitpython"]) else: EricMessageBox.critical( - None, + self.microPython, self.tr("Show MicroPython Versions"), self.tr( """<p>The firmware URL for the device type <b>{0}</b>""" @@ -480,7 +480,7 @@ msg += self.tr("<p><b>Update available!</b></p>") EricMessageBox.information( - None, + self.microPython, self.tr("{0} Version").format(kind), msg, )