Sun, 12 Feb 2023 18:11:20 +0100
MicroPython
- Added support for Teensy 4.0 and 4.1 devices with MicroPython.
--- a/docs/changelog.md Sun Feb 12 15:14:28 2023 +0100 +++ b/docs/changelog.md Sun Feb 12 18:11:20 2023 +0100 @@ -10,6 +10,7 @@ (adapted for use within eric-ide). - Added functionality to show the installed firmware version and the version available on Github (for all boards except 'Calliope mini'). + - Added support for Teensy 4.0 and 4.1 devices with MicroPython. - PDF Viewer - Added a tool based on `QtPdf` and `QtPdfWidgets` to show the contents of PDF files.
--- a/eric7.epj Sun Feb 12 15:14:28 2023 +0100 +++ b/eric7.epj Sun Feb 12 18:11:20 2023 +0100 @@ -1307,6 +1307,7 @@ "src/eric7/MicroPython/PyBoardDevices.py", "src/eric7/MicroPython/RP2040Devices.py", "src/eric7/MicroPython/ShowModulesDialog.py", + "src/eric7/MicroPython/TeensyDevices.py", "src/eric7/MicroPython/UF2FlashDialog.py", "src/eric7/MicroPython/UnknownDevicesDialog.py", "src/eric7/MicroPython/__init__.py",
--- a/src/eric7/APIs/Python3/eric7.api Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/APIs/Python3/eric7.api Sun Feb 12 18:11:20 2023 +0100 @@ -2840,6 +2840,19 @@ eric7.MicroPython.ShowModulesDialog.ShowModulesDialog.getSelection?4() eric7.MicroPython.ShowModulesDialog.ShowModulesDialog.on_modulesList_itemChanged?4(item) eric7.MicroPython.ShowModulesDialog.ShowModulesDialog?1(modulesList, selectionMode=False, info="", parent=None) +eric7.MicroPython.TeensyDevices.TeensyDevice.addDeviceMenuEntries?4(menu) +eric7.MicroPython.TeensyDevices.TeensyDevice.canRunScript?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.canStartFileManager?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.canStartPlotter?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.canStartRepl?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.deviceName?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.forceInterrupt?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.getDocumentationUrl?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.getFirmwareUrl?4() +eric7.MicroPython.TeensyDevices.TeensyDevice.runScript?4(script) +eric7.MicroPython.TeensyDevices.TeensyDevice.setButtons?4() +eric7.MicroPython.TeensyDevices.TeensyDevice?1(microPythonWidget, deviceType, parent=None) +eric7.MicroPython.TeensyDevices.createDevice?4(microPythonWidget, deviceType, vid, pid, boardName, serialNumber) eric7.MicroPython.UF2FlashDialog.SupportedUF2Boards?7 eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.DeviceTypeRole?7 eric7.MicroPython.UF2FlashDialog.UF2FlashDialog.DeviceVidPidRole?7
--- a/src/eric7/APIs/Python3/eric7.bas Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/APIs/Python3/eric7.bas Sun Feb 12 18:11:20 2023 +0100 @@ -1004,6 +1004,7 @@ TasksFile QObject TasksPage ConfigurationPageBase Ui_TasksPage TasksReader XMLStreamReaderBase +TeensyDevice MicroPythonDevice TemplateEntry QTreeWidgetItem TemplateGroup QTreeWidgetItem TemplateMultipleVariablesDialog QDialog
--- a/src/eric7/Documentation/Help/source.qhp Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/Documentation/Help/source.qhp Sun Feb 12 18:11:20 2023 +0100 @@ -297,6 +297,7 @@ <section title="eric7.MicroPython.PyBoardDevices" ref="eric7.MicroPython.PyBoardDevices.html" /> <section title="eric7.MicroPython.RP2040Devices" ref="eric7.MicroPython.RP2040Devices.html" /> <section title="eric7.MicroPython.ShowModulesDialog" ref="eric7.MicroPython.ShowModulesDialog.html" /> + <section title="eric7.MicroPython.TeensyDevices" ref="eric7.MicroPython.TeensyDevices.html" /> <section title="eric7.MicroPython.UF2FlashDialog" ref="eric7.MicroPython.UF2FlashDialog.html" /> <section title="eric7.MicroPython.UnknownDevicesDialog" ref="eric7.MicroPython.UnknownDevicesDialog.html" /> </section> @@ -2700,9 +2701,10 @@ <keyword name="CircuitPythonDevice.__findDeviceDirectories" id="CircuitPythonDevice.__findDeviceDirectories" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__findDeviceDirectories" /> <keyword name="CircuitPythonDevice.__findWorkspace" id="CircuitPythonDevice.__findWorkspace" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__findWorkspace" /> <keyword name="CircuitPythonDevice.__flashCircuitPython" id="CircuitPythonDevice.__flashCircuitPython" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__flashCircuitPython" /> - <keyword name="CircuitPythonDevice.__flashTeensy" id="CircuitPythonDevice.__flashTeensy" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__flashTeensy" /> <keyword name="CircuitPythonDevice.__installLibraryFiles" id="CircuitPythonDevice.__installLibraryFiles" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__installLibraryFiles" /> <keyword name="CircuitPythonDevice.__showCircuitPythonVersions" id="CircuitPythonDevice.__showCircuitPythonVersions" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__showCircuitPythonVersions" /> + <keyword name="CircuitPythonDevice.__showTeensyFlashInstructions" id="CircuitPythonDevice.__showTeensyFlashInstructions" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__showTeensyFlashInstructions" /> + <keyword name="CircuitPythonDevice.__startTeensyLoader" id="CircuitPythonDevice.__startTeensyLoader" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.__startTeensyLoader" /> <keyword name="CircuitPythonDevice.addDeviceMenuEntries" id="CircuitPythonDevice.addDeviceMenuEntries" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.addDeviceMenuEntries" /> <keyword name="CircuitPythonDevice.canRunScript" id="CircuitPythonDevice.canRunScript" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.canRunScript" /> <keyword name="CircuitPythonDevice.canStartFileManager" id="CircuitPythonDevice.canStartFileManager" ref="eric7.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.canStartFileManager" /> @@ -16226,6 +16228,25 @@ <keyword name="TasksReader (Module)" id="TasksReader (Module)" ref="eric7.EricXML.TasksReader.html" /> <keyword name="TasksReader.__readTask" id="TasksReader.__readTask" ref="eric7.EricXML.TasksReader.html#TasksReader.__readTask" /> <keyword name="TasksReader.readXML" id="TasksReader.readXML" ref="eric7.EricXML.TasksReader.html#TasksReader.readXML" /> + <keyword name="TeensyDevice" id="TeensyDevice" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice" /> + <keyword name="TeensyDevice (Constructor)" id="TeensyDevice (Constructor)" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__init__" /> + <keyword name="TeensyDevice.__createTeensyMenu" id="TeensyDevice.__createTeensyMenu" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__createTeensyMenu" /> + <keyword name="TeensyDevice.__firmwareVersionResponse" id="TeensyDevice.__firmwareVersionResponse" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__firmwareVersionResponse" /> + <keyword name="TeensyDevice.__showFirmwareVersions" id="TeensyDevice.__showFirmwareVersions" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__showFirmwareVersions" /> + <keyword name="TeensyDevice.__showFlashInstructions" id="TeensyDevice.__showFlashInstructions" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__showFlashInstructions" /> + <keyword name="TeensyDevice.__startTeensyLoader" id="TeensyDevice.__startTeensyLoader" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.__startTeensyLoader" /> + <keyword name="TeensyDevice.addDeviceMenuEntries" id="TeensyDevice.addDeviceMenuEntries" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.addDeviceMenuEntries" /> + <keyword name="TeensyDevice.canRunScript" id="TeensyDevice.canRunScript" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.canRunScript" /> + <keyword name="TeensyDevice.canStartFileManager" id="TeensyDevice.canStartFileManager" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.canStartFileManager" /> + <keyword name="TeensyDevice.canStartPlotter" id="TeensyDevice.canStartPlotter" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.canStartPlotter" /> + <keyword name="TeensyDevice.canStartRepl" id="TeensyDevice.canStartRepl" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.canStartRepl" /> + <keyword name="TeensyDevice.deviceName" id="TeensyDevice.deviceName" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.deviceName" /> + <keyword name="TeensyDevice.forceInterrupt" id="TeensyDevice.forceInterrupt" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.forceInterrupt" /> + <keyword name="TeensyDevice.getDocumentationUrl" id="TeensyDevice.getDocumentationUrl" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.getDocumentationUrl" /> + <keyword name="TeensyDevice.getFirmwareUrl" id="TeensyDevice.getFirmwareUrl" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.getFirmwareUrl" /> + <keyword name="TeensyDevice.runScript" id="TeensyDevice.runScript" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.runScript" /> + <keyword name="TeensyDevice.setButtons" id="TeensyDevice.setButtons" ref="eric7.MicroPython.TeensyDevices.html#TeensyDevice.setButtons" /> + <keyword name="TeensyDevices (Module)" id="TeensyDevices (Module)" ref="eric7.MicroPython.TeensyDevices.html" /> <keyword name="TemplateEntry" id="TemplateEntry" ref="eric7.Templates.TemplateViewer.html#TemplateEntry" /> <keyword name="TemplateEntry (Constructor)" id="TemplateEntry (Constructor)" ref="eric7.Templates.TemplateViewer.html#TemplateEntry.__init__" /> <keyword name="TemplateEntry.__displayText" id="TemplateEntry.__displayText" ref="eric7.Templates.TemplateViewer.html#TemplateEntry.__displayText" /> @@ -18950,6 +18971,7 @@ <keyword name="createDevice" id="createDevice" ref="eric7.MicroPython.MicrobitDevices.html#createDevice" /> <keyword name="createDevice" id="createDevice" ref="eric7.MicroPython.PyBoardDevices.html#createDevice" /> <keyword name="createDevice" id="createDevice" ref="eric7.MicroPython.RP2040Devices.html#createDevice" /> + <keyword name="createDevice" id="createDevice" ref="eric7.MicroPython.TeensyDevices.html#createDevice" /> <keyword name="createEngine" id="createEngine" ref="eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html#createEngine" /> <keyword name="createEngine" id="createEngine" ref="eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine.html#createEngine" /> <keyword name="createEngine" id="createEngine" ref="eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV2Engine.html#createEngine" /> @@ -20108,6 +20130,7 @@ <file>eric7.MicroPython.PyBoardDevices.html</file> <file>eric7.MicroPython.RP2040Devices.html</file> <file>eric7.MicroPython.ShowModulesDialog.html</file> + <file>eric7.MicroPython.TeensyDevices.html</file> <file>eric7.MicroPython.UF2FlashDialog.html</file> <file>eric7.MicroPython.UnknownDevicesDialog.html</file> <file>eric7.MultiProject.AddProjectDialog.html</file>
--- a/src/eric7/Documentation/Source/eric7.MicroPython.CircuitPythonDevices.html Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.CircuitPythonDevices.html Sun Feb 12 18:11:20 2023 +0100 @@ -88,11 +88,7 @@ </tr> <tr> <td><a href="#CircuitPythonDevice.__flashCircuitPython">__flashCircuitPython</a></td> -<td>Private slot to flash a CircuitPython firmware to the device.</td> -</tr> -<tr> -<td><a href="#CircuitPythonDevice.__flashTeensy">__flashTeensy</a></td> -<td>Private method to show a message box because Teens does not support the UF2 bootloader yet.</td> +<td>Private slot to flash a CircuitPython firmware to a device supporting UF2.</td> </tr> <tr> <td><a href="#CircuitPythonDevice.__installLibraryFiles">__installLibraryFiles</a></td> @@ -103,6 +99,14 @@ <td>Private slot to show the CircuitPython version of a connected device and the latest available one (from Github).</td> </tr> <tr> +<td><a href="#CircuitPythonDevice.__showTeensyFlashInstructions">__showTeensyFlashInstructions</a></td> +<td>Private method to show a message box because Teensy does not support the UF2 bootloader yet.</td> +</tr> +<tr> +<td><a href="#CircuitPythonDevice.__startTeensyLoader">__startTeensyLoader</a></td> +<td>Private method to start the 'Teensy Loader' application.</td> +</tr> +<tr> <td><a href="#CircuitPythonDevice.addDeviceMenuEntries">addDeviceMenuEntries</a></td> <td>Public method to add device specific entries to the given menu.</td> </tr> @@ -296,15 +300,7 @@ <b>__flashCircuitPython</b>(<i></i>) <p> - Private slot to flash a CircuitPython firmware to the device. -</p> -<a NAME="CircuitPythonDevice.__flashTeensy" ID="CircuitPythonDevice.__flashTeensy"></a> -<h4>CircuitPythonDevice.__flashTeensy</h4> -<b>__flashTeensy</b>(<i></i>) - -<p> - Private method to show a message box because Teens does not support - the UF2 bootloader yet. + Private slot to flash a CircuitPython firmware to a device supporting UF2. </p> <a NAME="CircuitPythonDevice.__installLibraryFiles" ID="CircuitPythonDevice.__installLibraryFiles"></a> <h4>CircuitPythonDevice.__installLibraryFiles</h4> @@ -329,6 +325,24 @@ Private slot to show the CircuitPython version of a connected device and the latest available one (from Github). </p> +<a NAME="CircuitPythonDevice.__showTeensyFlashInstructions" ID="CircuitPythonDevice.__showTeensyFlashInstructions"></a> +<h4>CircuitPythonDevice.__showTeensyFlashInstructions</h4> +<b>__showTeensyFlashInstructions</b>(<i></i>) + +<p> + Private method to show a message box because Teensy does not support + the UF2 bootloader yet. +</p> +<a NAME="CircuitPythonDevice.__startTeensyLoader" ID="CircuitPythonDevice.__startTeensyLoader"></a> +<h4>CircuitPythonDevice.__startTeensyLoader</h4> +<b>__startTeensyLoader</b>(<i></i>) + +<p> + Private method to start the 'Teensy Loader' application. +</p> +<p> + Note: The application must be accessible via the application search path. +</p> <a NAME="CircuitPythonDevice.addDeviceMenuEntries" ID="CircuitPythonDevice.addDeviceMenuEntries"></a> <h4>CircuitPythonDevice.addDeviceMenuEntries</h4> <b>addDeviceMenuEntries</b>(<i>menu</i>)
--- a/src/eric7/Documentation/Source/eric7.MicroPython.RP2040Devices.html Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.RP2040Devices.html Sun Feb 12 18:11:20 2023 +0100 @@ -69,7 +69,7 @@ </tr> <tr> <td><a href="#RP2040Device.__createRP2040Menu">__createRP2040Menu</a></td> -<td>Private method to create the microbit submenu.</td> +<td>Private method to create the RO2040 submenu.</td> </tr> <tr> <td><a href="#RP2040Device.__firmwareVersionResponse">__firmwareVersionResponse</a></td> @@ -172,7 +172,7 @@ <b>__createRP2040Menu</b>(<i></i>) <p> - Private method to create the microbit submenu. + Private method to create the RO2040 submenu. </p> <a NAME="RP2040Device.__firmwareVersionResponse" ID="RP2040Device.__firmwareVersionResponse"></a> <h4>RP2040Device.__firmwareVersionResponse</h4>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.TeensyDevices.html Sun Feb 12 18:11:20 2023 +0100 @@ -0,0 +1,447 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.TeensyDevices</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.TeensyDevices</h1> + +<p> +Module implementing the device interface class for Teensy boards with MicroPython. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#TeensyDevice">TeensyDevice</a></td> +<td>Class implementing the device for Teensy boards with MicroPython.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#createDevice">createDevice</a></td> +<td>Function to instantiate a MicroPython device object.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="TeensyDevice" ID="TeensyDevice"></a> +<h2>TeensyDevice</h2> + +<p> + Class implementing the device for Teensy boards with MicroPython. +</p> +<h3>Derived from</h3> +MicroPythonDevice +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#TeensyDevice.__init__">TeensyDevice</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#TeensyDevice.__createTeensyMenu">__createTeensyMenu</a></td> +<td>Private method to create the microbit submenu.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.__firmwareVersionResponse">__firmwareVersionResponse</a></td> +<td>Private method handling the response of the latest version request.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.__showFirmwareVersions">__showFirmwareVersions</a></td> +<td>Private slot to show the firmware version of the connected device and the available firmware version.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.__showFlashInstructions">__showFlashInstructions</a></td> +<td>Private method to show a message box with instruction to flash the Teensy.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.__startTeensyLoader">__startTeensyLoader</a></td> +<td>Private method to start the 'Teensy Loader' application.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.addDeviceMenuEntries">addDeviceMenuEntries</a></td> +<td>Public method to add device specific entries to the given menu.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.canRunScript">canRunScript</a></td> +<td>Public method to determine, if a script can be executed.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.canStartFileManager">canStartFileManager</a></td> +<td>Public method to determine, if a File Manager can be started.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.canStartPlotter">canStartPlotter</a></td> +<td>Public method to determine, if a Plotter can be started.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.canStartRepl">canStartRepl</a></td> +<td>Public method to determine, if a REPL can be started.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.deviceName">deviceName</a></td> +<td>Public method to get the name of the device.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.forceInterrupt">forceInterrupt</a></td> +<td>Public method to determine the need for an interrupt when opening the serial connection.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.getDocumentationUrl">getDocumentationUrl</a></td> +<td>Public method to get the device documentation URL.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.getFirmwareUrl">getFirmwareUrl</a></td> +<td>Public method to get the device firmware download URL.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.runScript">runScript</a></td> +<td>Public method to run the given Python script.</td> +</tr> +<tr> +<td><a href="#TeensyDevice.setButtons">setButtons</a></td> +<td>Public method to enable the supported action buttons.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="TeensyDevice.__init__" ID="TeensyDevice.__init__"></a> +<h4>TeensyDevice (Constructor)</h4> +<b>TeensyDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> +<dd> +reference to the main MicroPython widget +</dd> +<dt><i>deviceType</i> (str)</dt> +<dd> +device type assigned to this device interface +</dd> +<dt><i>parent</i> (QObject)</dt> +<dd> +reference to the parent object +</dd> +</dl> +<a NAME="TeensyDevice.__createTeensyMenu" ID="TeensyDevice.__createTeensyMenu"></a> +<h4>TeensyDevice.__createTeensyMenu</h4> +<b>__createTeensyMenu</b>(<i></i>) + +<p> + Private method to create the microbit submenu. +</p> +<a NAME="TeensyDevice.__firmwareVersionResponse" ID="TeensyDevice.__firmwareVersionResponse"></a> +<h4>TeensyDevice.__firmwareVersionResponse</h4> +<b>__firmwareVersionResponse</b>(<i>reply</i>) + +<p> + Private method handling the response of the latest version request. +</p> +<dl> + +<dt><i>reply</i> (QNetworkReply)</dt> +<dd> +reference to the reply object +</dd> +</dl> +<a NAME="TeensyDevice.__showFirmwareVersions" ID="TeensyDevice.__showFirmwareVersions"></a> +<h4>TeensyDevice.__showFirmwareVersions</h4> +<b>__showFirmwareVersions</b>(<i></i>) + +<p> + Private slot to show the firmware version of the connected device and the + available firmware version. +</p> +<a NAME="TeensyDevice.__showFlashInstructions" ID="TeensyDevice.__showFlashInstructions"></a> +<h4>TeensyDevice.__showFlashInstructions</h4> +<b>__showFlashInstructions</b>(<i></i>) + +<p> + Private method to show a message box with instruction to flash the Teensy. +</p> +<a NAME="TeensyDevice.__startTeensyLoader" ID="TeensyDevice.__startTeensyLoader"></a> +<h4>TeensyDevice.__startTeensyLoader</h4> +<b>__startTeensyLoader</b>(<i></i>) + +<p> + Private method to start the 'Teensy Loader' application. +</p> +<p> + Note: The application must be accessible via the application search path. +</p> +<a NAME="TeensyDevice.addDeviceMenuEntries" ID="TeensyDevice.addDeviceMenuEntries"></a> +<h4>TeensyDevice.addDeviceMenuEntries</h4> +<b>addDeviceMenuEntries</b>(<i>menu</i>) + +<p> + Public method to add device specific entries to the given menu. +</p> +<dl> + +<dt><i>menu</i> (QMenu)</dt> +<dd> +reference to the context menu +</dd> +</dl> +<a NAME="TeensyDevice.canRunScript" ID="TeensyDevice.canRunScript"></a> +<h4>TeensyDevice.canRunScript</h4> +<b>canRunScript</b>(<i></i>) + +<p> + Public method to determine, if a script can be executed. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating it is safe to start a + Plotter and a reason why it cannot. +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<a NAME="TeensyDevice.canStartFileManager" ID="TeensyDevice.canStartFileManager"></a> +<h4>TeensyDevice.canStartFileManager</h4> +<b>canStartFileManager</b>(<i></i>) + +<p> + Public method to determine, if a File Manager can be started. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating it is safe to start a + File Manager and a reason why it cannot. +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<a NAME="TeensyDevice.canStartPlotter" ID="TeensyDevice.canStartPlotter"></a> +<h4>TeensyDevice.canStartPlotter</h4> +<b>canStartPlotter</b>(<i></i>) + +<p> + Public method to determine, if a Plotter can be started. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating it is safe to start a + Plotter and a reason why it cannot. +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<a NAME="TeensyDevice.canStartRepl" ID="TeensyDevice.canStartRepl"></a> +<h4>TeensyDevice.canStartRepl</h4> +<b>canStartRepl</b>(<i></i>) + +<p> + Public method to determine, if a REPL can be started. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating it is safe to start a REPL + and a reason why it cannot. +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<a NAME="TeensyDevice.deviceName" ID="TeensyDevice.deviceName"></a> +<h4>TeensyDevice.deviceName</h4> +<b>deviceName</b>(<i></i>) + +<p> + Public method to get the name of the device. +</p> +<dl> +<dt>Return:</dt> +<dd> +name of the device +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="TeensyDevice.forceInterrupt" ID="TeensyDevice.forceInterrupt"></a> +<h4>TeensyDevice.forceInterrupt</h4> +<b>forceInterrupt</b>(<i></i>) + +<p> + Public method to determine the need for an interrupt when opening the + serial connection. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating an interrupt is needed +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="TeensyDevice.getDocumentationUrl" ID="TeensyDevice.getDocumentationUrl"></a> +<h4>TeensyDevice.getDocumentationUrl</h4> +<b>getDocumentationUrl</b>(<i></i>) + +<p> + Public method to get the device documentation URL. +</p> +<dl> +<dt>Return:</dt> +<dd> +documentation URL of the device +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="TeensyDevice.getFirmwareUrl" ID="TeensyDevice.getFirmwareUrl"></a> +<h4>TeensyDevice.getFirmwareUrl</h4> +<b>getFirmwareUrl</b>(<i></i>) + +<p> + Public method to get the device firmware download URL. +</p> +<dl> +<dt>Return:</dt> +<dd> +firmware download URL of the device +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="TeensyDevice.runScript" ID="TeensyDevice.runScript"></a> +<h4>TeensyDevice.runScript</h4> +<b>runScript</b>(<i>script</i>) + +<p> + Public method to run the given Python script. +</p> +<dl> + +<dt><i>script</i> (str)</dt> +<dd> +script to be executed +</dd> +</dl> +<a NAME="TeensyDevice.setButtons" ID="TeensyDevice.setButtons"></a> +<h4>TeensyDevice.setButtons</h4> +<b>setButtons</b>(<i></i>) + +<p> + Public method to enable the supported action buttons. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="createDevice" ID="createDevice"></a> +<h2>createDevice</h2> +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) + +<p> + Function to instantiate a MicroPython device object. +</p> +<dl> + +<dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> +<dd> +reference to the main MicroPython widget +</dd> +<dt><i>deviceType</i> (str)</dt> +<dd> +device type assigned to this device interface +</dd> +<dt><i>vid</i> (int)</dt> +<dd> +vendor ID +</dd> +<dt><i>pid</i> (int)</dt> +<dd> +product ID +</dd> +<dt><i>boardName</i> (str)</dt> +<dd> +name of the board +</dd> +<dt><i>serialNumber</i> (str)</dt> +<dd> +serial number of the board +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the instantiated device object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +PyBoardDevice +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/src/eric7/Documentation/Source/index-eric7.MicroPython.html Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/Documentation/Source/index-eric7.MicroPython.html Sun Feb 12 18:11:20 2023 +0100 @@ -112,6 +112,10 @@ <td>Module implementing a dialog to show the available modules of all bundles.</td> </tr> <tr> +<td><a href="eric7.MicroPython.TeensyDevices.html">TeensyDevices</a></td> +<td>Module implementing the device interface class for Teensy boards with MicroPython.</td> +</tr> +<tr> <td><a href="eric7.MicroPython.UF2FlashDialog.html">UF2FlashDialog</a></td> <td>Module implementing a dialog to flash any UF2 capable device.</td> </tr>
--- a/src/eric7/MicroPython/CircuitPythonDevices.py Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/MicroPython/CircuitPythonDevices.py Sun Feb 12 18:11:20 2023 +0100 @@ -10,7 +10,7 @@ import os import shutil -from PyQt6.QtCore import QUrl, pyqtSlot +from PyQt6.QtCore import QProcess, QUrl, pyqtSlot from PyQt6.QtNetwork import QNetworkRequest from PyQt6.QtWidgets import QMenu @@ -54,10 +54,6 @@ self.__updater = CircuitPythonUpdaterInterface(self) - self.__nonUF2devices = { - "teensy": self.__flashTeensy, - } - self.__createCPyMenu() def setButtons(self): @@ -256,13 +252,29 @@ self.tr("Show CircuitPython Versions"), self.__showCircuitPythonVersions ) self.__cpyMenu.addSeparator() - self.__flashCpyAct = self.__cpyMenu.addAction( - self.tr("Flash CircuitPython Firmware"), self.__flashCircuitPython - ) + + lBoardName = self.microPython.getCurrentBoard().lower() + if "teensy" in lBoardName: + # Teensy 4.0 and 4.1 don't support UF2 flashing + self.__cpyMenu.addAction( + self.tr("CircuitPython Flash Instructions"), + self.__showTeensyFlashInstructions, + ) + self.__flashCpyAct = self.__cpyMenu.addAction( + self.tr("Flash CircuitPython Firmware"), self.__startTeensyLoader + ) + self.__flashCpyAct.setToolTip( + self.tr( + "Start the 'Teensy Loader' application to flash the Teensy device." + ) + ) + else: + self.__flashCpyAct = self.__cpyMenu.addAction( + self.tr("Flash CircuitPython Firmware"), self.__flashCircuitPython + ) self.__cpyMenu.addSeparator() self.__cpyMenu.addMenu(self.__libraryMenu) - def addDeviceMenuEntries(self, menu): """ Public method to add device specific entries to the given menu. @@ -313,23 +325,16 @@ @pyqtSlot() def __flashCircuitPython(self): """ - Private slot to flash a CircuitPython firmware to the device. + Private slot to flash a CircuitPython firmware to a device supporting UF2. """ from .UF2FlashDialog import UF2FlashDialog - lBoardName = self.microPython.getCurrentBoard().lower() - if lBoardName: - for name in self.__nonUF2devices: - if name in lBoardName: - self.__nonUF2devices[name]() - break - else: - dlg = UF2FlashDialog(boardType="circuitpython") - dlg.exec() + dlg = UF2FlashDialog(boardType="circuitpython") + dlg.exec() - def __flashTeensy(self): + def __showTeensyFlashInstructions(self): """ - Private method to show a message box because Teens does not support + Private method to show a message box because Teensy does not support the UF2 bootloader yet. """ EricMessageBox.information( @@ -345,6 +350,24 @@ ).format("https://www.pjrc.com/teensy/loader.html"), ) + def __startTeensyLoader(self): + """ + Private method to start the 'Teensy Loader' application. + + Note: The application must be accessible via the application search path. + """ + ok, _ = QProcess.startDetached("teensy") + if not ok: + EricMessageBox.warning( + self.microPython, + self.tr("Start 'Teensy Loader'"), + self.tr( + """<p>The 'Teensy Loader' application <b>teensy</b> could not""" + """ be started. Ensure it is in the application search path or""" + """ start it manually.</p>""" + ), + ) + @pyqtSlot() def __showCircuitPythonVersions(self): """
--- a/src/eric7/MicroPython/MicroPythonCommandsInterface.py Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/MicroPython/MicroPythonCommandsInterface.py Sun Feb 12 18:11:20 2023 +0100 @@ -973,6 +973,20 @@ " rtc.datetime(rtc_time[:7] + (0,))", ] ) + elif deviceType == "teensy": + # The pyb.RTC.datetime function takes the arguments in the + # order: (year, month, day, weekday, hour, minute, second, + # subseconds) + # https://docs.micropython.org/en/latest/library/machine.RTC.html + # #machine-rtc + set_time = "\n".join( + [ + "def set_time(rtc_time):", + " import machine", + " rtc = machine.RTC()", + " rtc.init(rtc_time[:7] + (0,))", + ] + ) elif deviceType == "esp": # The machine.RTC documentation was incorrect and doesn't agree # with the code, so no link is presented here. The order of the
--- a/src/eric7/MicroPython/MicroPythonDevices.py Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/MicroPython/MicroPythonDevices.py Sun Feb 12 18:11:20 2023 +0100 @@ -262,7 +262,7 @@ ], "description": "PyBoard", "icon": "micropython48", - "port_description": "", + "port_description": "Pyboard", }, "rp2040": { "ids": [ @@ -272,6 +272,14 @@ "icon": "rp2040Device", "port_description": "", }, + "teensy": { + "ids": [ + (0xF055, 0x9802), # Pyboard in CDC+MSC mode + ], + "description": "Teensy", + "icon": "micropython48", + "port_description": "Teensy", + }, "generic": { # only manually configured devices use this "ids": [], @@ -350,6 +358,14 @@ # both boards have the same VID and PID # try to differentiate based on port description continue + elif board in ("pyboard", "teensy") and ( + not port.description().startswith( + SupportedBoards[board]["port_description"] + ) + ): + # both boards have the same VID and PID + # try to differentiate based on port description + continue foundDevices.append( ( board, @@ -464,6 +480,7 @@ "generic": ".GenericMicroPythonDevices", "pyboard": ".PyBoardDevices", "rp2040": ".RP2040Devices", + "teensy": ".TeensyDevices", } with contextlib.suppress(KeyError):
--- a/src/eric7/MicroPython/RP2040Devices.py Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/MicroPython/RP2040Devices.py Sun Feb 12 18:11:20 2023 +0100 @@ -120,7 +120,7 @@ def __createRP2040Menu(self): """ - Private method to create the microbit submenu. + Private method to create the RO2040 submenu. """ self.__rp2040Menu = QMenu(self.tr("RP2040 Functions"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/MicroPython/TeensyDevices.py Sun Feb 12 18:11:20 2023 +0100 @@ -0,0 +1,287 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2023 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the device interface class for Teensy boards with MicroPython. +""" + +from PyQt6.QtCore import QProcess, QUrl, pyqtSlot +from PyQt6.QtNetwork import QNetworkRequest +from PyQt6.QtWidgets import QMenu + +from eric7 import Globals, Preferences +from eric7.EricWidgets import EricMessageBox +from eric7.EricWidgets.EricApplication import ericApp + +from .MicroPythonDevices import FirmwareGithubUrls, MicroPythonDevice +from .MicroPythonWidget import HAS_QTCHART + + +class TeensyDevice(MicroPythonDevice): + """ + Class implementing the device for Teensy boards with MicroPython. + """ + + def __init__(self, microPythonWidget, deviceType, parent=None): + """ + Constructor + + @param microPythonWidget reference to the main MicroPython widget + @type MicroPythonWidget + @param deviceType device type assigned to this device interface + @type str + @param parent reference to the parent object + @type QObject + """ + super().__init__(microPythonWidget, deviceType, parent) + + self.__createTeensyMenu() + + def setButtons(self): + """ + Public method to enable the supported action buttons. + """ + super().setButtons() + self.microPython.setActionButtons( + run=True, repl=True, files=True, chart=HAS_QTCHART + ) + + def forceInterrupt(self): + """ + Public method to determine the need for an interrupt when opening the + serial connection. + + @return flag indicating an interrupt is needed + @rtype bool + """ + return False + + def deviceName(self): + """ + Public method to get the name of the device. + + @return name of the device + @rtype str + """ + return self.tr("Teensy") + + def canStartRepl(self): + """ + Public method to determine, if a REPL can be started. + + @return tuple containing a flag indicating it is safe to start a REPL + and a reason why it cannot. + @rtype tuple of (bool, str) + """ + return True, "" + + def canStartPlotter(self): + """ + Public method to determine, if a Plotter can be started. + + @return tuple containing a flag indicating it is safe to start a + Plotter and a reason why it cannot. + @rtype tuple of (bool, str) + """ + return True, "" + + def canRunScript(self): + """ + Public method to determine, if a script can be executed. + + @return tuple containing a flag indicating it is safe to start a + Plotter and a reason why it cannot. + @rtype tuple of (bool, str) + """ + return True, "" + + def runScript(self, script): + """ + Public method to run the given Python script. + + @param script script to be executed + @type str + """ + pythonScript = script.split("\n") + self.sendCommands(pythonScript) + + def canStartFileManager(self): + """ + Public method to determine, if a File Manager can be started. + + @return tuple containing a flag indicating it is safe to start a + File Manager and a reason why it cannot. + @rtype tuple of (bool, str) + """ + return True, "" + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return Preferences.getMicroPython("MicroPythonDocuUrl") + + def getFirmwareUrl(self): + """ + Public method to get the device firmware download URL. + + @return firmware download URL of the device + @rtype str + """ + return Preferences.getMicroPython("MicroPythonFirmwareUrl") + + def __createTeensyMenu(self): + """ + Private method to create the microbit submenu. + """ + self.__teensyMenu = QMenu(self.tr("Teensy Functions")) + + self.__showMpyAct = self.__teensyMenu.addAction( + self.tr("Show MicroPython Versions"), self.__showFirmwareVersions + ) + self.__teensyMenu.addSeparator() + self.__teensyMenu.addAction( + self.tr("MicroPython Flash Instructions"), self.__showFlashInstructions + ) + self.__flashMpyAct = self.__teensyMenu.addAction( + self.tr("Flash MicroPython Firmware"), self.__startTeensyLoader + ) + self.__flashMpyAct.setToolTip( + self.tr("Start the 'Teensy Loader' application to flash the Teensy device.") + ) + + def addDeviceMenuEntries(self, menu): + """ + Public method to add device specific entries to the given menu. + + @param menu reference to the context menu + @type QMenu + """ + connected = self.microPython.isConnected() + linkConnected = self.microPython.isLinkConnected() + + self.__showMpyAct.setEnabled(connected) + self.__flashMpyAct.setEnabled(not linkConnected) + + menu.addMenu(self.__teensyMenu) + + @pyqtSlot() + def __showFirmwareVersions(self): + """ + Private slot to show the firmware version of the connected device and the + available firmware version. + """ + if self.microPython.isConnected(): + if self._deviceData["mpy_name"] != "micropython": + EricMessageBox.critical( + None, + self.tr("Show MicroPython Versions"), + self.tr( + """The firmware of the connected device cannot be""" + """ determined or the board does not run MicroPython.""" + """ Aborting...""" + ), + ) + else: + ui = ericApp().getObject("UserInterface") + request = QNetworkRequest(QUrl(FirmwareGithubUrls["micropython"])) + reply = ui.networkAccessManager().head(request) + reply.finished.connect(lambda: self.__firmwareVersionResponse(reply)) + + def __firmwareVersionResponse(self, reply): + """ + Private method handling the response of the latest version request. + + @param reply reference to the reply object + @type QNetworkReply + """ + latestUrl = reply.url().toString() + tag = latestUrl.rsplit("/", 1)[-1] + while tag and not tag[0].isdecimal(): + # get rid of leading non-decimal characters + tag = tag[1:] + latestVersion = Globals.versionToTuple(tag) + + if self._deviceData["mpy_version"] == "unknown": + currentVersionStr = self.tr("unknown") + currentVersion = (0, 0, 0) + else: + currentVersionStr = self._deviceData["mpy_version"] + currentVersion = Globals.versionToTuple(currentVersionStr) + + msg = self.tr( + "<h4>MicroPython Version Information</h4>" + "<table>" + "<tr><td>Installed:</td><td>{0}</td></tr>" + "<tr><td>Available:</td><td>{1}</td></tr>" + "</table>" + ).format(currentVersionStr, tag) + if currentVersion < latestVersion: + msg += self.tr("<p><b>Update available!</b></p>") + + EricMessageBox.information( + None, + self.tr("MicroPython Version"), + msg, + ) + + def __showFlashInstructions(self): + """ + Private method to show a message box with instruction to flash the Teensy. + """ + EricMessageBox.information( + self.microPython, + self.tr("Flash MicroPython Firmware"), + self.tr( + """<p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader'""" + """ application. Make sure you downloaded the MicroPython or""" + """ CircuitPython .hex file.</p>""" + """<p>See <a href="{0}">the PJRC Teensy web site</a>""" + """ for details.</p>""" + ).format("https://www.pjrc.com/teensy/loader.html"), + ) + + def __startTeensyLoader(self): + """ + Private method to start the 'Teensy Loader' application. + + Note: The application must be accessible via the application search path. + """ + ok, _ = QProcess.startDetached("teensy") + if not ok: + EricMessageBox.warning( + self.microPython, + self.tr("Start 'Teensy Loader'"), + self.tr( + """<p>The 'Teensy Loader' application <b>teensy</b> could not""" + """ be started. Ensure it is in the application search path or""" + """ start it manually.</p>""" + ), + ) + + +def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): + """ + Function to instantiate a MicroPython device object. + + @param microPythonWidget reference to the main MicroPython widget + @type MicroPythonWidget + @param deviceType device type assigned to this device interface + @type str + @param vid vendor ID + @type int + @param pid product ID + @type int + @param boardName name of the board + @type str + @param serialNumber serial number of the board + @type str + @return reference to the instantiated device object + @rtype PyBoardDevice + """ + return TeensyDevice(microPythonWidget, deviceType)
--- a/src/eric7/i18n/eric7_cs.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_cs.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3776,100 +3776,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">neznámý</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -49000,58 +49021,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81604,6 +81625,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">neznámý</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_de.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_de.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3717,100 +3717,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation>CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation>Arbeitsverzeichnis</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation>Python Dateien für CircuitPython können an Ort und Stelle bearbeitet werden, wenn das Geräteverzeichnis lokal verfügbar ist. Ein solches Verzeichnis konnte nicht gefunden werden. Direkte Bearbeitung ist nicht verfügbar.</translation> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation>Bibliotheksverwaltung</translation> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation>Bibliotheksverwaltung</translation> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation>CircuitPython Funktionen</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation>Zeige CircuitPython Versionen</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation>CircuitPython Flashanweisungen</translation> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation>CircuitPython Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation>Startet die 'Teensy Loader' Anwendung zum Flashen des Teensy Boards.</translation> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation>Bibliotheksdateien installieren</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation>Bibliothekspaket installieren</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation>'circup' Paket installieren</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation><p>Teensy 4.0 und Teensy 4.1 unterstützen den UF2 Bootloader nicht. Bitte verwende die 'Teensy Loader' Anwendung, um CircuitPython zu flashen. Stelle sicher, dass die CircuitPython .hex Datei geladen ist.</p><p>Siehe <a href="{0}">die PJRC Teensy Webseite</a> für Details.</p></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation>'Teensy Loader' starten</translation> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation><p>Die 'Teensy Loader' Anwendung <b>teensy</b> konnte nicht gestartet werden. Stelle sicher, dass sie sich im Suchpfad befindet oder starte sie manuell.</p></translation> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation>unbekannt</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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><h4>CircuitPython Versionsinformationen</h4><table><tr><td>Installiert:</td><td>{0}</td></tr><tr><td>Verfügbar:</td><td>{1}</td></tr></table></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation><p><b>Update verfügbar!</b></p></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation>CircuitPython Version</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation>Das Geräteverzeichnis "<b>{0}</b>" ist nicht bereit. Stelle sicher, dass es gemounted ist und versuche es erneut.</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>Übersetzte Python Dateien (*.mpy);;Python Dateien (*.py);;Alle Dateien (*)</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation>CircuitPython Firmware</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation>CircuitPython Bibliotheken</translation> </message> @@ -48877,58 +48898,58 @@ <translation>RP2040 basiert</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation>Generisches Board</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation>Unbekanntes Gerät</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation>Zeige MicroPython Versionen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation><p>Die Gerätedaten sind nicht verfügbar. Versuche, das Gerät neu zu verbinden. Abbruch...</p></translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation>Nicht unterstütztes Gerät</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation>REPL wird von diesem Gerät nicht unterstützt.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation>Der Plotter wird von diesem Gerät nicht unterstützt.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation>Die Ausführung von Skripten wird von diesem Gerät nicht unterstützt.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation>Der Dateimanager wird von diesem Gerät nicht unterstützt.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation>Auswahl des Geräteverzeichnis</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation>Wähle das Verzeichnis für das verbundene Gerät:</translation> </message> @@ -81387,6 +81408,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation>Teensy</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation>Teensy Funktionen</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation>Zeige MicroPython Versionen</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation>MicroPython Flashanweisungen</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation>MicroPython Firmware flashen</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation>Startet die 'Teensy Loader' Anwendung zum Flashen des Teensy Boards.</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation>Die Firmware des verbundenen Gerätes kann nicht ermittelt werden oder das Board enthält kein MicroPython. Abbruch...</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation>unbekannt</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython Version Information</h4><table><tr><td>Installed:</td><td>{0}</td></tr><tr><td>Available:</td><td>{1}</td></tr></table></source> + <translation><h4>MicroPython Versionsinformationen</h4><table><tr><td>Installiert:</td><td>{0}</td></tr><tr><td>Verfügbar:</td><td>{1}</td></tr></table></translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation><p><b>Update verfügbar!</b></p></translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation>MicroPython Version</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation><p>Teensy 4.0 und Teensy 4.1 werden mit der 'Teensy Loader' Anwendung geflasht. Stelle sicher, dass die MicroPython .hex Datei geladen ist.</p><p>Siehe <a href="{0}">die PJRC Teensy Webseite</a> für Details.</p></translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation>'Teensy Loader' starten</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation><p>Die 'Teensy Loader' Anwendung <b>teensy</b> konnte nicht gestartet werden. Stelle sicher, dass sie sich im Suchpfad befindet oder starte sie manuell.</p></translation> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_empty.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_empty.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3683,100 +3683,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -48642,58 +48663,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -80835,6 +80856,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_en.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_en.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3683,100 +3683,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -48683,58 +48704,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -80886,6 +80907,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_es.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_es.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3718,100 +3718,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation>CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation>Directorio del espacio de trabajo</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation>Los archivos Python para CircuitPython se pueden editar in situ, si el volumen de dispositivo está disponible localmente. No se ha encontrado un volumen de tales características. La edición in situ no estará disponible.</translation> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation>Flashear Firmware de CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation>Instalar Archivos de Biblioteca</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation><p>Teensy 4.0 y Teensy 4.1 no soportan un bootloader UF2. Utilizar por favor la aplicación 'Teensy Loader' para flashear CircuitPython. Asegurarse de que se ha descargado el fichero hexadecimal de CircuitPython.</p><p>Ver <a href="{0}">el website de PJRC Teensy</a> para más detalles.</p></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">desconocido</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation>El volumen de dispositivo "<b>{0}</b>" no está disponible. Asegúrese de que está montado correctamente e inténtelo de nuevo.</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>Archivos Compilados de Python (*.mpy);;Archivos de Python (*.py);;Todos los Archivos (*)</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation>Firmware de CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation>Bibliotecas de CircuitPython</translation> </message> @@ -48885,58 +48906,58 @@ <translation>Basada en RP2040</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation>Placa Genérica</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation>Dispositivo Desconocido</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation>Dispositivo no soportado</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation>REPL no soportado por este dispositivo.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation>Plotter no soportado por este dispositivo.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation>La ejecución de scripts no está soportada por este dispositivo.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation>El Gestor de Archovos no está soportado por este dispositivo.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation>Seleccionar Directorio para Dispositivo</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation>Seleccionar el directorio para el dispositivo conectado:</translation> </message> @@ -81379,6 +81400,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished">Instrucciones para MicroPython Flash</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished">Flash MicroPython Firmware</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">desconocido</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_fr.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_fr.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3813,100 +3813,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation>Répertoire de travail</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation>Installer les fichiers librairies</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">inconnu</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>Fichiers Python Compilés (*.mpy);;Fichiers Python (*.py);;Tous les Fichiers (*)</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -49120,58 +49141,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation>Matériel non supporté</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation>REPL n'est pas supporté pour ce matériel.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation>Le gestionnaire de fichier n'est pas supporté pour ce matériel.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81881,6 +81902,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">inconnu</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_it.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_it.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3784,100 +3784,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">sconosciuto</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -49050,58 +49071,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81696,6 +81717,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">sconosciuto</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_pt.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_pt.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3790,100 +3790,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">desconhecido</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -49040,58 +49061,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81502,6 +81523,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">desconhecido</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_ru.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_ru.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3721,100 +3721,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation>CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation>Директория рабочей области</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation>Файлы Python для CircuitPython можно редактировать по месту, если том устройства доступен локально . Такой том найти не удалось. Редактирование по месту будет недоступно.</translation> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation>Прошить микрокод CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation>Установить файлы библиотек</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation><p>Teensy 4.0 и Teensy 4.1 не поддерживают UF2 загрузчик. Для прошивки CircuitPython используйте приложение 'Teensy Loader'. Убедитесь, что вы скачали hex-файл CircuitPython.</p><p>Подробности смотрите на <a href="{0}">the PJRC Teensy web site</a>.</p></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">неизвестный</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <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/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>Компилированные файлы Python (*.mpy);;Файлы Python (*.py);;Все файлы (*)</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation>Микрокод CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation>Библиотеки CircuitPython</translation> </message> @@ -48952,58 +48973,58 @@ <translation>На базе RP2040</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation>Универсальная плата</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation>Неизвестное устройство</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation>Неподдерживаемое устройство</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation>REPL не поддерживается этим устройством.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation>Плоттер не поддерживается этим устройством.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation>Выполнение скриптов не поддерживается этим устройством.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation>Менеджер файлов не поддерживается этим устройством.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation>Выберите директорию устройства</translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation>Выберите директорию для подсоединенного устройства:</translation> </message> @@ -81552,6 +81573,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished">Инструкция прошивки MicroPython</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished">Прошить микрокод MicroPython</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">неизвестный</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_tr.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_tr.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3776,100 +3776,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">bilinmeyen</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -48987,58 +49008,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81494,6 +81515,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">bilinmeyen</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />
--- a/src/eric7/i18n/eric7_zh_CN.ts Sun Feb 12 15:14:28 2023 +0100 +++ b/src/eric7/i18n/eric7_zh_CN.ts Sun Feb 12 18:11:20 2023 +0100 @@ -3810,100 +3810,121 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="92" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="88" /> <source>CircuitPython</source> <translation>CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="218" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="214" /> <source>Workspace Directory</source> <translation>工作空间目录</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="219" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="215" /> <source>Python files for CircuitPython can be edited in place, if the device volume is locally available. Such a volume was not found. In place editing will not be available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="245" /> + <source>Library Management</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../MicroPython/CircuitPythonDevices.py" line="249" /> - <source>Library Management</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="253" /> <source>CircuitPython Functions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="256" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="252" /> <source>Show CircuitPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="337" /> <location filename="../MicroPython/CircuitPythonDevices.py" line="260" /> + <source>CircuitPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="342" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="273" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="264" /> <source>Flash CircuitPython Firmware</source> <translation>刷新 CircuitPython 固件</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="417" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="290" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="267" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="440" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="302" /> <source>Install Library Files</source> <translation>安装库文件</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="415" /> - <location filename="../MicroPython/CircuitPythonDevices.py" line="294" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="438" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="306" /> <source>Install Library Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="300" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="312" /> <source>Install 'circup' Package</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="338" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="343" /> <source><p>Teensy 4.0 and Teensy 4.1 do not support the UF2 bootloader. Please use the 'Teensy Loader' application to flash CircuitPython. Make sure you downloaded the CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="370" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="363" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="364" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/CircuitPythonDevices.py" line="393" /> <source>unknown</source> <translation type="unfinished">未知</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="389" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="412" /> <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/CircuitPythonDevices.py" line="397" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="420" /> <source><p><b>Update available!</b></p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="401" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="424" /> <source>CircuitPython Version</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="423" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="446" /> <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/CircuitPythonDevices.py" line="451" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="474" /> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>编译 Python 文件 (*.mpy);;Python 文件 (*.py);;所有文件 (*)</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="481" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="504" /> <source>CircuitPython Firmware</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="485" /> + <location filename="../MicroPython/CircuitPythonDevices.py" line="508" /> <source>CircuitPython Libraries</source> <translation type="unfinished" /> </message> @@ -49018,58 +49039,58 @@ <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="278" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="286" /> <source>Generic Board</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="408" /> - <location filename="../MicroPython/MicroPythonDevices.py" line="397" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="424" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="413" /> <source>Unknown Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="549" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="566" /> <source>Show MicroPython Versions</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="550" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="567" /> <source><p>The device data is not available. Try to connect to the device again. Aborting...</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="582" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="599" /> <source>Unsupported Device</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="592" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="609" /> <source>REPL is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="611" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="628" /> <source>Plotter is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="630" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="647" /> <source>Running scripts is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="649" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="666" /> <source>File Manager is not supported by this device.</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="694" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="711" /> <source>Select Device Directory</source> <translation type="unfinished" /> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="695" /> + <location filename="../MicroPython/MicroPythonDevices.py" line="712" /> <source>Select the directory for the connected device:</source> <translation type="unfinished" /> </message> @@ -81703,6 +81724,81 @@ </message> </context> <context> + <name>TeensyDevice</name> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="68" /> + <source>Teensy</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="142" /> + <source>Teensy Functions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="183" /> + <location filename="../MicroPython/TeensyDevices.py" line="145" /> + <source>Show MicroPython Versions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="149" /> + <source>MicroPython Flash Instructions</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="239" /> + <location filename="../MicroPython/TeensyDevices.py" line="152" /> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="155" /> + <source>Start the 'Teensy Loader' application to flash the Teensy device.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="184" /> + <source>The firmware of the connected device cannot be determined or the board does not run MicroPython. Aborting...</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="211" /> + <source>unknown</source> + <translation type="unfinished">未知</translation> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="217" /> + <source><h4>MicroPython 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/TeensyDevices.py" line="225" /> + <source><p><b>Update available!</b></p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="229" /> + <source>MicroPython Version</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="240" /> + <source><p>Teensy 4.0 and Teensy 4.1 are flashed using the 'Teensy Loader' application. Make sure you downloaded the MicroPython or CircuitPython .hex file.</p><p>See <a href="{0}">the PJRC Teensy web site</a> for details.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="259" /> + <source>Start 'Teensy Loader'</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../MicroPython/TeensyDevices.py" line="260" /> + <source><p>The 'Teensy Loader' application <b>teensy</b> could not be started. Ensure it is in the application search path or start it manually.</p></source> + <translation type="unfinished" /> + </message> + </context> + <context> <name>TemplateGroup</name> <message> <location filename="../Templates/TemplateViewer.py" line="98" />