--- a/eric6/i18n/eric6_zh_CN.ts Sun May 19 13:16:30 2019 +0200 +++ b/eric6/i18n/eric6_zh_CN.ts Sun May 19 13:18:38 2019 +0200 @@ -6995,56 +6995,61 @@ <source><b>Move Instruction Pointer to Cursor</b><p>Move the Python internal instruction pointer to the current cursor position without executing the code in between.</p><p>It's not possible to jump out of a function or jump in a code block, e.g. a loop. In these cases, a error message is printed to the log window.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Debugger/DebugUI.py" line="1308"/> + <source>No locals available.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>DebugViewer</name> <message> - <location filename="../Debugger/DebugViewer.py" line="143"/> + <location filename="../Debugger/DebugViewer.py" line="145"/> <source>Enter regular expression patterns separated by ';' to define variable filters. </source> <translation>输入正则表达式模块(模块间用“;”分隔)以定义变量过滤器。</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="147"/> + <location filename="../Debugger/DebugViewer.py" line="149"/> <source>Enter regular expression patterns separated by ';' to define variable filters. All variables and class attributes matched by one of the expressions are not shown in the list above.</source> <translation>输入正则表达式模块(模块间用“;”分隔)以定义变量过滤器。所有与表达式中的一个模块匹配的变量和类属性不会显示在以上列表中。</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="153"/> + <location filename="../Debugger/DebugViewer.py" line="155"/> <source>Set</source> <translation>设置</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="128"/> + <location filename="../Debugger/DebugViewer.py" line="130"/> <source>Source</source> <translation>源文件</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="224"/> + <location filename="../Debugger/DebugViewer.py" line="230"/> <source>Threads:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="226"/> + <location filename="../Debugger/DebugViewer.py" line="232"/> <source>ID</source> <translation>ID</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="226"/> + <location filename="../Debugger/DebugViewer.py" line="232"/> <source>Name</source> <translation>名称</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="226"/> + <location filename="../Debugger/DebugViewer.py" line="232"/> <source>State</source> <translation>状态</translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="458"/> + <location filename="../Debugger/DebugViewer.py" line="464"/> <source>waiting at breakpoint</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Debugger/DebugViewer.py" line="460"/> + <location filename="../Debugger/DebugViewer.py" line="466"/> <source>running</source> <translation>运行中</translation> </message> @@ -7294,17 +7299,17 @@ <translation>自动保存已更改的脚本</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="266"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="279"/> <source>Add allowed host</source> <translation>添加允许的主机</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="288"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="301"/> <source>Enter the IP address of an allowed host</source> <translation>输入允许主机的 IP 地址</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="299"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="312"/> <source>Edit allowed host</source> <translation>编辑允许的主机</translation> </message> @@ -7359,22 +7364,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="299"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="312"/> <source><p>The entered address <b>{0}</b> is not a valid IP v4 or IP v6 address. Aborting...</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="627"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="748"/> <source>Local Variables Viewer</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="633"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="754"/> <source>Automatically view source code when user changes the callstack frame in the callstack viewer.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="636"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="757"/> <source>Automatically view source code</source> <translation type="unfinished"></translation> </message> @@ -7389,22 +7394,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="580"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="583"/> <source>Max. Variable Size:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="587"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="590"/> <source>Enter the maximum size of a variable to be shown (0 = no limit)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="593"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="596"/> <source>no limit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="599"/> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="602"/> <source> Bytes</source> <translation type="unfinished"></translation> </message> @@ -7460,6 +7465,31 @@ <source>Select, if the debugger should be run remotely</source> <translation type="unfinished">选择是否远程运行调试器</translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="630"/> + <source>Background Colours</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="659"/> + <source>Select the background colour for changed items.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="695"/> + <source>Select the background colour for elements which are loaded for the first time.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="669"/> + <source>Changed elements:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.ui" line="676"/> + <source>First time opened elements:</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>DebuggerInterfacePython</name> @@ -52043,17 +52073,17 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1730"/> + <location filename="../Preferences/__init__.py" line="1732"/> <source>Export Preferences</source> <translation>导出首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1758"/> + <location filename="../Preferences/__init__.py" line="1760"/> <source>Import Preferences</source> <translation>导入首选项</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1758"/> + <location filename="../Preferences/__init__.py" line="1760"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>属性文件 (*.ini);;所有文件 (*)</translation> </message> @@ -52072,6 +52102,14 @@ </message> </context> <context> + <name>PreviewModel</name> + <message> + <location filename="../Preferences/ConfigurationPages/DebuggerGeneralPage.py" line="428"/> + <source>Variable Name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>PreviewProcessingThread</name> <message> <location filename="../UI/Previewers/PreviewerHTML.py" line="498"/> @@ -79307,7 +79345,7 @@ <message> <location filename="../Debugger/Config.py" line="51"/> <source>Other</source> - <translation>其它</translation> + <translation type="obsolete">其它</translation> </message> <message> <location filename="../Debugger/Config.py" line="32"/> @@ -79319,6 +79357,11 @@ <source>Frozen Set</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Debugger/Config.py" line="51"/> + <source>Bytes</source> + <translation type="unfinished">字节</translation> + </message> </context> <context> <name>VariableDetailDialog</name> @@ -79346,14 +79389,32 @@ <context> <name>VariableItem</name> <message> - <location filename="../Debugger/VariablesViewer.py" line="56"/> + <location filename="../Debugger/VariablesViewer.py" line="208"/> <source><double click to show value></source> <translation><double click to show value></translation> </message> - <message> - <location filename="../Debugger/VariablesViewer.py" line="60"/> - <source><variable value is too big></source> - <translation type="unfinished"></translation> +</context> +<context> + <name>VariableModel</name> + <message> + <location filename="../Debugger/VariablesViewer.py" line="277"/> + <source>Globals</source> + <translation type="obsolete">全局</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="279"/> + <source>Locals</source> + <translation type="obsolete">局部</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="281"/> + <source>Type</source> + <translation type="obsolete">类型</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="281"/> + <source>Value</source> + <translation type="obsolete">值</translation> </message> </context> <context> @@ -79416,67 +79477,115 @@ </message> </context> <context> + <name>VariablesModel</name> + <message> + <location filename="../Debugger/VariablesViewer.py" line="279"/> + <source>Globals</source> + <translation type="unfinished">全局</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="281"/> + <source>Locals</source> + <translation type="unfinished">局部</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="283"/> + <source>Type</source> + <translation type="unfinished">类型</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="283"/> + <source>Value</source> + <translation type="unfinished">值</translation> + </message> +</context> +<context> <name>VariablesViewer</name> <message> - <location filename="../Debugger/VariablesViewer.py" line="360"/> + <location filename="../Debugger/VariablesViewer.py" line="952"/> <source>Global Variables</source> <translation>全局变量</translation> </message> <message> <location filename="../Debugger/VariablesViewer.py" line="361"/> <source>Globals</source> - <translation>全局</translation> + <translation type="obsolete">全局</translation> </message> <message> <location filename="../Debugger/VariablesViewer.py" line="372"/> <source>Value</source> - <translation>值</translation> + <translation type="obsolete">值</translation> </message> <message> <location filename="../Debugger/VariablesViewer.py" line="372"/> <source>Type</source> - <translation>类型</translation> - </message> - <message> - <location filename="../Debugger/VariablesViewer.py" line="365"/> + <translation type="obsolete">类型</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="953"/> <source><b>The Global Variables Viewer Window</b><p>This window displays the global variables of the debugged program.</p></source> <translation><b>全局变量浏览器窗口</b><p>该窗口显示调试程序的全局变量。</p></translation> </message> <message> - <location filename="../Debugger/VariablesViewer.py" line="371"/> + <location filename="../Debugger/VariablesViewer.py" line="959"/> <source>Local Variables</source> <translation>局部变量</translation> </message> <message> <location filename="../Debugger/VariablesViewer.py" line="372"/> <source>Locals</source> - <translation>局部</translation> - </message> - <message> - <location filename="../Debugger/VariablesViewer.py" line="376"/> + <translation type="obsolete">局部</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="960"/> <source><b>The Local Variables Viewer Window</b><p>This window displays the local variables of the debugged program.</p></source> <translation><b>局部变量浏览器窗口</b><p>该窗口显示高度程序的局部变量。</p></translation> </message> <message> - <location filename="../Debugger/VariablesViewer.py" line="407"/> + <location filename="../Debugger/VariablesViewer.py" line="1077"/> <source>Show Details...</source> <translation>显示细节…</translation> </message> <message> - <location filename="../Debugger/VariablesViewer.py" line="415"/> + <location filename="../Debugger/VariablesViewer.py" line="1092"/> <source>Configure...</source> <translation>配置…</translation> </message> <message> - <location filename="../Debugger/VariablesViewer.py" line="635"/> + <location filename="../Debugger/VariablesViewer.py" line="52"/> <source>{0} items</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Debugger/VariablesViewer.py" line="413"/> + <location filename="../Debugger/VariablesViewer.py" line="1090"/> <source>Refresh</source> <translation type="unfinished">刷新</translation> </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="1078"/> + <source>Collapse all</source> + <translation type="obsolete">折叠所有</translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="1079"/> + <source>Expand</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="1080"/> + <source>Collapse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="1081"/> + <source>Collapse All</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Debugger/VariablesViewer.py" line="1093"/> + <source>Variables Type Filter...</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>VcsCommandOptionsDialog</name>