Fri, 23 Aug 2019 14:49:59 +0200
MicroPythonWidget: added actions to show the device documentation and to open the configuration page to the hamburger menu.
--- a/eric6/APIs/Python3/eric6.api Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/APIs/Python3/eric6.api Fri Aug 23 14:49:59 2019 +0200 @@ -3752,6 +3752,7 @@ eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.canStartRepl?4() eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.deviceName?4() eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.forceInterrupt?4() +eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.getDocumentationUrl?4() eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.getWorkspace?4() eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.runScript?4(script) eric6.MicroPython.CircuitPythonDevices.CircuitPythonDevice.setButtons?4() @@ -3770,6 +3771,7 @@ eric6.MicroPython.EspDevices.EspDevice.canStartRepl?4() eric6.MicroPython.EspDevices.EspDevice.deviceName?4() eric6.MicroPython.EspDevices.EspDevice.forceInterrupt?4() +eric6.MicroPython.EspDevices.EspDevice.getDocumentationUrl?4() eric6.MicroPython.EspDevices.EspDevice.runScript?4(script) eric6.MicroPython.EspDevices.EspDevice.setButtons?4() eric6.MicroPython.EspDevices.EspDevice?1(microPythonWidget, parent=None) @@ -3810,8 +3812,10 @@ eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.canStartRepl?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.deviceName?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.forceInterrupt?4() +eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.getDocumentationUrl?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.getWorkspace?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.handleDataFlood?4() +eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.hasDocumentationUrl?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.hasTimeCommands?4() eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.runScript?4(script) eric6.MicroPython.MicroPythonDevices.MicroPythonDevice.sendCommands?4(commandsList) @@ -3918,6 +3922,7 @@ eric6.MicroPython.MicrobitDevices.MicrobitDevice.canStartRepl?4() eric6.MicroPython.MicrobitDevices.MicrobitDevice.deviceName?4() eric6.MicroPython.MicrobitDevices.MicrobitDevice.forceInterrupt?4() +eric6.MicroPython.MicrobitDevices.MicrobitDevice.getDocumentationUrl?4() eric6.MicroPython.MicrobitDevices.MicrobitDevice.getWorkspace?4() eric6.MicroPython.MicrobitDevices.MicrobitDevice.hasTimeCommands?4() eric6.MicroPython.MicrobitDevices.MicrobitDevice.runScript?4(script)
--- a/eric6/Documentation/Help/source.qhp Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Help/source.qhp Fri Aug 23 14:49:59 2019 +0200 @@ -2928,6 +2928,7 @@ <keyword name="CircuitPythonDevice.canStartRepl" id="CircuitPythonDevice.canStartRepl" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.canStartRepl" /> <keyword name="CircuitPythonDevice.deviceName" id="CircuitPythonDevice.deviceName" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.deviceName" /> <keyword name="CircuitPythonDevice.forceInterrupt" id="CircuitPythonDevice.forceInterrupt" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.forceInterrupt" /> + <keyword name="CircuitPythonDevice.getDocumentationUrl" id="CircuitPythonDevice.getDocumentationUrl" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.getDocumentationUrl" /> <keyword name="CircuitPythonDevice.getWorkspace" id="CircuitPythonDevice.getWorkspace" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.getWorkspace" /> <keyword name="CircuitPythonDevice.runScript" id="CircuitPythonDevice.runScript" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.runScript" /> <keyword name="CircuitPythonDevice.setButtons" id="CircuitPythonDevice.setButtons" ref="eric6.MicroPython.CircuitPythonDevices.html#CircuitPythonDevice.setButtons" /> @@ -6174,6 +6175,7 @@ <keyword name="EspDevice.canStartRepl" id="EspDevice.canStartRepl" ref="eric6.MicroPython.EspDevices.html#EspDevice.canStartRepl" /> <keyword name="EspDevice.deviceName" id="EspDevice.deviceName" ref="eric6.MicroPython.EspDevices.html#EspDevice.deviceName" /> <keyword name="EspDevice.forceInterrupt" id="EspDevice.forceInterrupt" ref="eric6.MicroPython.EspDevices.html#EspDevice.forceInterrupt" /> + <keyword name="EspDevice.getDocumentationUrl" id="EspDevice.getDocumentationUrl" ref="eric6.MicroPython.EspDevices.html#EspDevice.getDocumentationUrl" /> <keyword name="EspDevice.runScript" id="EspDevice.runScript" ref="eric6.MicroPython.EspDevices.html#EspDevice.runScript" /> <keyword name="EspDevice.setButtons" id="EspDevice.setButtons" ref="eric6.MicroPython.EspDevices.html#EspDevice.setButtons" /> <keyword name="EspDevices (Module)" id="EspDevices (Module)" ref="eric6.MicroPython.EspDevices.html" /> @@ -11444,8 +11446,10 @@ <keyword name="MicroPythonDevice.canStartRepl" id="MicroPythonDevice.canStartRepl" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.canStartRepl" /> <keyword name="MicroPythonDevice.deviceName" id="MicroPythonDevice.deviceName" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.deviceName" /> <keyword name="MicroPythonDevice.forceInterrupt" id="MicroPythonDevice.forceInterrupt" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.forceInterrupt" /> + <keyword name="MicroPythonDevice.getDocumentationUrl" id="MicroPythonDevice.getDocumentationUrl" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getDocumentationUrl" /> <keyword name="MicroPythonDevice.getWorkspace" id="MicroPythonDevice.getWorkspace" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.getWorkspace" /> <keyword name="MicroPythonDevice.handleDataFlood" id="MicroPythonDevice.handleDataFlood" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.handleDataFlood" /> + <keyword name="MicroPythonDevice.hasDocumentationUrl" id="MicroPythonDevice.hasDocumentationUrl" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.hasDocumentationUrl" /> <keyword name="MicroPythonDevice.hasTimeCommands" id="MicroPythonDevice.hasTimeCommands" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.hasTimeCommands" /> <keyword name="MicroPythonDevice.runScript" id="MicroPythonDevice.runScript" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.runScript" /> <keyword name="MicroPythonDevice.sendCommands" id="MicroPythonDevice.sendCommands" ref="eric6.MicroPython.MicroPythonDevices.html#MicroPythonDevice.sendCommands" /> @@ -11547,6 +11551,7 @@ <keyword name="MicroPythonWidget.__clear" id="MicroPythonWidget.__clear" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__clear" /> <keyword name="MicroPythonWidget.__compileEditor2Mpy" id="MicroPythonWidget.__compileEditor2Mpy" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__compileEditor2Mpy" /> <keyword name="MicroPythonWidget.__compileFile2Mpy" id="MicroPythonWidget.__compileFile2Mpy" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__compileFile2Mpy" /> + <keyword name="MicroPythonWidget.__configure" id="MicroPythonWidget.__configure" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__configure" /> <keyword name="MicroPythonWidget.__connectToDevice" id="MicroPythonWidget.__connectToDevice" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__connectToDevice" /> <keyword name="MicroPythonWidget.__crossCompile" id="MicroPythonWidget.__crossCompile" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__crossCompile" /> <keyword name="MicroPythonWidget.__disconnectFromDevice" id="MicroPythonWidget.__disconnectFromDevice" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__disconnectFromDevice" /> @@ -11562,6 +11567,7 @@ <keyword name="MicroPythonWidget.__showContextMenu" id="MicroPythonWidget.__showContextMenu" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showContextMenu" /> <keyword name="MicroPythonWidget.__showDeviceTime" id="MicroPythonWidget.__showDeviceTime" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showDeviceTime" /> <keyword name="MicroPythonWidget.__showDeviceVersion" id="MicroPythonWidget.__showDeviceVersion" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showDeviceVersion" /> + <keyword name="MicroPythonWidget.__showDocumentation" id="MicroPythonWidget.__showDocumentation" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showDocumentation" /> <keyword name="MicroPythonWidget.__showError" id="MicroPythonWidget.__showError" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showError" /> <keyword name="MicroPythonWidget.__showImplementation" id="MicroPythonWidget.__showImplementation" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showImplementation" /> <keyword name="MicroPythonWidget.__showLocalTime" id="MicroPythonWidget.__showLocalTime" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__showLocalTime" /> @@ -11599,6 +11605,7 @@ <keyword name="MicrobitDevice.canStartRepl" id="MicrobitDevice.canStartRepl" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.canStartRepl" /> <keyword name="MicrobitDevice.deviceName" id="MicrobitDevice.deviceName" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.deviceName" /> <keyword name="MicrobitDevice.forceInterrupt" id="MicrobitDevice.forceInterrupt" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.forceInterrupt" /> + <keyword name="MicrobitDevice.getDocumentationUrl" id="MicrobitDevice.getDocumentationUrl" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.getDocumentationUrl" /> <keyword name="MicrobitDevice.getWorkspace" id="MicrobitDevice.getWorkspace" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.getWorkspace" /> <keyword name="MicrobitDevice.hasTimeCommands" id="MicrobitDevice.hasTimeCommands" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.hasTimeCommands" /> <keyword name="MicrobitDevice.runScript" id="MicrobitDevice.runScript" ref="eric6.MicroPython.MicrobitDevices.html#MicrobitDevice.runScript" />
--- a/eric6/Documentation/Source/eric6.MicroPython.CircuitPythonDevices.html Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.CircuitPythonDevices.html Fri Aug 23 14:49:59 2019 +0200 @@ -90,6 +90,9 @@ <td><a href="#CircuitPythonDevice.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="#CircuitPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> +<td>Public method to get the device documentation URL.</td> +</tr><tr> <td><a href="#CircuitPythonDevice.getWorkspace">getWorkspace</a></td> <td>Public method to get the workspace directory.</td> </tr><tr> @@ -250,6 +253,21 @@ <dd> bool </dd> +</dl><a NAME="CircuitPythonDevice.getDocumentationUrl" ID="CircuitPythonDevice.getDocumentationUrl"></a> +<h4>CircuitPythonDevice.getDocumentationUrl</h4> +<b>getDocumentationUrl</b>(<i></i>) +<p> + Public method to get the device documentation URL. +</p><dl> +<dt>Returns:</dt> +<dd> +documentation URL of the device +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="CircuitPythonDevice.getWorkspace" ID="CircuitPythonDevice.getWorkspace"></a> <h4>CircuitPythonDevice.getWorkspace</h4> <b>getWorkspace</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.MicroPython.EspDevices.html Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.EspDevices.html Fri Aug 23 14:49:59 2019 +0200 @@ -94,6 +94,9 @@ <td><a href="#EspDevice.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="#EspDevice.getDocumentationUrl">getDocumentationUrl</a></td> +<td>Public method to get the device documentation URL.</td> +</tr><tr> <td><a href="#EspDevice.runScript">runScript</a></td> <td>Public method to run the given Python script.</td> </tr><tr> @@ -248,6 +251,21 @@ <dd> bool </dd> +</dl><a NAME="EspDevice.getDocumentationUrl" ID="EspDevice.getDocumentationUrl"></a> +<h4>EspDevice.getDocumentationUrl</h4> +<b>getDocumentationUrl</b>(<i></i>) +<p> + Public method to get the device documentation URL. +</p><dl> +<dt>Returns:</dt> +<dd> +documentation URL of the device +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="EspDevice.runScript" ID="EspDevice.runScript"></a> <h4>EspDevice.runScript</h4> <b>runScript</b>(<i>script</i>)
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Fri Aug 23 14:49:59 2019 +0200 @@ -94,12 +94,18 @@ <td><a href="#MicroPythonDevice.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="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> +<td>Public method to get the device documentation URL.</td> +</tr><tr> <td><a href="#MicroPythonDevice.getWorkspace">getWorkspace</a></td> <td>Public method to get the workspace directory.</td> </tr><tr> <td><a href="#MicroPythonDevice.handleDataFlood">handleDataFlood</a></td> <td>Public slot handling a data floof from the device.</td> </tr><tr> +<td><a href="#MicroPythonDevice.hasDocumentationUrl">hasDocumentationUrl</a></td> +<td>Public method to check, if the device has a configured documentation URL.</td> +</tr><tr> <td><a href="#MicroPythonDevice.hasTimeCommands">hasTimeCommands</a></td> <td>Public method to check, if the device supports time commands.</td> </tr><tr> @@ -247,6 +253,21 @@ <dd> bool </dd> +</dl><a NAME="MicroPythonDevice.getDocumentationUrl" ID="MicroPythonDevice.getDocumentationUrl"></a> +<h4>MicroPythonDevice.getDocumentationUrl</h4> +<b>getDocumentationUrl</b>(<i></i>) +<p> + Public method to get the device documentation URL. +</p><dl> +<dt>Returns:</dt> +<dd> +documentation URL of the device +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="MicroPythonDevice.getWorkspace" ID="MicroPythonDevice.getWorkspace"></a> <h4>MicroPythonDevice.getWorkspace</h4> <b>getWorkspace</b>(<i></i>) @@ -267,7 +288,23 @@ <b>handleDataFlood</b>(<i></i>) <p> Public slot handling a data floof from the device. -</p><a NAME="MicroPythonDevice.hasTimeCommands" ID="MicroPythonDevice.hasTimeCommands"></a> +</p><a NAME="MicroPythonDevice.hasDocumentationUrl" ID="MicroPythonDevice.hasDocumentationUrl"></a> +<h4>MicroPythonDevice.hasDocumentationUrl</h4> +<b>hasDocumentationUrl</b>(<i></i>) +<p> + Public method to check, if the device has a configured documentation + URL. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating a configured documentation URL +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="MicroPythonDevice.hasTimeCommands" ID="MicroPythonDevice.hasTimeCommands"></a> <h4>MicroPythonDevice.hasTimeCommands</h4> <b>hasTimeCommands</b>(<i></i>) <p>
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Fri Aug 23 14:49:59 2019 +0200 @@ -79,6 +79,9 @@ <td><a href="#MicroPythonWidget.__compileFile2Mpy">__compileFile2Mpy</a></td> <td>Private slot to cross compile a Python file (*.py) to a .mpy file.</td> </tr><tr> +<td><a href="#MicroPythonWidget.__configure">__configure</a></td> +<td>Private slot to open the MicroPython configuration page.</td> +</tr><tr> <td><a href="#MicroPythonWidget.__connectToDevice">__connectToDevice</a></td> <td>Private method to connect to the selected device.</td> </tr><tr> @@ -124,6 +127,9 @@ <td><a href="#MicroPythonWidget.__showDeviceVersion">__showDeviceVersion</a></td> <td>Private slot to show some version info about MicroPython of the device.</td> </tr><tr> +<td><a href="#MicroPythonWidget.__showDocumentation">__showDocumentation</a></td> +<td>Private slot to open the documentation URL for the selected device.</td> +</tr><tr> <td><a href="#MicroPythonWidget.__showError">__showError</a></td> <td>Private method to show some error message.</td> </tr><tr> @@ -225,6 +231,11 @@ <b>__compileFile2Mpy</b>(<i></i>) <p> Private slot to cross compile a Python file (*.py) to a .mpy file. +</p><a NAME="MicroPythonWidget.__configure" ID="MicroPythonWidget.__configure"></a> +<h4>MicroPythonWidget.__configure</h4> +<b>__configure</b>(<i></i>) +<p> + Private slot to open the MicroPython configuration page. </p><a NAME="MicroPythonWidget.__connectToDevice" ID="MicroPythonWidget.__connectToDevice"></a> <h4>MicroPythonWidget.__connectToDevice</h4> <b>__connectToDevice</b>(<i></i>) @@ -409,6 +420,11 @@ <b>__showDeviceVersion</b>(<i></i>) <p> Private slot to show some version info about MicroPython of the device. +</p><a NAME="MicroPythonWidget.__showDocumentation" ID="MicroPythonWidget.__showDocumentation"></a> +<h4>MicroPythonWidget.__showDocumentation</h4> +<b>__showDocumentation</b>(<i></i>) +<p> + Private slot to open the documentation URL for the selected device. </p><a NAME="MicroPythonWidget.__showError" ID="MicroPythonWidget.__showError"></a> <h4>MicroPythonWidget.__showError</h4> <b>__showError</b>(<i>method, error</i>)
--- a/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html Fri Aug 23 14:49:59 2019 +0200 @@ -99,6 +99,9 @@ <td><a href="#MicrobitDevice.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="#MicrobitDevice.getDocumentationUrl">getDocumentationUrl</a></td> +<td>Public method to get the device documentation URL.</td> +</tr><tr> <td><a href="#MicrobitDevice.getWorkspace">getWorkspace</a></td> <td>Public method to get the workspace directory.</td> </tr><tr> @@ -265,6 +268,21 @@ <dd> bool </dd> +</dl><a NAME="MicrobitDevice.getDocumentationUrl" ID="MicrobitDevice.getDocumentationUrl"></a> +<h4>MicrobitDevice.getDocumentationUrl</h4> +<b>getDocumentationUrl</b>(<i></i>) +<p> + Public method to get the device documentation URL. +</p><dl> +<dt>Returns:</dt> +<dd> +documentation URL of the device +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="MicrobitDevice.getWorkspace" ID="MicrobitDevice.getWorkspace"></a> <h4>MicrobitDevice.getWorkspace</h4> <b>getWorkspace</b>(<i></i>)
--- a/eric6/MicroPython/CircuitPythonDevices.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/CircuitPythonDevices.py Fri Aug 23 14:49:59 2019 +0200 @@ -21,6 +21,7 @@ from .MicroPythonWidget import HAS_QTCHART import Utilities +import Preferences class CircuitPythonDevice(MicroPythonDevice): @@ -230,3 +231,12 @@ for libraryFile in libraryFiles: if os.path.exists(libraryFile): shutil.copy2(libraryFile, target) + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return Preferences.getMicroPython("CircuitPythonDocuUrl")
--- a/eric6/MicroPython/EspDevices.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/EspDevices.py Fri Aug 23 14:49:59 2019 +0200 @@ -22,6 +22,8 @@ from .MicroPythonDevices import MicroPythonDevice from .MicroPythonWidget import HAS_QTCHART +import Preferences + class EspDevice(MicroPythonDevice): """ @@ -224,3 +226,12 @@ """ pip = e5App().getObject("Pip") pip.installPackages(["esptool"], interpreter=sys.executable) + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return Preferences.getMicroPython("MicroPythonDocuUrl")
--- a/eric6/MicroPython/MicroPythonDevices.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/MicroPythonDevices.py Fri Aug 23 14:49:59 2019 +0200 @@ -337,3 +337,22 @@ @rtype bool """ return True + + def hasDocumentationUrl(self): + """ + Public method to check, if the device has a configured documentation + URL. + + @return flag indicating a configured documentation URL + @rtype bool + """ + return bool(self.getDocumentationUrl()) + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return ""
--- a/eric6/MicroPython/MicroPythonWidget.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/MicroPythonWidget.py Fri Aug 23 14:49:59 2019 +0200 @@ -1123,6 +1123,12 @@ self.__superMenu.addSeparator() if self.__device: self.__device.addDeviceMenuEntries(self.__superMenu) + self.__superMenu.addSeparator() + act = self.__superMenu.addAction( + self.tr("Show Documentation"), self.__showDocumentation) + act.setEnabled(self.__device.hasDocumentationUrl()) + self.__superMenu.addSeparator() + self.__superMenu.addAction(self.tr("Configure"), self.__configure) @pyqtSlot() def __showDeviceVersion(self): @@ -1382,3 +1388,22 @@ pythonFile=aw.getFileName(), title=self.tr("Compile Current Editor") ) + + @pyqtSlot() + def __showDocumentation(self): + """ + Private slot to open the documentation URL for the selected device. + """ + if self.__device is None or not self.__device.hasDocumentationUrl(): + # abort silently + return + + url = self.__device.getDocumentationUrl() + e5App().getObject("UserInterface").launchHelpViewer(url) + + @pyqtSlot() + def __configure(self): + """ + Private slot to open the MicroPython configuration page. + """ + e5App().getObject("UserInterface").showPreferences("microPythonPage")
--- a/eric6/MicroPython/MicrobitDevices.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/MicrobitDevices.py Fri Aug 23 14:49:59 2019 +0200 @@ -22,6 +22,7 @@ from E5Gui.E5ProcessDialog import E5ProcessDialog import Utilities +import Preferences class MicrobitDevice(MicroPythonDevice): @@ -327,3 +328,12 @@ """ pip = e5App().getObject("Pip") pip.installPackages(["uflash"], interpreter=sys.executable) + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return Preferences.getMicroPython("MicrobitDocuUrl")
--- a/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Fri Aug 23 14:49:59 2019 +0200 @@ -52,6 +52,12 @@ Preferences.getMicroPython("ReplLineWrap")) self.mpyCrossPicker.setText( Preferences.getMicroPython("MpyCrossCompiler")) + self.micropythonDocuUrlLineEdit.setText( + Preferences.getMicroPython("MicroPythonDocuUrl")) + self.circuitpythonDocuUrlLineEdit.setText( + Preferences.getMicroPython("CircuitPythonDocuUrl")) + self.microbitDocuUrlLineEdit.setText( + Preferences.getMicroPython("MicrobitDocuUrl")) def save(self): """ @@ -68,7 +74,13 @@ "ReplLineWrap", self.replWrapCheckBox.isChecked()) Preferences.setMicroPython( "MpyCrossCompiler", self.mpyCrossPicker.text()) - + Preferences.setMicroPython( + "MicroPythonDocuUrl", self.micropythonDocuUrlLineEdit.text()) + Preferences.setMicroPython( + "CircuitPythonDocuUrl", self.circuitpythonDocuUrlLineEdit.text()) + Preferences.setMicroPython( + "MicrobitDocuUrl", self.microbitDocuUrlLineEdit.text()) + def create(dlg): """
--- a/eric6/Preferences/ConfigurationPages/MicroPythonPage.ui Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/MicroPythonPage.ui Fri Aug 23 14:49:59 2019 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>476</width> - <height>356</height> + <height>550</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> @@ -167,6 +167,57 @@ </widget> </item> <item> + <widget class="QGroupBox" name="groupBox_4"> + <property name="title"> + <string>Documentation</string> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>MicroPython:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="E5ClearableLineEdit" name="micropythonDocuUrlLineEdit"> + <property name="toolTip"> + <string>Enter the URL for the MicroPython documentation</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>CircuitPython:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="E5ClearableLineEdit" name="circuitpythonDocuUrlLineEdit"> + <property name="toolTip"> + <string>Enter the URL for the CircuitPython documentation</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>BBC micro:bit:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="E5ClearableLineEdit" name="microbitDocuUrlLineEdit"> + <property name="toolTip"> + <string>Enter the URL for the BBC micro:bit MicroPython documentation</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -188,12 +239,21 @@ <header>E5Gui/E5PathPicker.h</header> <container>1</container> </customwidget> + <customwidget> + <class>E5ClearableLineEdit</class> + <extends>QLineEdit</extends> + <header>E5Gui/E5LineEdit.h</header> + </customwidget> </customwidgets> <tabstops> <tabstop>timeoutSpinBox</tabstop> <tabstop>syncTimeCheckBox</tabstop> <tabstop>colorSchemeComboBox</tabstop> <tabstop>replWrapCheckBox</tabstop> + <tabstop>mpyCrossPicker</tabstop> + <tabstop>micropythonDocuUrlLineEdit</tabstop> + <tabstop>circuitpythonDocuUrlLineEdit</tabstop> + <tabstop>microbitDocuUrlLineEdit</tabstop> </tabstops> <resources/> <connections/>
--- a/eric6/Preferences/__init__.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/Preferences/__init__.py Fri Aug 23 14:49:59 2019 +0200 @@ -1597,7 +1597,13 @@ "SyncTimeAfterConnect": True, "ShowHiddenLocal": True, "ShowHiddenDevice": True, - "MpyCrossCompiler": "", # path of the mpy cross compiler + "MpyCrossCompiler": "", # path of the mpy-cross compiler + "MicroPythonDocuUrl": + "https://docs.micropython.org/en/latest/", + "CircuitPythonDocuUrl": + "https://circuitpython.readthedocs.io/en/latest/", + "MicrobitDocuUrl": + "https://microbit-micropython.readthedocs.io/en/latest/", } if Globals.isWindowsPlatform(): microPythonDefaults["ColorScheme"] = "Windows 10"
--- a/eric6/i18n/eric6_cs.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_cs.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2769,42 +2769,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17119,47 +17119,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47648,6 +47648,41 @@ <source>All Files (*)</source> <translation type="unfinished">Všechny soubory (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Dokumentace</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47843,7 +47878,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47858,107 +47893,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">neznámý</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">Python soubory (*.py);;Všechny soubory (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47982,93 +48017,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Konfigurovat</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53399,17 +53444,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Předvolby exportu</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Předvolby importu</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message>
--- a/eric6/i18n/eric6_de.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_de.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2774,42 +2774,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation>CircuitPython</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation>Arbeitsverzeichnis</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation>Pythondateien für CircuitPython Geräte werden auf dem Gerät gespeichert. Um diese Dateien zu bearbeiten, muss das Gerät angesteckt sein. Solange kein Gerät angesteckt ist, wird das normale Arbeitsverzeichnis verwendet.</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation>CircuitPython Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation>Bibliotheksdateien installieren</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation>Bitte resette das Geräte in den Bootloader Modus und bestätige dies, wenn es bereit ist.</translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <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="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation>Übersetzte Python Dateien (*.mpy);;Python Dateien (*.py);;Alle Dateien (*)</translation> </message> @@ -17105,47 +17105,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation>ESP8266, ESP32</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation>Flash löschen</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation>MicroPython Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation>Zusätzliche Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation>'esptool.py' installieren</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation>Soll der Flashspeicher des ausgewählten Gerätes wirklich gelöscht werden?</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation>Ausgabe von 'esptool erase_flash'</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation>Chiptyp '{0}' wird nicht unterstützt.</translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation>Ausgabe von 'esptool write_flash'</translation> </message> @@ -47589,6 +47589,41 @@ <source>All Files (*)</source> <translation>Alle Dateien (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation>Dokumentation</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation>MicroPython:</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation>Gib die URL für die MicroPython Dokumentation ein</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation>CircuitPython:</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation>Gib die URL für die CircuitPython Dokumentation ein</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation>BBC micro:bit:</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation>Gib die URL für die BBC micro:bit MicroPython Dokumentation ein</translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47787,7 +47822,7 @@ <translation>Implementierung anzeigen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation>Zeit synchronisieren</translation> </message> @@ -47802,107 +47837,107 @@ <translation>Lokale Zeit anzeigen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation>Python Datei übersetzen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation>Aktuellen Editor übersetzen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation><h3>Versionsinformationen des Gerätes</h3></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation>Keine Versionsinformationen verfügbar.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation>Versionsinformationen des Gerätes</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation>unbekannt</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation>Informationen zur Implementierung</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation><h3>Informationen zur Implementierung</h3><p>Dieses Gerät enthält <b>{0} {1}</b>.</p></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation><p>Die Zeit des angeschlossenen Gerätes wurde mit der lokalen Zeit synchronisiert.</p></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation><h3>Datum und Zeit des Gerätes</h3><table><tr><td><b>Datum</b></td><td>{0}</td></tr><tr><td><b>Zeit</b></td><td>{1}</td></tr></table></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation><h3>Datum und Zeit des Gerätes</h3><p>{0}</p></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation>Datum und Zeit des Gerätes</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation>Lokales Datum und Zeit</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation><h3>Lokales Datum und Zeit</h3><table><tr><td><b>Datum</b></td><td>{0}</td></tr><tr><td><b>Zeit</b></td><td>{1}</td></tr></table></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation>Fehler bei Gerätekommunikation</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation><p>Es trat ein Fehler bei der Kommunikation mit dem Gerät auf.</p><p>Methode: {0}</p><p>Nachricht: {1}</p></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation>Der MicroPython Crosscompiler <b>mpy-cross</b> kann nicht gefunden werden. Stelle sicher, dass er im Suchpfad liegt oder konfiguriere ihn auf der MicroPython Konfigurationsseite.</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation>Python-Dateien (*.py);;Alle Dateien (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation>Die Python Datei <b>{0}</b> existiert nicht. Abbruch...</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation>'mpy-cross' Ausgabe</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation>Der aktuelle Editortext enthält keine Pythondatei. Abbruch...</translation> </message> @@ -47926,21 +47961,31 @@ <source>µPy Files</source> <translation>µPy Dateien</translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation>Dokumentation anzeigen</translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation>Einstellungen</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation>BBC micro:bit</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation>Arbeitsverzeichnis</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> @@ -47949,72 +47994,72 @@ Bitte stelle sicher, dass das Gerät an diesem Computer angesteckt ist.</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation>Standard MicroPython Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation>Alternative MicroPython Firmware flashen</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation>Flash Skript</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation>Flasht das aktuelle Skript auf das ausgewählte Gerät.</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation>Speicher Skript als 'main.py'</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation>Speichert das aktuelle Skript als 'main.py' auf das angeschlossene Gerät</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation>micro:bit zurücksetzen</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation>'uflash' installieren</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation>'uflash' Ausgabe</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation>MicroPython Firmwaredateien (*.hex);;Alle Dateien (*)</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation>Der aktuelle Editor enthält kein Python Skript. Trotzdem flashen?</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation>Das Skript ist leer. Abbruch.</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation>Der aktuelle Editor enthält kein Python Skript. Trotzdem schreiben?</translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation><p>Das Skript konnte nicht auf dem Gerät gespeichert werden</p><p>Ursache: {0}</p></translation> </message> @@ -53305,17 +53350,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Einstellungen exportieren</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Einstellungen importieren</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>Properties-Dateien (*.ini);;Alle Dateien (*)</translation> </message>
--- a/eric6/i18n/eric6_empty.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_empty.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2741,42 +2741,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -16980,47 +16980,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47345,6 +47345,41 @@ <source>All Files (*)</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47538,7 +47573,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47553,107 +47588,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47677,93 +47712,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53039,17 +53084,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation type="unfinished"></translation> </message>
--- a/eric6/i18n/eric6_en.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_en.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2741,42 +2741,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -16997,47 +16997,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47390,6 +47390,41 @@ <source>All Files (*)</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47584,7 +47619,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47599,107 +47634,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47723,93 +47758,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53086,17 +53131,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message>
--- a/eric6/i18n/eric6_es.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_es.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2776,42 +2776,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17125,47 +17125,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47648,6 +47648,41 @@ <source>All Files (*)</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Documentación</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47847,7 +47882,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47862,107 +47897,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">desconocido</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">Archivos Python (*.py);;Todos los Archivos (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47986,93 +48021,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Configurar</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53362,17 +53407,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Exportar Preferencias</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Importar Preferencias</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>Archivo de Propiedades (*.ini);;Todos los archivos (*)</translation> </message>
--- a/eric6/i18n/eric6_fr.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_fr.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2767,42 +2767,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17130,47 +17130,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47638,6 +47638,41 @@ <source>All Files (*)</source> <translation type="unfinished">Tous fichiers (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Documentation</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47832,7 +47867,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47847,107 +47882,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">inconnu</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47971,93 +48006,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Configuration</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53386,17 +53431,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Export des préférences</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Import des préférences</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message>
--- a/eric6/i18n/eric6_it.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_it.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2777,42 +2777,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17168,47 +17168,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47700,6 +47700,41 @@ <source>All Files (*)</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Documentazione</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47894,7 +47929,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47909,107 +47944,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">File Python (*.py);;Tutti i File (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -48033,93 +48068,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Configura</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53454,17 +53499,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Esporta Preferenze</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Importa Preferenze</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>File proprietà (*.ini);;Tutti i file(*)</translation> </message>
--- a/eric6/i18n/eric6_pt.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_pt.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2775,42 +2775,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17159,47 +17159,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47631,6 +47631,41 @@ <source>All Files (*)</source> <translation type="unfinished">Ficheiros Todos (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Documentação</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47825,7 +47860,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47840,107 +47875,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">desconhecido</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">Ficheiros Python (*.py);;Ficheiros Todos (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47964,93 +47999,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Configurar</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53397,17 +53442,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Exportar Preferências</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Importar Preferências</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>Ficheiro de Propriedades (*.ini);;Ficheiros Todos (*)</translation> </message>
--- a/eric6/i18n/eric6_ru.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_ru.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2773,42 +2773,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17157,47 +17157,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47718,6 +47718,41 @@ <source>All Files (*)</source> <translation type="unfinished">Все файлы (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Документация</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47918,7 +47953,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47933,107 +47968,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">Файлы Python (*.py);;Все файлы (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -48057,93 +48092,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Настройки</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53447,17 +53492,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Экспорт предпочтений</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Импорт предпочтений</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>Файлы предпочтений (*.ini);;Все файлы (*)</translation> </message>
--- a/eric6/i18n/eric6_tr.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_tr.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2769,42 +2769,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17091,47 +17091,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47607,6 +47607,41 @@ <source>All Files (*)</source> <translation type="unfinished">Tüm Dosyalar (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">Belgeleme</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47801,7 +47836,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47816,107 +47851,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">bilinmeyen</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished">Python Dosyaları (*.py);;Tüm Dosyalar (*)</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47940,93 +47975,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">Yapılandırma</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53360,17 +53405,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>Seçenekleri Dışa Aktar</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>Seçenekleri İçe Aktar</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation type="unfinished"></translation> </message>
--- a/eric6/i18n/eric6_zh_CN.ts Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/i18n/eric6_zh_CN.ts Fri Aug 23 14:49:59 2019 +0200 @@ -2770,42 +2770,42 @@ <context> <name>CircuitPythonDevice</name> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="71"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="72"/> <source>CircuitPython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="156"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="157"/> <source>Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, the standard directory will be used.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Flash CircuitPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Install Library Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="188"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="189"/> <source>Please reset the device to bootloader mode and confirm when ready.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="210"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="211"/> <source>The device volume "<b>{0}</b>" is not available. Ensure it is mounted properly and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/CircuitPythonDevices.py" line="222"/> + <location filename="../MicroPython/CircuitPythonDevices.py" line="223"/> <source>Compiled Python Files (*.mpy);;Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -17112,47 +17112,47 @@ <context> <name>EspDevice</name> <message> - <location filename="../MicroPython/EspDevices.py" line="66"/> + <location filename="../MicroPython/EspDevices.py" line="68"/> <source>ESP8266, ESP32</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>Erase Flash</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="190"/> + <location filename="../MicroPython/EspDevices.py" line="192"/> <source>Flash MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>Flash Additional Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="138"/> + <location filename="../MicroPython/EspDevices.py" line="140"/> <source>Install 'esptool.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="145"/> + <location filename="../MicroPython/EspDevices.py" line="147"/> <source>Shall the flash of the selected device really be erased?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="157"/> + <location filename="../MicroPython/EspDevices.py" line="159"/> <source>'esptool erase_flash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="179"/> + <location filename="../MicroPython/EspDevices.py" line="181"/> <source>Unsupported chip type '{0}'.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/EspDevices.py" line="214"/> + <location filename="../MicroPython/EspDevices.py" line="216"/> <source>'esptool write_flash' Output</source> <translation type="unfinished"></translation> </message> @@ -47604,6 +47604,41 @@ <source>All Files (*)</source> <translation type="unfinished">所有文件 (*)</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="172"/> + <source>Documentation</source> + <translation type="unfinished">文档</translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="178"/> + <source>MicroPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="185"/> + <source>Enter the URL for the MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="192"/> + <source>CircuitPython:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="199"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="206"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="213"/> + <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47797,7 +47832,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> @@ -47812,107 +47847,107 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1361"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1367"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1381"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1387"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1141"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1144"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1146"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1169"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1175"/> <source>unknown</source> <translation type="unfinished">未知</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1173"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> <source><h3>Device Implementation Information</h3><p>This device contains <b>{0} {1}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1203"/> <source><p>The time of the connected device was synchronized with the local time.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1219"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1225"/> <source><h3>Device Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1227"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1233"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1241"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1247"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1260"/> <source><h3>Local Date and Time</h3><table><tr><td><b>Date</b></td><td>{0}</td></tr><tr><td><b>Time</b></td><td>{1}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1274"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><p>There was an error communicating with the connected device.</p><p>Method: {0}</p><p>Message: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1313"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1319"/> <source>The MicroPython cross compiler <b>mpy-cross</b> cannot be found. Ensure it is in the search path or configure it on the MicroPython configuration page.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1331"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1337"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1341"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1347"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1351"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1357"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1380"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> @@ -47936,93 +47971,103 @@ <source>µPy Files</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1127"/> + <source>Show Documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicroPythonWidget.py" line="1131"/> + <source>Configure</source> + <translation type="unfinished">配置</translation> + </message> </context> <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="68"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="135"/> <source>Could not find an attached BBC micro:bit. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="218"/> + <location filename="../MicroPython/MicrobitDevices.py" line="219"/> <source>Flash Default MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>Flash Custom MicroPython Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>Flash Script</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> + <location filename="../MicroPython/MicrobitDevices.py" line="172"/> <source>Flash the current script to the selected device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source>Save Script as 'main.py'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="176"/> + <location filename="../MicroPython/MicrobitDevices.py" line="177"/> <source>Save the current script as 'main.py' on the connected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="180"/> + <location filename="../MicroPython/MicrobitDevices.py" line="181"/> <source>Reset micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <location filename="../MicroPython/MicrobitDevices.py" line="184"/> <source>Install 'uflash'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="258"/> + <location filename="../MicroPython/MicrobitDevices.py" line="259"/> <source>'uflash' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="207"/> + <location filename="../MicroPython/MicrobitDevices.py" line="208"/> <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="235"/> + <location filename="../MicroPython/MicrobitDevices.py" line="236"/> <source>The current editor does not contain a Python script. Flash it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="285"/> + <location filename="../MicroPython/MicrobitDevices.py" line="286"/> <source>The script is empty. Aborting.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="275"/> + <location filename="../MicroPython/MicrobitDevices.py" line="276"/> <source>The current editor does not contain a Python script. Write it anyway?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="300"/> + <location filename="../MicroPython/MicrobitDevices.py" line="301"/> <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> @@ -53362,17 +53407,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1747"/> + <location filename="../Preferences/__init__.py" line="1753"/> <source>Export Preferences</source> <translation>导出首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Import Preferences</source> <translation>导入首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1775"/> + <location filename="../Preferences/__init__.py" line="1781"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>属性文件 (*.ini);;所有文件 (*)</translation> </message>