Core API updated: latexmk_path -> latexmk_pl_path, Perl path added (win32).

This commit is contained in:
Kolan Sh 2016-08-02 16:36:07 +03:00
parent 39763a96b1
commit faf2f8d57e
7 changed files with 160 additions and 117 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: laview-desktop\n" "Project-Id-Version: laview-desktop\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-08 02:06+0300\n" "POT-Creation-Date: 2016-06-23 23:02+0300\n"
"PO-Revision-Date: 2015-10-24 20:19+0300\n" "PO-Revision-Date: 2015-10-24 20:19+0300\n"
"Last-Translator: <backbone@backbone.ws>\n" "Last-Translator: <backbone@backbone.ws>\n"
"Language-Team: German\n" "Language-Team: German\n"
@ -25,7 +25,7 @@ msgstr ""
msgid "It is too lazy to select a directory each time..." msgid "It is too lazy to select a directory each time..."
msgstr "" msgstr ""
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14 #: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:15
msgid "LAview Desktop" msgid "LAview Desktop"
msgstr "" msgstr ""
@ -33,10 +33,10 @@ msgstr ""
msgid "We're ready, Commander! Select or create a template. :-)" msgid "We're ready, Commander! Select or create a template. :-)"
msgstr "" msgstr ""
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:176 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:184
#: src/MainWindow.vala:204 src/MainWindow.vala:216 src/MainWindow.vala:232 #: src/MainWindow.vala:211 src/MainWindow.vala:222 src/MainWindow.vala:237
#: src/MainWindow.vala:250 src/MainWindow.vala:288 src/MainWindow.vala:356 #: src/MainWindow.vala:255 src/MainWindow.vala:298 src/MainWindow.vala:366
#: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64 #: src/SubprocessDialog.vala:53 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83 #: src/main.vala:83
msgid "Error: " msgid "Error: "
msgstr "" msgstr ""
@ -45,7 +45,7 @@ msgstr ""
msgid "Select templates" msgid "Select templates"
msgstr "" msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:316 #: src/MainWindow.vala:92 src/MainWindow.vala:326
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr ""
@ -53,47 +53,47 @@ msgstr ""
msgid "_Open" msgid "_Open"
msgstr "" msgstr ""
#: src/MainWindow.vala:170 #: src/MainWindow.vala:178
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "" msgstr ""
#: src/MainWindow.vala:172 #: src/MainWindow.vala:180
msgid "Select an object first." msgid "Select an object first."
msgstr "" msgstr ""
#: src/MainWindow.vala:228 #: src/MainWindow.vala:233
msgid "=== Print to PDF file... ===\n" msgid "=== Print to PDF file... ===\n"
msgstr "" msgstr ""
#: src/MainWindow.vala:294 #: src/MainWindow.vala:304
msgid "Document analized, select an object and set it's properties." msgid "Document analized, select an object and set it's properties."
msgstr "" msgstr ""
#: src/MainWindow.vala:299 #: src/MainWindow.vala:309
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "" msgstr ""
#: src/MainWindow.vala:310 #: src/MainWindow.vala:320
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "" msgstr ""
#: src/MainWindow.vala:314 #: src/MainWindow.vala:324
msgid "Select destination" msgid "Select destination"
msgstr "" msgstr ""
#: src/MainWindow.vala:317 #: src/MainWindow.vala:327
msgid "_Save" msgid "_Save"
msgstr "" msgstr ""
#: src/MainWindow.vala:349 #: src/MainWindow.vala:359
msgid "bytes of" msgid "bytes of"
msgstr "" msgstr ""
#: src/MainWindow.vala:350 #: src/MainWindow.vala:360
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "" msgstr ""
#: src/MainWindow.vala:353 #: src/MainWindow.vala:363
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "" msgstr ""
@ -105,7 +105,7 @@ msgstr ""
msgid "File " msgid "File "
msgstr "" msgstr ""
#: src/SubprocessDialog.vala:38 #: src/SubprocessDialog.vala:48
msgid "Error running subprocess." msgid "Error running subprocess."
msgstr "" msgstr ""
@ -151,77 +151,81 @@ msgid "LyX path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:10 #: ui/glade/laview-desktop.glade.h:10
msgid "LaTeXmk path on Windows" msgid "LaTeXmk.pl path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:11 #: ui/glade/laview-desktop.glade.h:11
msgid "Common" msgid "Perl path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:12 #: ui/glade/laview-desktop.glade.h:12
msgid "Object plugins" msgid "Common"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:13 #: ui/glade/laview-desktop.glade.h:13
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:14
msgid "Data plugins" msgid "Data plugins"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:16
msgid "_Application" msgid "_Application"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:16 #: ui/glade/laview-desktop.glade.h:17
msgid "_Help" msgid "_Help"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:17 #: ui/glade/laview-desktop.glade.h:18
msgid "Create a new template" msgid "Create a new template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:18 #: ui/glade/laview-desktop.glade.h:19
msgid "Open a template" msgid "Open a template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:19 #: ui/glade/laview-desktop.glade.h:20
msgid "Change selected template" msgid "Change selected template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:20 #: ui/glade/laview-desktop.glade.h:21
msgid "Delete selected template" msgid "Delete selected template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:21 #: ui/glade/laview-desktop.glade.h:22
msgid "Document object preparing" msgid "Document object preparing"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:22 #: ui/glade/laview-desktop.glade.h:23
msgid "View and print the document" msgid "View and print the document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:23 #: ui/glade/laview-desktop.glade.h:24
msgid "Edit the result document" msgid "Edit the result document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:24 #: ui/glade/laview-desktop.glade.h:25
msgid "Save the document as..." msgid "Save the document as..."
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:25 #: ui/glade/laview-desktop.glade.h:26
msgid "Application preferences" msgid "Application preferences"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:26 #: ui/glade/laview-desktop.glade.h:27
msgid "Help and reference" msgid "Help and reference"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:27 #: ui/glade/laview-desktop.glade.h:28
msgid "Close the application" msgid "Close the application"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:28 #: ui/glade/laview-desktop.glade.h:29
msgid "Templates" msgid "Templates"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:29 #: ui/glade/laview-desktop.glade.h:30
msgid "Document Objects" msgid "Document Objects"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: laview-desktop\n" "Project-Id-Version: laview-desktop\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-08 02:06+0300\n" "POT-Creation-Date: 2016-06-23 23:02+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -25,7 +25,7 @@ msgstr ""
msgid "It is too lazy to select a directory each time..." msgid "It is too lazy to select a directory each time..."
msgstr "" msgstr ""
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14 #: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:15
msgid "LAview Desktop" msgid "LAview Desktop"
msgstr "" msgstr ""
@ -33,10 +33,10 @@ msgstr ""
msgid "We're ready, Commander! Select or create a template. :-)" msgid "We're ready, Commander! Select or create a template. :-)"
msgstr "" msgstr ""
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:176 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:184
#: src/MainWindow.vala:204 src/MainWindow.vala:216 src/MainWindow.vala:232 #: src/MainWindow.vala:211 src/MainWindow.vala:222 src/MainWindow.vala:237
#: src/MainWindow.vala:250 src/MainWindow.vala:288 src/MainWindow.vala:356 #: src/MainWindow.vala:255 src/MainWindow.vala:298 src/MainWindow.vala:366
#: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64 #: src/SubprocessDialog.vala:53 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83 #: src/main.vala:83
msgid "Error: " msgid "Error: "
msgstr "" msgstr ""
@ -45,7 +45,7 @@ msgstr ""
msgid "Select templates" msgid "Select templates"
msgstr "" msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:316 #: src/MainWindow.vala:92 src/MainWindow.vala:326
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr ""
@ -53,47 +53,47 @@ msgstr ""
msgid "_Open" msgid "_Open"
msgstr "" msgstr ""
#: src/MainWindow.vala:170 #: src/MainWindow.vala:178
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "" msgstr ""
#: src/MainWindow.vala:172 #: src/MainWindow.vala:180
msgid "Select an object first." msgid "Select an object first."
msgstr "" msgstr ""
#: src/MainWindow.vala:228 #: src/MainWindow.vala:233
msgid "=== Print to PDF file... ===\n" msgid "=== Print to PDF file... ===\n"
msgstr "" msgstr ""
#: src/MainWindow.vala:294 #: src/MainWindow.vala:304
msgid "Document analized, select an object and set it's properties." msgid "Document analized, select an object and set it's properties."
msgstr "" msgstr ""
#: src/MainWindow.vala:299 #: src/MainWindow.vala:309
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "" msgstr ""
#: src/MainWindow.vala:310 #: src/MainWindow.vala:320
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "" msgstr ""
#: src/MainWindow.vala:314 #: src/MainWindow.vala:324
msgid "Select destination" msgid "Select destination"
msgstr "" msgstr ""
#: src/MainWindow.vala:317 #: src/MainWindow.vala:327
msgid "_Save" msgid "_Save"
msgstr "" msgstr ""
#: src/MainWindow.vala:349 #: src/MainWindow.vala:359
msgid "bytes of" msgid "bytes of"
msgstr "" msgstr ""
#: src/MainWindow.vala:350 #: src/MainWindow.vala:360
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "" msgstr ""
#: src/MainWindow.vala:353 #: src/MainWindow.vala:363
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "" msgstr ""
@ -105,7 +105,7 @@ msgstr ""
msgid "File " msgid "File "
msgstr "" msgstr ""
#: src/SubprocessDialog.vala:38 #: src/SubprocessDialog.vala:48
msgid "Error running subprocess." msgid "Error running subprocess."
msgstr "" msgstr ""
@ -151,77 +151,81 @@ msgid "LyX path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:10 #: ui/glade/laview-desktop.glade.h:10
msgid "LaTeXmk path on Windows" msgid "LaTeXmk.pl path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:11 #: ui/glade/laview-desktop.glade.h:11
msgid "Common" msgid "Perl path on Windows"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:12 #: ui/glade/laview-desktop.glade.h:12
msgid "Object plugins" msgid "Common"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:13 #: ui/glade/laview-desktop.glade.h:13
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:14
msgid "Data plugins" msgid "Data plugins"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:16
msgid "_Application" msgid "_Application"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:16 #: ui/glade/laview-desktop.glade.h:17
msgid "_Help" msgid "_Help"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:17 #: ui/glade/laview-desktop.glade.h:18
msgid "Create a new template" msgid "Create a new template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:18 #: ui/glade/laview-desktop.glade.h:19
msgid "Open a template" msgid "Open a template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:19 #: ui/glade/laview-desktop.glade.h:20
msgid "Change selected template" msgid "Change selected template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:20 #: ui/glade/laview-desktop.glade.h:21
msgid "Delete selected template" msgid "Delete selected template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:21 #: ui/glade/laview-desktop.glade.h:22
msgid "Document object preparing" msgid "Document object preparing"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:22 #: ui/glade/laview-desktop.glade.h:23
msgid "View and print the document" msgid "View and print the document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:23 #: ui/glade/laview-desktop.glade.h:24
msgid "Edit the result document" msgid "Edit the result document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:24 #: ui/glade/laview-desktop.glade.h:25
msgid "Save the document as..." msgid "Save the document as..."
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:25 #: ui/glade/laview-desktop.glade.h:26
msgid "Application preferences" msgid "Application preferences"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:26 #: ui/glade/laview-desktop.glade.h:27
msgid "Help and reference" msgid "Help and reference"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:27 #: ui/glade/laview-desktop.glade.h:28
msgid "Close the application" msgid "Close the application"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:28 #: ui/glade/laview-desktop.glade.h:29
msgid "Templates" msgid "Templates"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:29 #: ui/glade/laview-desktop.glade.h:30
msgid "Document Objects" msgid "Document Objects"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: laview-desktop\n" "Project-Id-Version: laview-desktop\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-08 02:06+0300\n" "POT-Creation-Date: 2016-06-23 23:02+0300\n"
"PO-Revision-Date: 2015-10-24 20:19+0300\n" "PO-Revision-Date: 2015-10-24 20:19+0300\n"
"Last-Translator: <backbone@backbone.ws>\n" "Last-Translator: <backbone@backbone.ws>\n"
"Language-Team: Russian\n" "Language-Team: Russian\n"
@ -26,7 +26,7 @@ msgstr "Директория для сохранения pdf файлов (по
msgid "It is too lazy to select a directory each time..." msgid "It is too lazy to select a directory each time..."
msgstr "Слишком лениво выбирать каждый раз директорию для сохранения..." msgstr "Слишком лениво выбирать каждый раз директорию для сохранения..."
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14 #: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:15
msgid "LAview Desktop" msgid "LAview Desktop"
msgstr "Рабочее окно LAview" msgstr "Рабочее окно LAview"
@ -34,10 +34,10 @@ msgstr "Рабочее окно LAview"
msgid "We're ready, Commander! Select or create a template. :-)" msgid "We're ready, Commander! Select or create a template. :-)"
msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)" msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)"
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:176 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:184
#: src/MainWindow.vala:204 src/MainWindow.vala:216 src/MainWindow.vala:232 #: src/MainWindow.vala:211 src/MainWindow.vala:222 src/MainWindow.vala:237
#: src/MainWindow.vala:250 src/MainWindow.vala:288 src/MainWindow.vala:356 #: src/MainWindow.vala:255 src/MainWindow.vala:298 src/MainWindow.vala:366
#: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64 #: src/SubprocessDialog.vala:53 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83 #: src/main.vala:83
msgid "Error: " msgid "Error: "
msgstr "Ошибка: " msgstr "Ошибка: "
@ -46,7 +46,7 @@ msgstr "Ошибка: "
msgid "Select templates" msgid "Select templates"
msgstr "Выберите шаблоны" msgstr "Выберите шаблоны"
#: src/MainWindow.vala:92 src/MainWindow.vala:316 #: src/MainWindow.vala:92 src/MainWindow.vala:326
msgid "_Cancel" msgid "_Cancel"
msgstr "_Отмена" msgstr "_Отмена"
@ -54,47 +54,47 @@ msgstr "_Отмена"
msgid "_Open" msgid "_Open"
msgstr "_Открыть" msgstr "_Открыть"
#: src/MainWindow.vala:170 #: src/MainWindow.vala:178
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "После компоновки всех объектов напечатайте документ." msgstr "После компоновки всех объектов напечатайте документ."
#: src/MainWindow.vala:172 #: src/MainWindow.vala:180
msgid "Select an object first." msgid "Select an object first."
msgstr "Сначала выберите объект." msgstr "Сначала выберите объект."
#: src/MainWindow.vala:228 #: src/MainWindow.vala:233
msgid "=== Print to PDF file... ===\n" msgid "=== Print to PDF file... ===\n"
msgstr "=== Печать в PDF файл... ===\n" msgstr "=== Печать в PDF файл... ===\n"
#: src/MainWindow.vala:294 #: src/MainWindow.vala:304
msgid "Document analized, select an object and set it's properties." msgid "Document analized, select an object and set it's properties."
msgstr "Документ проанализирован, выберите объект и установите его свойства." msgstr "Документ проанализирован, выберите объект и установите его свойства."
#: src/MainWindow.vala:299 #: src/MainWindow.vala:309
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "Нажмите кнопку 'Свойства' для компоновки объекта." msgstr "Нажмите кнопку 'Свойства' для компоновки объекта."
#: src/MainWindow.vala:310 #: src/MainWindow.vala:320
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "Сначала подготовьте документ! >;-]" msgstr "Сначала подготовьте документ! >;-]"
#: src/MainWindow.vala:314 #: src/MainWindow.vala:324
msgid "Select destination" msgid "Select destination"
msgstr "Выберите назначение" msgstr "Выберите назначение"
#: src/MainWindow.vala:317 #: src/MainWindow.vala:327
msgid "_Save" msgid "_Save"
msgstr "_Сохранить" msgstr "_Сохранить"
#: src/MainWindow.vala:349 #: src/MainWindow.vala:359
msgid "bytes of" msgid "bytes of"
msgstr "байт из" msgstr "байт из"
#: src/MainWindow.vala:350 #: src/MainWindow.vala:360
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "байт скопировано/сохранено" msgstr "байт скопировано/сохранено"
#: src/MainWindow.vala:353 #: src/MainWindow.vala:363
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "Операция сохранения/копирования завершена! :-)" msgstr "Операция сохранения/копирования завершена! :-)"
@ -106,7 +106,7 @@ msgstr " не найден"
msgid "File " msgid "File "
msgstr "Файл " msgstr "Файл "
#: src/SubprocessDialog.vala:38 #: src/SubprocessDialog.vala:48
msgid "Error running subprocess." msgid "Error running subprocess."
msgstr "Ошибка запуска подпроцесса." msgstr "Ошибка запуска подпроцесса."
@ -152,77 +152,81 @@ msgid "LyX path on Windows"
msgstr "Путь к LyX под Windows" msgstr "Путь к LyX под Windows"
#: ui/glade/laview-desktop.glade.h:10 #: ui/glade/laview-desktop.glade.h:10
msgid "LaTeXmk path on Windows" msgid "LaTeXmk.pl path on Windows"
msgstr "Путь к LaTeXmk под Windows" msgstr "Путь к скрипту LaTeXmk.pl под Windows"
#: ui/glade/laview-desktop.glade.h:11 #: ui/glade/laview-desktop.glade.h:11
msgid "Perl path on Windows"
msgstr "Путь к Perl под Windows"
#: ui/glade/laview-desktop.glade.h:12
msgid "Common" msgid "Common"
msgstr "Общие" msgstr "Общие"
#: ui/glade/laview-desktop.glade.h:12 #: ui/glade/laview-desktop.glade.h:13
msgid "Object plugins" msgid "Object plugins"
msgstr "Плагины объектов" msgstr "Плагины объектов"
#: ui/glade/laview-desktop.glade.h:13 #: ui/glade/laview-desktop.glade.h:14
msgid "Data plugins" msgid "Data plugins"
msgstr "Плагины данных" msgstr "Плагины данных"
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:16
msgid "_Application" msgid "_Application"
msgstr "_Приложение" msgstr "_Приложение"
#: ui/glade/laview-desktop.glade.h:16 #: ui/glade/laview-desktop.glade.h:17
msgid "_Help" msgid "_Help"
msgstr "_Помощь" msgstr "_Помощь"
#: ui/glade/laview-desktop.glade.h:17 #: ui/glade/laview-desktop.glade.h:18
msgid "Create a new template" msgid "Create a new template"
msgstr "Создать новый шаблон" msgstr "Создать новый шаблон"
#: ui/glade/laview-desktop.glade.h:18 #: ui/glade/laview-desktop.glade.h:19
msgid "Open a template" msgid "Open a template"
msgstr "Открыть шаблон" msgstr "Открыть шаблон"
#: ui/glade/laview-desktop.glade.h:19 #: ui/glade/laview-desktop.glade.h:20
msgid "Change selected template" msgid "Change selected template"
msgstr "Изменить выбранный шаблон" msgstr "Изменить выбранный шаблон"
#: ui/glade/laview-desktop.glade.h:20 #: ui/glade/laview-desktop.glade.h:21
msgid "Delete selected template" msgid "Delete selected template"
msgstr "Удалить выбранный шаблон" msgstr "Удалить выбранный шаблон"
#: ui/glade/laview-desktop.glade.h:21 #: ui/glade/laview-desktop.glade.h:22
msgid "Document object preparing" msgid "Document object preparing"
msgstr "Подготовка объекта документа" msgstr "Подготовка объекта документа"
#: ui/glade/laview-desktop.glade.h:22 #: ui/glade/laview-desktop.glade.h:23
msgid "View and print the document" msgid "View and print the document"
msgstr "Просмотр и печать документа" msgstr "Просмотр и печать документа"
#: ui/glade/laview-desktop.glade.h:23 #: ui/glade/laview-desktop.glade.h:24
msgid "Edit the result document" msgid "Edit the result document"
msgstr "Редактировать полученный документ" msgstr "Редактировать полученный документ"
#: ui/glade/laview-desktop.glade.h:24 #: ui/glade/laview-desktop.glade.h:25
msgid "Save the document as..." msgid "Save the document as..."
msgstr "Сохранить документ как..." msgstr "Сохранить документ как..."
#: ui/glade/laview-desktop.glade.h:25 #: ui/glade/laview-desktop.glade.h:26
msgid "Application preferences" msgid "Application preferences"
msgstr "Параметры приложения" msgstr "Параметры приложения"
#: ui/glade/laview-desktop.glade.h:26 #: ui/glade/laview-desktop.glade.h:27
msgid "Help and reference" msgid "Help and reference"
msgstr "Помощь и справка" msgstr "Помощь и справка"
#: ui/glade/laview-desktop.glade.h:27 #: ui/glade/laview-desktop.glade.h:28
msgid "Close the application" msgid "Close the application"
msgstr "Закрыть приложение" msgstr "Закрыть приложение"
#: ui/glade/laview-desktop.glade.h:28 #: ui/glade/laview-desktop.glade.h:29
msgid "Templates" msgid "Templates"
msgstr "Шаблоны" msgstr "Шаблоны"
#: ui/glade/laview-desktop.glade.h:29 #: ui/glade/laview-desktop.glade.h:30
msgid "Document Objects" msgid "Document Objects"
msgstr "Объекты документа" msgstr "Объекты документа"

View File

@ -11,6 +11,7 @@ namespace LAview.Desktop {
Gtk.ListStore liststore_objects; Gtk.ListStore liststore_objects;
FileChooserButton filechooserbutton_lyx; FileChooserButton filechooserbutton_lyx;
FileChooserButton filechooserbutton_latexmk; FileChooserButton filechooserbutton_latexmk;
FileChooserButton filechooserbutton_perl;
public PreferencesDialog (Gtk.Application application, Window parent) throws Error { public PreferencesDialog (Gtk.Application application, Window parent) throws Error {
var builder = new Builder (); var builder = new Builder ();
@ -26,12 +27,14 @@ namespace LAview.Desktop {
liststore_objects = builder.get_object ("liststore_protocol_objects") as Gtk.ListStore; liststore_objects = builder.get_object ("liststore_protocol_objects") as Gtk.ListStore;
filechooserbutton_lyx = builder.get_object ("filechooserbutton_lyx") as FileChooserButton; filechooserbutton_lyx = builder.get_object ("filechooserbutton_lyx") as FileChooserButton;
filechooserbutton_latexmk = builder.get_object ("filechooserbutton_latexmk") as FileChooserButton; filechooserbutton_latexmk = builder.get_object ("filechooserbutton_latexmk") as FileChooserButton;
filechooserbutton_perl = builder.get_object ("filechooserbutton_perl") as FileChooserButton;
fill_liststore_data (); fill_liststore_data ();
fill_liststore_objects (); fill_liststore_objects ();
filechooserbutton_lyx.set_filename (AppCore.core.lyx_path); filechooserbutton_lyx.set_filename (AppCore.core.lyx_path);
filechooserbutton_latexmk.set_filename (AppCore.core.latexmk_path); filechooserbutton_latexmk.set_filename (AppCore.core.latexmk_pl_path);
filechooserbutton_perl.set_filename (AppCore.core.perl_path);
} }
void fill_liststore_data () { void fill_liststore_data () {
@ -68,7 +71,12 @@ namespace LAview.Desktop {
[CCode (instance_pos = -1)] [CCode (instance_pos = -1)]
public void latexmk_file_set (FileChooserButton chooser) { public void latexmk_file_set (FileChooserButton chooser) {
AppCore.core.latexmk_path = chooser.get_filename (); AppCore.core.latexmk_pl_path = chooser.get_filename ();
}
[CCode (instance_pos = -1)]
public void perl_file_set (FileChooserButton chooser) {
AppCore.core.perl_path = chooser.get_filename ();
} }
} }
} }

View File

@ -50,7 +50,7 @@ namespace LAview.Desktop {
dialog.hide (); dialog.hide ();
} catch (Error err) { } catch (Error err) {
textview_stderrout.buffer.text += _("Error: ")+err.message; textview_stderrout.buffer.text += _("Error: ")+err.message+"\n";
scroll_down (); scroll_down ();
if (sp != null) { if (sp != null) {
var ds_err = new DataInputStream(sp.get_stderr_pipe()); var ds_err = new DataInputStream(sp.get_stderr_pipe());

View File

@ -80,7 +80,7 @@ namespace LAview.Desktop {
return app.run (args); return app.run (args);
} catch (Error e) { } catch (Error e) {
stderr.puts (_("Error: ")+e.message); stderr.puts (_("Error: ")+e.message+"\n");
stderr.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]); stderr.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]);
return e.code; return e.code;
} }

View File

@ -231,13 +231,24 @@
<object class="GtkLabel" id="label6"> <object class="GtkLabel" id="label6">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">LaTeXmk path on Windows</property> <property name="label" translatable="yes">LaTeXmk.pl path on Windows</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">2</property> <property name="top_attach">2</property>
</packing> </packing>
</child> <child>
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Perl path on Windows</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
</packing>
</child> </child>
<child> <child>
<object class="GtkFileChooserButton" id="filechooserbutton_lyx"> <object class="GtkFileChooserButton" id="filechooserbutton_lyx">
@ -263,6 +274,18 @@
<property name="top_attach">2</property> <property name="top_attach">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkFileChooserButton" id="filechooserbutton_perl">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<signal name="file-set" handler="laview_desktop_preferences_dialog_perl_file_set" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
</packing>
</child>
</object> </object>
</child> </child>
</object> </object>