--- a/i18n/eric5_zh_CN.GB2312.ts Sun Feb 07 14:18:01 2010 +0000 +++ b/i18n/eric5_zh_CN.GB2312.ts Mon Feb 08 18:16:15 2010 +0000 @@ -20104,12 +20104,12 @@ <context> <name>Preferences</name> <message> - <location filename="Preferences/__init__.py" line="822"/> + <location filename="Preferences/__init__.py" line="816"/> <source>Export Preferences</source> <translation>导出首选项</translation> </message> <message> - <location filename="Preferences/__init__.py" line="841"/> + <location filename="Preferences/__init__.py" line="835"/> <source>Import Preferences</source> <translation>导入首选项</translation> </message> @@ -33341,7 +33341,12 @@ <message> <location filename="Templates/TemplatePropertiesDialog.py" line="109"/> <source><p>To use variables in a template, you just have to enclose the variablename with $-characters. When you use the template, you will then be asked for a value for this variable.</p><p>Example template: This is a $VAR$</p><p>When you use this template you will be prompted for a value for the variable $VAR$. Any occurrences of $VAR$ will then be replaced with whatever you've entered.</p><p>If you need a single $-character in a template, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the template.</p><p>If you want a variables contents to be treated specially, the variablename must be followed by a ':' and one formatting specifier (e.g. $VAR:ml$). The supported specifiers are:<table><tr><td>ml</td><td>Specifies a multiline formatting. The first line of the variable contents is prefixed with the string occuring before the variable on the same line of the template. All other lines are prefixed by the same amount of whitespace as the line containing the variable.</td></tr><tr><td>rl</td><td>Specifies a repeated line formatting. Each line of the variable contents is prefixed with the string occuring before the variable on the same line of the template.</td></tr></table></p><p>The following predefined variables may be used in a template:<table><tr><td>date</td><td>today's date in ISO format (YYYY-MM-DD)</td></tr><tr><td>year</td><td>the current year</td></tr><tr><td>project_name</td><td>the name of the project (if any)</td></tr><tr><td>path_name</td><td>full path of the current file</td></tr><tr><td>dir_name</td><td>full path of the parent directory</td></tr><tr><td>file_name</td><td>the current file name (without directory)</td></tr><tr><td>base_name</td><td>like <i>file_name</i>, but without extension</td></tr><tr><td>ext</td><td>the extension of the current file</td></tr></table></p><p>If you want to change the default delimiter to anything different, please use the configuration dialog to do so.</p></source> - <translation><p>要在模板中使用变量,只需在变量名两边使用“$”符号即可。在使用模板时,将提示输入该变量的值。</p><p>模板实例:这是一个 $VAR$</p><p>在使用该模板时,将提示为 $VAR$ 输入一个值。任何出现 $VAR$ 的地方随后都将被你输入的内容替换。</p><p>如果在模板中需要单个“$”字符而不是用于标记变量,只需输入 $$(两个美元符号)即可。在使用模板时,它们自动被单个“$”字符替换。</p><p>如果希望对变量内容进行特殊处理,则变量名后必须紧跟一个“:”和一个格式化分类符(如:$VAR:ml$)。支持的分类符有:<table><tr><td>ml</td><td>指定一个多行格式。变量内容的第一行最前面将加上变量在模板相同行之前出现的字符串。所有其它各行前面将加上相同数量的空格,与包含变量的行一样。</td></tr><tr><td>rl</td><td>指定一个重复行模式。在变量内容的每一行前面都将加上变量在模板相同行之前出现的字符串。</td></tr></table></p><p>在模板中可以使用以下预定义变量:<table><tr><td>date</td><td>ISO 格式的当天日期(年-月-日)</td></tr><tr><td>year</td><td>当年</td></tr><tr><td>project_name</td><td>项目名称(如果有的话)</td></tr><tr><td>path_name</td><td>当前文件的完整路径</td></tr><tr><td>dir_name</td><td>当前文件夹的完整路径</td></tr><tr><td>file_name</td><td>当前文件名(不包含文件夹)</td></tr><tr><td>base_name</td><td>与 <i>file_name</i> 相同,但不包含扩展名</td></tr><tr><td>ext</td><td>当前文件的扩展名</td></tr></table></p><p>若要将默认的定义符号改变为其它内容,请使用配置对话框进行设置。</p></translation> + <translation type="obsolete"><p>要在模板中使用变量,只需在变量名两边使用“$”符号即可。在使用模板时,将提示输入该变量的值。</p><p>模板实例:这是一个 $VAR$</p><p>在使用该模板时,将提示为 $VAR$ 输入一个值。任何出现 $VAR$ 的地方随后都将被你输入的内容替换。</p><p>如果在模板中需要单个“$”字符而不是用于标记变量,只需输入 $$(两个美元符号)即可。在使用模板时,它们自动被单个“$”字符替换。</p><p>如果希望对变量内容进行特殊处理,则变量名后必须紧跟一个“:”和一个格式化分类符(如:$VAR:ml$)。支持的分类符有:<table><tr><td>ml</td><td>指定一个多行格式。变量内容的第一行最前面将加上变量在模板相同行之前出现的字符串。所有其它各行前面将加上相同数量的空格,与包含变量的行一样。</td></tr><tr><td>rl</td><td>指定一个重复行模式。在变量内容的每一行前面都将加上变量在模板相同行之前出现的字符串。</td></tr></table></p><p>在模板中可以使用以下预定义变量:<table><tr><td>date</td><td>ISO 格式的当天日期(年-月-日)</td></tr><tr><td>year</td><td>当年</td></tr><tr><td>project_name</td><td>项目名称(如果有的话)</td></tr><tr><td>path_name</td><td>当前文件的完整路径</td></tr><tr><td>dir_name</td><td>当前文件夹的完整路径</td></tr><tr><td>file_name</td><td>当前文件名(不包含文件夹)</td></tr><tr><td>base_name</td><td>与 <i>file_name</i> 相同,但不包含扩展名</td></tr><tr><td>ext</td><td>当前文件的扩展名</td></tr></table></p><p>若要将默认的定义符号改变为其它内容,请使用配置对话框进行设置。</p></translation> + </message> + <message> + <location filename="Templates/TemplatePropertiesDialog.py" line="109"/> + <source><p>To use variables in a template, you just have to enclose the variablename with $-characters. When you use the template, you will then be asked for a value for this variable.</p><p>Example template: This is a $VAR$</p><p>When you use this template you will be prompted for a value for the variable $VAR$. Any occurrences of $VAR$ will then be replaced with whatever you've entered.</p><p>If you need a single $-character in a template, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the template.</p><p>If you want a variables contents to be treated specially, the variablename must be followed by a ':' and one formatting specifier (e.g. $VAR:ml$). The supported specifiers are:<table><tr><td>ml</td><td>Specifies a multiline formatting. The first line of the variable contents is prefixed with the string occurring before the variable on the same line of the template. All other lines are prefixed by the same amount of whitespace as the line containing the variable.</td></tr><tr><td>rl</td><td>Specifies a repeated line formatting. Each line of the variable contents is prefixed with the string occuring before the variable on the same line of the template.</td></tr></table></p><p>The following predefined variables may be used in a template:<table><tr><td>date</td><td>today's date in ISO format (YYYY-MM-DD)</td></tr><tr><td>year</td><td>the current year</td></tr><tr><td>project_name</td><td>the name of the project (if any)</td></tr><tr><td>project_path</td><td>the path of the project (if any)</td></tr><tr><td>path_name</td><td>full path of the current file</td></tr><tr><td>dir_name</td><td>full path of the parent directory</td></tr><tr><td>file_name</td><td>the current file name (without directory)</td></tr><tr><td>base_name</td><td>like <i>file_name</i>, but without extension</td></tr><tr><td>ext</td><td>the extension of the current file</td></tr><tr><td>cur_select</td><td>the currently selected text</td></tr><tr><td>insertion</td><td>Sets insertion point for cursor after template is inserted.</td></tr><tr><td>select_start</td><td>Sets span of selected text in template after template is inserted (used together with 'select_end').</td></tr><tr><td>select_end</td><td>Sets span of selected text in template after template is inserted (used together with 'select_start').</td></tr><tr><td>clipboard</td><td>the text of the clipboard</td></tr></table></p><p>If you want to change the default delimiter to anything different, please use the configuration dialog to do so.</p></source> + <translation type="unfinished"></translation> </message> </context> <context> @@ -33455,7 +33460,7 @@ <translation type="obsolete"><p><b>模板组</b> 表示成组的单个模板。组具有一个特殊属性,应用于编程语言。要添加模板条目,至少须要定义一个组。</p><p><b>模板条目</b> 就是实际的模板。模板条目以模板组进行分组。关于如何进行定义的帮助可以在模板编辑对话框中找到。在安装 Eric4 的 Examples 子文件夹中也可以找到模板的范例。</p></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="712"/> + <location filename="Templates/TemplateViewer.py" line="776"/> <source>Edit Template Group</source> <translation>编辑模板组</translation> </message> @@ -33465,7 +33470,7 @@ <translation type="obsolete"><p>具有名称 <b>%1</b> 的模板组已存在。</p></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="807"/> + <location filename="Templates/TemplateViewer.py" line="871"/> <source>Save templates</source> <translation>保存模板</translation> </message> @@ -33475,7 +33480,7 @@ <translation type="obsolete"><p>无法写入模板文件 <b>%1</b> 。</p></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="867"/> + <location filename="Templates/TemplateViewer.py" line="931"/> <source>Read templates</source> <translation>写入模板</translation> </message> @@ -33500,22 +33505,22 @@ <translation type="unfinished"><p><b>模板组</b> 表示成组的单个模板。组具有一个特殊属性,应用于编程语言。要添加模板条目,至少须要定义一个组。</p><p><b>模板条目</b> 就是实际的模板。模板条目以模板组进行分组。关于如何进行定义的帮助可以在模板编辑对话框中找到。在安装 Eric4 的 Examples 子文件夹中也可以找到模板的范例。</p> {5 ?}</translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="712"/> + <location filename="Templates/TemplateViewer.py" line="776"/> <source><p>A template group with the name <b>{0}</b> already exists.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="807"/> + <location filename="Templates/TemplateViewer.py" line="871"/> <source><p>The templates file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="857"/> + <location filename="Templates/TemplateViewer.py" line="921"/> <source><p>The templates file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Templates/TemplateViewer.py" line="867"/> + <location filename="Templates/TemplateViewer.py" line="931"/> <source><p>The templates file <b>{0}</b> has an unsupported format.</p></source> <translation type="unfinished"></translation> </message> @@ -34553,7 +34558,8 @@ <location filename="Project/TranslationPropertiesDialog.ui" line="85"/> <source>&Translation Path Pattern: (Use '%language%' where the language code should be inserted, e.g. i18n/eric5_%language%.ts)</source> - <translation type="unfinished"></translation> + <translation type="unfinished">翻译路径模式(&T): +(在要插入语言代码的地方使用“%language%”,如:i18n/eric4_%language%.ts) {18n?} {5_?}</translation> </message> <message> <location filename="Project/TranslationPropertiesDialog.py" line="58"/> @@ -41703,12 +41709,12 @@ <context> <name>eric5</name> <message> - <location filename="eric5.py" line="227"/> + <location filename="eric5.py" line="221"/> <source>Importing packages...</source> <translation type="unfinished">正在导入程序包……</translation> </message> <message> - <location filename="eric5.py" line="232"/> + <location filename="eric5.py" line="226"/> <source>Generating Main Window...</source> <translation type="unfinished">正在产生主窗口……</translation> </message>