--- a/eric6/i18n/eric6_zh_CN.ts Wed Apr 29 18:29:14 2020 +0200 +++ b/eric6/i18n/eric6_zh_CN.ts Wed Apr 29 18:35:30 2020 +0200 @@ -11039,7 +11039,7 @@ <translation>全部取消选择</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7839"/> + <location filename="../QScintilla/Editor.py" line="7847"/> <source>Check spelling...</source> <translation>正在进行拼写检查…</translation> </message> @@ -11259,7 +11259,7 @@ <translation>编辑断点…</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5612"/> + <location filename="../QScintilla/Editor.py" line="5615"/> <source>Enable breakpoint</source> <translation>允许断点</translation> </message> @@ -11384,207 +11384,207 @@ <translation>自动完成无效,没有设定自动完成源。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5615"/> + <location filename="../QScintilla/Editor.py" line="5618"/> <source>Disable breakpoint</source> <translation>去除断点</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5990"/> + <location filename="../QScintilla/Editor.py" line="5993"/> <source>Code Coverage</source> <translation>代码覆盖率</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5990"/> + <location filename="../QScintilla/Editor.py" line="5993"/> <source>Please select a coverage file</source> <translation>请选择一个覆盖率文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6053"/> + <location filename="../QScintilla/Editor.py" line="6056"/> <source>Show Code Coverage Annotations</source> <translation>显示代码覆盖率注解</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6046"/> + <location filename="../QScintilla/Editor.py" line="6049"/> <source>All lines have been covered.</source> <translation>所有行均被已覆盖。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6053"/> + <location filename="../QScintilla/Editor.py" line="6056"/> <source>There is no coverage file available.</source> <translation>没有有效的覆盖率文件。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6170"/> + <location filename="../QScintilla/Editor.py" line="6173"/> <source>Profile Data</source> <translation>剖析数据</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6170"/> + <location filename="../QScintilla/Editor.py" line="6173"/> <source>Please select a profile file</source> <translation>请选择一个剖析文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6332"/> + <location filename="../QScintilla/Editor.py" line="6335"/> <source>Syntax Error</source> <translation>语法错误</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6332"/> + <location filename="../QScintilla/Editor.py" line="6335"/> <source>No syntax error message available.</source> <translation>语法错误消息无效。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6723"/> + <location filename="../QScintilla/Editor.py" line="6726"/> <source>Macro Name</source> <translation>宏名称</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6723"/> + <location filename="../QScintilla/Editor.py" line="6726"/> <source>Select a macro name:</source> <translation>选择一个宏名称:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Load macro file</source> <translation>输入宏文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6794"/> + <location filename="../QScintilla/Editor.py" line="6797"/> <source>Macro files (*.macro)</source> <translation>宏文件 (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6774"/> + <location filename="../QScintilla/Editor.py" line="6777"/> <source>Error loading macro</source> <translation>载入宏文件出错</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6794"/> + <location filename="../QScintilla/Editor.py" line="6797"/> <source>Save macro file</source> <translation>保存宏文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6811"/> + <location filename="../QScintilla/Editor.py" line="6814"/> <source>Save macro</source> <translation>保存宏</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6827"/> + <location filename="../QScintilla/Editor.py" line="6830"/> <source>Error saving macro</source> <translation>保存宏出错</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6840"/> + <location filename="../QScintilla/Editor.py" line="6843"/> <source>Start Macro Recording</source> <translation>开始宏录制</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6840"/> + <location filename="../QScintilla/Editor.py" line="6843"/> <source>Macro recording is already active. Start new?</source> <translation>宏录制已激活。开始录制新宏?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6866"/> + <location filename="../QScintilla/Editor.py" line="6869"/> <source>Macro Recording</source> <translation>宏录制</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6866"/> + <location filename="../QScintilla/Editor.py" line="6869"/> <source>Enter name of the macro:</source> <translation>输入宏名称:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7006"/> + <location filename="../QScintilla/Editor.py" line="7009"/> <source>File changed</source> <translation>文件已改变</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7312"/> + <location filename="../QScintilla/Editor.py" line="7320"/> <source>Drop Error</source> <translation>降落误差</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7333"/> + <location filename="../QScintilla/Editor.py" line="7341"/> <source>Resources</source> <translation>资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7335"/> + <location filename="../QScintilla/Editor.py" line="7343"/> <source>Add file...</source> <translation>添加文件…</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7337"/> + <location filename="../QScintilla/Editor.py" line="7345"/> <source>Add files...</source> <translation>添加文件…</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7339"/> + <location filename="../QScintilla/Editor.py" line="7347"/> <source>Add aliased file...</source> <translation>添加别名文件…</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7342"/> + <location filename="../QScintilla/Editor.py" line="7350"/> <source>Add localized resource...</source> <translation>添加本地资源…</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7346"/> + <location filename="../QScintilla/Editor.py" line="7354"/> <source>Add resource frame</source> <translation>添加资源结构</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7365"/> + <location filename="../QScintilla/Editor.py" line="7373"/> <source>Add file resource</source> <translation>添加文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7381"/> + <location filename="../QScintilla/Editor.py" line="7389"/> <source>Add file resources</source> <translation>添加多个文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7408"/> + <location filename="../QScintilla/Editor.py" line="7416"/> <source>Add aliased file resource</source> <translation>添加别名文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7474"/> + <location filename="../QScintilla/Editor.py" line="7482"/> <source>Package Diagram</source> <translation>程序包图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7474"/> + <location filename="../QScintilla/Editor.py" line="7482"/> <source>Include class attributes?</source> <translation>包含类属性?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7496"/> + <location filename="../QScintilla/Editor.py" line="7504"/> <source>Imports Diagram</source> <translation>引用图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7496"/> + <location filename="../QScintilla/Editor.py" line="7504"/> <source>Include imports from external modules?</source> <translation>从外部模块包含引用?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7510"/> + <location filename="../QScintilla/Editor.py" line="7518"/> <source>Application Diagram</source> <translation>应用程序图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7510"/> + <location filename="../QScintilla/Editor.py" line="7518"/> <source>Include module names?</source> <translation>包含模块名?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7842"/> + <location filename="../QScintilla/Editor.py" line="7850"/> <source>Add to dictionary</source> <translation>添加到文件夹</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7844"/> + <location filename="../QScintilla/Editor.py" line="7852"/> <source>Ignore All</source> <translation>全部忽略</translation> </message> @@ -11624,32 +11624,32 @@ <translation><p>文件 <b>{0}</b> 无法保存。<br />原因:{1}</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6765"/> + <location filename="../QScintilla/Editor.py" line="6768"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6774"/> + <location filename="../QScintilla/Editor.py" line="6777"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6827"/> + <location filename="../QScintilla/Editor.py" line="6830"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7171"/> + <location filename="../QScintilla/Editor.py" line="7179"/> <source>{0} (ro)</source> <translation>{0}(只读)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7312"/> + <location filename="../QScintilla/Editor.py" line="7320"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> 不是一个文件。</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7408"/> + <location filename="../QScintilla/Editor.py" line="7416"/> <source>Alias for file <b>{0}</b>:</source> <translation type="unfinished"></translation> </message> @@ -11679,22 +11679,22 @@ <translation><p>文件 <b>{0}</b> 已经存在。是否覆盖?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6811"/> + <location filename="../QScintilla/Editor.py" line="6814"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>宏文件 <b>{0}</b> 已经存在。是否覆盖?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6611"/> + <location filename="../QScintilla/Editor.py" line="6614"/> <source>Warning: {0}</source> <translation>警告:{0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6618"/> + <location filename="../QScintilla/Editor.py" line="6621"/> <source>Error: {0}</source> <translation>错误:{0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7002"/> + <location filename="../QScintilla/Editor.py" line="7005"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>警告:</b>您在重新打开时将丢失所有更改。</translation> </message> @@ -11719,27 +11719,27 @@ <translation>上一个更改</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8260"/> + <location filename="../QScintilla/Editor.py" line="8268"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8260"/> + <location filename="../QScintilla/Editor.py" line="8268"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6546"/> + <location filename="../QScintilla/Editor.py" line="6549"/> <source>Warning</source> <translation>警告</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6546"/> + <location filename="../QScintilla/Editor.py" line="6549"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6608"/> + <location filename="../QScintilla/Editor.py" line="6611"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -11764,7 +11764,7 @@ <translation>使用指定编码重新打开</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6996"/> + <location filename="../QScintilla/Editor.py" line="6999"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"></translation> </message> @@ -11789,22 +11789,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5182"/> + <location filename="../QScintilla/Editor.py" line="5185"/> <source>Call-Tips Provider</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5182"/> + <location filename="../QScintilla/Editor.py" line="5185"/> <source>The call-tips provider '{0}' was already registered. Ignoring duplicate request.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8349"/> + <location filename="../QScintilla/Editor.py" line="8357"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8349"/> + <location filename="../QScintilla/Editor.py" line="8357"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -11834,12 +11834,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8470"/> + <location filename="../QScintilla/Editor.py" line="8478"/> <source>EditorConfig Properties</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8470"/> + <location filename="../QScintilla/Editor.py" line="8478"/> <source><p>The EditorConfig properties for file <b>{0}</b> could not be loaded.</p></source> <translation type="unfinished"></translation> </message> @@ -47042,27 +47042,27 @@ <context> <name>MicroPythonDevice</name> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="207"/> + <location filename="../MicroPython/MicroPythonDevices.py" line="214"/> <source>Unsupported Device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="217"/> + <location filename="../MicroPython/MicroPythonDevices.py" line="224"/> <source>REPL is not supported by this device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="236"/> + <location filename="../MicroPython/MicroPythonDevices.py" line="243"/> <source>Plotter is not supported by this device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="255"/> + <location filename="../MicroPython/MicroPythonDevices.py" line="262"/> <source>Running scripts is not supported by this device.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonDevices.py" line="275"/> + <location filename="../MicroPython/MicroPythonDevices.py" line="282"/> <source>File Manager is not supported by this device.</source> <translation type="unfinished"></translation> </message> @@ -47434,37 +47434,37 @@ <translation type="unfinished">所有文件 (*)</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="284"/> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="298"/> <source>Documentation</source> <translation type="unfinished">文档</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="290"/> - <source>MicroPython:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="297"/> - <source>Enter the URL for the MicroPython documentation</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="304"/> - <source>CircuitPython:</source> + <source>MicroPython:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="311"/> - <source>Enter the URL for the CircuitPython documentation</source> + <source>Enter the URL for the MicroPython documentation</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="318"/> - <source>BBC micro:bit:</source> + <source>CircuitPython:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="325"/> + <source>Enter the URL for the CircuitPython documentation</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="332"/> + <source>BBC micro:bit:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="339"/> <source>Enter the URL for the BBC micro:bit MicroPython documentation</source> <translation type="unfinished"></translation> </message> @@ -47563,6 +47563,21 @@ <source>Qt</source> <translation type="unfinished">Qt</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="346"/> + <source>Calliope mini:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="288"/> + <source>Enter the URL for the Callope mini Firmware</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/MicroPythonPage.ui" line="353"/> + <source>Enter the URL for the Calliope mini MicroPython documentation</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>MicroPythonProgressInfoDialog</name> @@ -47605,59 +47620,59 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="442"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="460"/> <source>Press to connect the selected device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="245"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="263"/> <source><h3>The QtSerialPort package is not available.<br/>MicroPython support is deactivated.</h3></source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../MicroPython/MicroPythonWidget.py" line="282"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="300"/> <source>%n supported device(s) detected.</source> <translation type="unfinished"> <numerusform></numerusform> </translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="288"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="306"/> <source>{0} at {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="296"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="314"/> <source>No supported devices detected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="412"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="430"/> <source>Clear</source> <translation type="unfinished">清除</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="414"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="432"/> <source>Copy</source> <translation type="unfinished">复制</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="415"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="433"/> <source>Paste</source> <translation type="unfinished">粘贴</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="437"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="455"/> <source>Press to disconnect the current device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="458"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="476"/> <source>No device attached</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="458"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="476"/> <source>Please ensure the device is plugged into your computer and selected. It must have a version of MicroPython (or CircuitPython) flashed onto it before anything will work. @@ -47666,217 +47681,217 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="485"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="503"/> <source>Start REPL</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="485"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="503"/> <source><p>The REPL cannot be started.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="875"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="893"/> <source>Serial Device Connect</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="875"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="893"/> <source><p>Cannot connect to device at serial port <b>{0}</b>.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="920"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="938"/> <source>Run Script</source> <translation type="unfinished">运行脚本</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="903"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="921"/> <source>There is no editor open. Abort...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="911"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="929"/> <source>The current editor does not contain a script. Abort...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="920"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="938"/> <source><p>Cannot run script.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="943"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="961"/> <source>Open Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="943"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="961"/> <source>Python3 Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="987"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1005"/> <source>Start Chart</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="987"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1005"/> <source><p>The Chart cannot be started.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1016"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1034"/> <source>Unsaved Chart Data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1016"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1034"/> <source>The chart contains unsaved data.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1067"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1085"/> <source>Start File Manager</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1067"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1085"/> <source><p>The File Manager cannot be started.</p><p>Reason: {0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1118"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1136"/> <source>Show Version</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1121"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1139"/> <source>Show Implementation</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1232"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1250"/> <source>Synchronize Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1129"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1147"/> <source>Show Device Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1132"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1150"/> <source>Show Local Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1443"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1461"/> <source>Compile Python File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1463"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1481"/> <source>Compile Current Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1170"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1188"/> <source><h3>Device Version Information</h3></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1179"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1197"/> <source>No version information available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1181"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1199"/> <source>Device Version Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1204"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1222"/> <source>unknown</source> <translation type="unfinished">未知</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1208"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1226"/> <source>Device Implementation Information</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1208"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1226"/> <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="1232"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1250"/> <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="1254"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1272"/> <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="1262"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1280"/> <source><h3>Device Date and Time</h3><p>{0}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1276"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1294"/> <source>Device Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1289"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1307"/> <source>Local Date and Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1289"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1307"/> <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="1356"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> <source>Error handling device</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1356"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1374"/> <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="1395"/> - <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="1413"/> + <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="1431"/> <source>Python Files (*.py);;All Files (*)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1423"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1441"/> <source>The Python file <b>{0}</b> does not exist. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1433"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1451"/> <source>'mpy-cross' Output</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1456"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1474"/> <source>The current editor does not contain a Python file. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="193"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="211"/> <source>MicroPython Menu</source> <translation type="unfinished"></translation> </message> @@ -47886,47 +47901,47 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1000"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1018"/> <source>µPy Chart</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1080"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1098"/> <source>µPy Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1156"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1174"/> <source>Show Documentation</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1160"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1178"/> <source>Configure</source> <translation type="unfinished">配置</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1135"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1153"/> <source>Show Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1152"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1170"/> <source>Download Firmware</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1332"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1350"/> <source>Date and Time</source> <translation type="unfinished">日期和时间</translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1315"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1333"/> <source><table><tr><th></th><th>Local Date and Time</th><th>Device Date and Time</th></tr><tr><td><b>Date</b></td><td align='center'>{0}</td><td align='center'>{2}</td></tr><tr><td><b>Time</b></td><td align='center'>{1}</td><td align='center'>{3}</td></tr></table></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicroPythonWidget.py" line="1332"/> + <location filename="../MicroPython/MicroPythonWidget.py" line="1350"/> <source><table><tr><th>Local Date and Time</th><th>Device Date and Time</th></tr><tr><td align='center'>{0} {1}</td><td align='center'>{2}</td></tr></table></source> <translation type="unfinished"></translation> </message> @@ -47934,85 +47949,90 @@ <context> <name>MicrobitDevice</name> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="67"/> + <location filename="../MicroPython/MicrobitDevices.py" line="74"/> <source>BBC micro:bit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> + <location filename="../MicroPython/MicrobitDevices.py" line="149"/> <source>Workspace Directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="134"/> - <source>Could not find an attached BBC micro:bit. + <location filename="../MicroPython/MicrobitDevices.py" line="186"/> + <source>Save Script as 'main.py'</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="188"/> + <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="241"/> + <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <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="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="314"/> + <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="241"/> + <source>Flash MicroPython Firmware</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="273"/> + <source>Save Script</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="303"/> + <source>Save Script as '{0}'</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="294"/> + <source>Enter a file name on the device:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="183"/> + <source>Save the current script to the selected device</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="77"/> + <source>Calliope mini</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="232"/> + <source>Could not find an attached {0}. Please make sure the device is plugged into this computer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../MicroPython/MicrobitDevices.py" line="171"/> - <source>Save Script as 'main.py'</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="173"/> - <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="177"/> - <source>Reset micro:bit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="201"/> - <source>MicroPython Firmware Files (*.hex);;All Files (*)</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="246"/> - <source>The script is empty. Aborting.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="236"/> - <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="274"/> - <source><p>The script could not be saved to the device.</p><p>Reason: {0}</p></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="201"/> - <source>Flash MicroPython Firmware</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="233"/> - <source>Save Script</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="190"/> - <source>The BBC micro:bit is not ready for flashing. See the <a href="https://microbit.org/guide/firmware/">micro:bit web site</a> for details.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="263"/> - <source>Save Script as '{0}'</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="254"/> - <source>Enter a file name on the device:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../MicroPython/MicrobitDevices.py" line="168"/> - <source>Save the current script to the selected device</source> + <location filename="../MicroPython/MicrobitDevices.py" line="192"/> + <source>Reset {0}</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../MicroPython/MicrobitDevices.py" line="213"/> + <source><p>The BBC micro:bit is not ready for flashing. Follow these instructions.</p><ul><li>unplug USB cable and any batteries</li><li>keep RESET button pressed an plug USB cable back in</li><li>a drive called MAINTENANCE should be available</li></ul><p>See the <a href="https://microbit.org/guide/firmware/">micro:bit web site</a> for details.</p></source> <translation type="unfinished"></translation> </message> </context> @@ -53386,17 +53406,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1634"/> + <location filename="../Preferences/__init__.py" line="1640"/> <source>Export Preferences</source> <translation>导出首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1662"/> + <location filename="../Preferences/__init__.py" line="1668"/> <source>Import Preferences</source> <translation>导入首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1662"/> + <location filename="../Preferences/__init__.py" line="1668"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>属性文件 (*.ini);;所有文件 (*)</translation> </message> @@ -87550,12 +87570,12 @@ <translation type="unfinished"> 秒</translation> </message> <message> - <location filename="../WebBrowser/WebBrowserPage.py" line="171"/> + <location filename="../WebBrowser/WebBrowserPage.py" line="172"/> <source>Suspicuous URL detected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../WebBrowser/WebBrowserPage.py" line="171"/> + <location filename="../WebBrowser/WebBrowserPage.py" line="172"/> <source><p>The URL <b>{0}</b> was found in the Safe Browsing database.</p>{1}</source> <translation type="unfinished"></translation> </message>