--- a/i18n/eric5_ru.ts Mon Apr 07 18:46:02 2014 +0200 +++ b/i18n/eric5_ru.ts Mon Apr 07 19:16:36 2014 +0200 @@ -37162,27 +37162,27 @@ <context> <name>Preferences</name> <message> - <location filename="../Preferences/__init__.py" line="1198"/> + <location filename="../Preferences/__init__.py" line="1199"/> <source>Export Preferences</source> <translation>Экспорт предпочтений</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1226"/> + <location filename="../Preferences/__init__.py" line="1227"/> <source>Import Preferences</source> <translation>Импорт предпочтений</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1226"/> + <location filename="../Preferences/__init__.py" line="1227"/> <source>Properties File (*.ini);;All Files (*)</source> <translation>Файлы свойств (*.ini);;Все файлы (*)</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1325"/> + <location filename="../Preferences/__init__.py" line="1326"/> <source>Select Python2 Interpreter</source> <translation>Выбрать интерпретатор Python 2</translation> </message> <message> - <location filename="../Preferences/__init__.py" line="1325"/> + <location filename="../Preferences/__init__.py" line="1326"/> <source>Select the Python2 interpreter to be used:</source> <translation>Выбрать интерпретатор Python 2 для использования:</translation> </message> @@ -56678,72 +56678,72 @@ <context> <name>TemplatePropertiesDialog</name> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="47"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="51"/> <source>All</source> <translation>Все</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="59"/> - <source>Language:</source> - <translation>Язык:</translation> - </message> - <message> <location filename="../Templates/TemplatePropertiesDialog.py" line="63"/> + <source>Language:</source> + <translation>Язык:</translation> + </message> + <message> + <location filename="../Templates/TemplatePropertiesDialog.py" line="67"/> <source>GROUP</source> <translation>ГРУППА</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="107"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="111"/> <source>Template Help</source> <translation>Помощь по шаблону</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="13"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="14"/> <source>Template Properties</source> <translation>Свойства шаблона</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="66"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="67"/> <source>Template:</source> <translation>Шаблон:</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="96"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="103"/> <source>&Help</source> <translation>&Помощь</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="99"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="106"/> <source>Alt+H</source> <translation>Alt+H</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="76"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="83"/> <source>Enter the text of the template</source> <translation>Задайте текст шаблона</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="24"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="25"/> <source>Name:</source> <translation>Имя:</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="52"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="53"/> <source>Group:</source> <translation>Группа:</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="95"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="99"/> <source>Close dialog</source> <translation>Закрыть диалог</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="95"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="99"/> <source>Do you really want to close the dialog?</source> <translation>Вы действительно хотите закрыть диалог?</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="79"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="86"/> <source><b>Template Text</b> <p>Enter the template text in this area. Every occurrence of $VAR$ will be replaced by the associated text when the template is applied. Predefined variables may be used in the template. The separator character might @@ -56754,27 +56754,27 @@ <p>Нажмите кнопку помощи для дополнительной информации.</p></translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="31"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="32"/> <source>Enter the name of the template/group. Templates are autocompleted upon this name.</source> <translation>Введите имя шаблона.</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="38"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="39"/> <source>Description:</source> <translation>Описание:</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.ui" line="45"/> + <location filename="../Templates/TemplatePropertiesDialog.ui" line="46"/> <source>Enter a description for the template</source> <translation>Введите описание шаблона</translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="35"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="39"/> <source><b>Template name<b><p>Enter the name of the template. Templates may be autocompleted upon this name. In order to support autocompletion. the template name must only consist of letters (a-z and A-Z), digits (0-9) and underscores (_).</p></source> <translation><b>Имя шаблона<b><p>Введите имя шаблона. Если имя состоит из букв, цифр и символов подчеркивания (a-z, A-Z, 0-9 и _), то будет возможно автозаполнение.</p></translation> </message> <message> - <location filename="../Templates/TemplatePropertiesDialog.py" line="107"/> + <location filename="../Templates/TemplatePropertiesDialog.py" line="111"/> <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><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>То же самое как ml, но вместо пробелов отступ заполняется текстом который предшествует данной переменной.</td></tr></table></p><p> В шаблонах можно использовать следующие предопределённые переменные:<table><tr><<td>date</td><td>Текущая дата в ИСО формате (YYYY-MM-DD)</td></tr><tr><td>year</td ><td>Текущий год</td></tr><tr><td>project_name</td><td>название проекта (если таковой имеются)</td></tr><tr><td>project_path</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><tr><td>cur_select</td><td>выбранный текст</td></tr><tr><td>insertion</td><td>Устанавливает курсор в данной позиции после того как шаблон будет реализован.</td></tr><tr><td>select_start</td><td>Устанавливает начало выделенного текста в шаблоне после того как шаблон будет вставлен (используется вместе с 'select_end').</td></tr><tr><td>select_end</td><td>Устанавливает конец выделенного текста в шаблон после того как шаблон будет вставлен (используется вместе с 'select_start').</td></tr><tr><td>clipboard</td><td>текст в буфере обмена</td></tr></table></p><p>Символ разделителя можно изменить в диалоге настроек.</p></translation> </message> @@ -56938,80 +56938,100 @@ <context> <name>TemplatesPage</name> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="36"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="37"/> <source>Groups</source> <translation>Группы</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="42"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="43"/> <source>Select, if groups having entries should be opened automatically</source> <translation>Должны ли непустые группы открываться автоматически</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="45"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="46"/> <source>Expand groups automatically</source> <translation>Автоматически разворачивать группы</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="55"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="56"/> <source>Variables</source> <translation>Переменные</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="63"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="64"/> <source>Separator:</source> <translation>Разделитель:</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="76"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="77"/> <source>Enter the character that encloses variables</source> <translation>Задайте символ, ограничивающий переменные</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="104"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="105"/> <source>Input method for variables</source> <translation>Метод ввода для переменных</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="110"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="111"/> <source>Select, if a new dialog should be opened for every template variable</source> <translation>Для каждой шаблонной переменной должен открываться диалог</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="113"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="114"/> <source>One dialog per template variable</source> <translation>Один диалог на шаблонную переменную</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="120"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="121"/> <source>Select, if only one dialog for all template variables should be shown</source> <translation>Для всех шаблонных переменных используется один диалог</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="123"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="124"/> <source>One dialog for all template variables</source> <translation>Один диалог для всех шаблонных переменных</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="136"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="137"/> <source>Tooltips</source> <translation>Всплывающие подсказки</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="142"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="143"/> <source>Select, if the template text should be shown in a tooltip</source> <translation>Должен ли во всплывающей подсказке показываться текст шаблона</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="145"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="146"/> <source>Show template text in tooltip</source> <translation>Показывать текст шаблона во всплывающей подсказке</translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="16"/> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="17"/> <source><b>Configure Templates</b></source> <translation><b>Настроить шаблоны</b></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="156"/> + <source>Template Editor</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="162"/> + <source>Press to select the font to be used for the code editor</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="165"/> + <source>Editor Font</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/TemplatesPage.ui" line="175"/> + <source>Template Code Editor</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Terminal</name>