--- a/src/eric7/i18n/eric7_zh_CN.ts Sun Apr 06 11:01:28 2025 +0200 +++ b/src/eric7/i18n/eric7_zh_CN.ts Sun Apr 06 14:51:33 2025 +0200 @@ -4185,7 +4185,7 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="730" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="734" /> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="365" /> <source>Select Device Volume</source> <translation type="unfinished" /> @@ -4256,13 +4256,13 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="643" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="647" /> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="452" /> <source>Install Library Files</source> <translation>安装库文件</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="641" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="645" /> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="456" /> <source>Install Library Package</source> <translation type="unfinished" /> @@ -4273,164 +4273,164 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="596" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="600" /> <source>unknown</source> <translation type="unfinished">未知</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="615" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="619" /> <source><h4>CircuitPython Version Information</h4><table><tr><td>Installed:</td><td>{0}</td></tr><tr><td>Available:</td><td>{1}</td></tr></table></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="623" /> - <source><p><b>Update available!</b></p></source> - <translation type="unfinished" /> - </message> - <message> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="627" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="631" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="649" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="653" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation>该设备卷 "<b>{0}</b>" 不可用。确认其已正确挂载后重试。</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="677" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="681" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>编译 Python 文件 (*.mpy);;Python 文件 (*.py);;所有文件 (*)</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="707" /> - <source>CircuitPython Firmware</source> - <translation type="unfinished" /> - </message> - <message> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="711" /> + <source>CircuitPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="715" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="724" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="728" /> <source>Select the drive letter of the device:</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="726" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="730" /> <source>Select the path of the mounted device:</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1180" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="867" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1184" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="871" /> <source>unknown ({0})</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1670" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1591" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1094" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1017" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1674" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1595" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1098" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1021" /> <source>The device volume is not available.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1058" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1031" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1062" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1035" /> <source>Write WiFi Credentials</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1632" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1059" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1032" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1636" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1063" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1036" /> <source><p>The file <b>{0}</b> exists already. Shall it be replaced?</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1639" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1066" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1039" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1643" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1070" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1043" /> <source>Aborted</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1256" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1260" /> <source>CircuitPython does not support setting the IPv4 parameters of the WiFi access point.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1328" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1332" /> <source>CircuitPython does not support reporting of connected clients.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1771" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1412" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1775" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1416" /> <source>Active</source> <translation type="unfinished">活动的</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1777" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1413" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1781" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1417" /> <source>Connected</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1414" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1418" /> <source>IPv4 Address</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1415" /> - <source>Netmask</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1416" /> - <source>Gateway</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1417" /> - <source>DNS</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1773" /> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1418" /> - <source>MAC-Address</source> - <translation type="unfinished" /> - </message> - <message> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1419" /> - <source>Chip Type</source> + <source>Netmask</source> <translation type="unfinished" /> </message> <message> <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1420" /> + <source>Gateway</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1421" /> + <source>DNS</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1777" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1422" /> + <source>MAC-Address</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1423" /> + <source>Chip Type</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1424" /> <source>max. Sockets</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1631" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1635" /> <source>Write Connect Script</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1772" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1776" /> <source>Name</source> <translation type="unfinished">名称</translation> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1775" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1779" /> <source>Address Type</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1778" /> + <location filename="../MicroPython/Devices/CircuitPythonDevices.py" line="1782" /> <source>Advertising</source> <translation type="unfinished" /> </message> @@ -90301,7 +90301,7 @@ <name>UF2FlashDialog</name> <message> <location filename="../MicroPython/UF2FlashDialog.py" line="763" /> - <source><h3>CircuitPython Board</h3><p>In order to prepare the board for flashing follow these steps:</p><ol><li>Switch your device to 'bootloader' mode by double-pressing the reset button.</li><li>Wait until the device has entered 'bootloader' mode.</li><li>(If this does not happen, then try shorter or longer pauses between presses.)</li><li>Ensure the boot volume is available (this may require mounting it).</li><li>Select the firmware file to be flashed and click the flash button.</li></ol></source> + <source><h3>MicroPython / CircuitPython Board</h3><p>In order to prepare the board for flashing follow these steps:</p><ol><li>Switch your device to 'bootloader' mode by double-pressing the reset button.</li><li>Wait until the device has entered 'bootloader' mode.</li><li>(If this does not happen, then try shorter or longer pauses between presses.)</li><li>Ensure the boot volume is available (this may require mounting it).</li><li>Select the firmware file to be flashed and click the flash button.</li></ol></source> <translation type="unfinished" /> </message> <message> @@ -90310,131 +90310,131 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="913" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="918" /> <source>MicroPython/CircuitPython Files (*.uf2);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="984" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="972" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="956" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="989" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="977" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="961" /> <source>Manual Select</source> <translation type="unfinished">手动选择</translation> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="978" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="983" /> <source>{0} ({1})</source> <comment>board description, board type</comment> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1182" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1102" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1088" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1056" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1033" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1187" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1107" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1093" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1061" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1038" /> <source>Flash Instructions:</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1035" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1040" /> <source><h4>No known devices detected.</h4><p>Follow the appropriate instructions below to set <b>one</b> board into 'bootloader' mode. Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1059" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1064" /> <source><h4>Flash {0} Firmware</h4><p>Follow the instructions below to set <b>one</b> board into 'bootloader' mode. Press <b>Refresh</b> when ready.</p><hr/>{1}</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1069" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1074" /> <source><h4>Potentially UF2 capable devices found</h4><p>Found these potentially UF2 capable devices:</p><ul><li>{0}</li></ul><p>Follow the instructions below to set <b>one</b> board into 'bootloader' mode. Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1090" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1095" /> <source><h4>No known devices detected.</h4><p>Follow the instructions below to set <b>one</b> board into 'bootloader' mode. Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1104" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1109" /> <source><h4>Flash method 'manual' selected.</h4><p>Follow the instructions below to flash a device by entering the data manually.</p><ol><li>Change the device to 'bootloader' mode.</li><li>Wait until the device has entered 'bootloader' mode.</li><li>Ensure the boot volume is available (this may require mounting it) and select its path.</li><li>Select the firmware file to be flashed and click the flash button.</li></ol></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1129" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1134" /> <source>Boot Volume not found:</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1131" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1136" /> <source><h4>No Boot Volume detected.</h4><p>Please ensure that the boot volume of the device to be flashed is available. </source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1137" /> - <source>This volume should be named <b>{0}</b>. Press <b>Refresh</b> when ready.</p></source> - <translation type="unfinished" /> - </message> - <message> <location filename="../MicroPython/UF2FlashDialog.py" line="1142" /> + <source>This volume should be named <b>{0}</b>. Press <b>Refresh</b> when ready.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/UF2FlashDialog.py" line="1147" /> <source>This volume should have one of these names.</p><ul><li>{0}</li></ul><p>Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1149" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1154" /> <source><h4>Flash Instructions</h4><p>Follow the instructions below to set the board into 'bootloader' mode. Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1168" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1173" /> <source>Multiple Boot Volumes found:</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1170" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1175" /> <source><h4>Multiple Boot Volumes were found</h4><p>These volume paths were found.</p><ul><li>{0}</li></ul><p>Please ensure that only one device of a type is ready for flashing. Press <b>Refresh</b> when ready.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1184" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1189" /> <source><h4>Flash selected device.</h4><p>Follow the instructions below to flash the selected device.</p><ol><li>Select the firmware file to be flashed.</li><li>Click the flash button.</li></ol></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1204" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1209" /> <source>Flashing Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1206" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1211" /> <source><p>Flashing the selected firmware to the device. Please wait until the device resets automatically.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1213" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1218" /> <source>Flashing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1215" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1220" /> <source><p>Flashing the {0} firmware to the device. Please wait until the device resets automatically.</p></source> <translation type="unfinished" /> </message> <message> <location filename="../MicroPython/UF2FlashDialog.ui" line="0" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1330" /> - <location filename="../MicroPython/UF2FlashDialog.py" line="1322" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1335" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1327" /> <source>Flash UF2 Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1323" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1328" /> <source>No UF2 device 'boot' volumes found.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/UF2FlashDialog.py" line="1331" /> + <location filename="../MicroPython/UF2FlashDialog.py" line="1336" /> <source>Select the Boot Volume of the device:</source> <translation type="unfinished" /> </message>