Translations updated.

This commit is contained in:
Kolan Sh 2016-02-29 23:04:59 +03:00
parent 02d7d47daa
commit 3ea615f345
8 changed files with 211 additions and 169 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-02-14 15:22+0300\n" "POT-Creation-Date: 2016-03-01 00:18+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,20 +25,27 @@ 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
msgid "LAview Desktop"
msgstr ""
#: src/MainWindow.vala:64 #: src/MainWindow.vala:64
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:199 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321 #: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
msgid "Error" #: src/MainWindow.vala:247 src/MainWindow.vala:285 src/MainWindow.vala:353
#: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83
msgid "Error: "
msgstr "" msgstr ""
#: src/MainWindow.vala:90 #: src/MainWindow.vala:90
msgid "Select templates" msgid "Select templates"
msgstr "" msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:281 #: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr ""
@ -46,45 +53,56 @@ msgstr ""
msgid "_Open" msgid "_Open"
msgstr "" msgstr ""
#: src/MainWindow.vala:171 #: src/MainWindow.vala:170
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "" msgstr ""
#: src/MainWindow.vala:261 #: src/MainWindow.vala:225
msgid "=== Print to PDF file... ===\n"
msgstr ""
#: src/MainWindow.vala:291
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:266 #: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "" msgstr ""
#: src/MainWindow.vala:275 #: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "" msgstr ""
#: src/MainWindow.vala:279 #: src/MainWindow.vala:311
msgid "Select destination" msgid "Select destination"
msgstr "" msgstr ""
#: src/MainWindow.vala:282 #: src/MainWindow.vala:314
msgid "_Save" msgid "_Save"
msgstr "" msgstr ""
#: src/MainWindow.vala:314 #: src/MainWindow.vala:346
msgid "bytes of" msgid "bytes of"
msgstr "" msgstr ""
#: src/MainWindow.vala:315 #: src/MainWindow.vala:347
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "" msgstr ""
#: src/MainWindow.vala:318 #: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "" msgstr ""
#: src/main.vala:64 src/main.vala:83 #: src/Settings.vala:21
#, c-format msgid " not found"
msgid "Error: %s\n" msgstr ""
#: src/Settings.vala:21
msgid "File "
msgstr ""
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr "" msgstr ""
#: src/main.vala:84 #: src/main.vala:84
@ -109,45 +127,41 @@ msgid "Kolan Sh"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:5 #: ui/glade/laview-desktop.glade.h:5
msgid "LAview Preferences"
msgstr ""
#: ui/glade/laview-desktop.glade.h:6
msgid "Paths"
msgstr ""
#: ui/glade/laview-desktop.glade.h:7
msgid "LyX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:8
msgid "pdfLaTeX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:9
msgid "Common"
msgstr ""
#: ui/glade/laview-desktop.glade.h:10
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:11
msgid "Data plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:12
msgid "LAview Desktop"
msgstr ""
#: ui/glade/laview-desktop.glade.h:13
msgid "_Template" msgid "_Template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:14 #: ui/glade/laview-desktop.glade.h:6
msgid "_Document" msgid "_Document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:7
msgid "LAview Preferences"
msgstr ""
#: ui/glade/laview-desktop.glade.h:8
msgid "Paths"
msgstr ""
#: ui/glade/laview-desktop.glade.h:9
msgid "LyX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:10
msgid "pdfLaTeX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:11
msgid "Common"
msgstr ""
#: ui/glade/laview-desktop.glade.h:12
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:13
msgid "Data plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:15
msgid "_Application" msgid "_Application"
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-02-14 15:22+0300\n" "POT-Creation-Date: 2016-03-01 00:18+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,20 +25,27 @@ 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
msgid "LAview Desktop"
msgstr ""
#: src/MainWindow.vala:64 #: src/MainWindow.vala:64
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:199 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321 #: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
msgid "Error" #: src/MainWindow.vala:247 src/MainWindow.vala:285 src/MainWindow.vala:353
#: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83
msgid "Error: "
msgstr "" msgstr ""
#: src/MainWindow.vala:90 #: src/MainWindow.vala:90
msgid "Select templates" msgid "Select templates"
msgstr "" msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:281 #: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr ""
@ -46,45 +53,56 @@ msgstr ""
msgid "_Open" msgid "_Open"
msgstr "" msgstr ""
#: src/MainWindow.vala:171 #: src/MainWindow.vala:170
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "" msgstr ""
#: src/MainWindow.vala:261 #: src/MainWindow.vala:225
msgid "=== Print to PDF file... ===\n"
msgstr ""
#: src/MainWindow.vala:291
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:266 #: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "" msgstr ""
#: src/MainWindow.vala:275 #: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "" msgstr ""
#: src/MainWindow.vala:279 #: src/MainWindow.vala:311
msgid "Select destination" msgid "Select destination"
msgstr "" msgstr ""
#: src/MainWindow.vala:282 #: src/MainWindow.vala:314
msgid "_Save" msgid "_Save"
msgstr "" msgstr ""
#: src/MainWindow.vala:314 #: src/MainWindow.vala:346
msgid "bytes of" msgid "bytes of"
msgstr "" msgstr ""
#: src/MainWindow.vala:315 #: src/MainWindow.vala:347
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "" msgstr ""
#: src/MainWindow.vala:318 #: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "" msgstr ""
#: src/main.vala:64 src/main.vala:83 #: src/Settings.vala:21
#, c-format msgid " not found"
msgid "Error: %s\n" msgstr ""
#: src/Settings.vala:21
msgid "File "
msgstr ""
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr "" msgstr ""
#: src/main.vala:84 #: src/main.vala:84
@ -109,45 +127,41 @@ msgid "Kolan Sh"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:5 #: ui/glade/laview-desktop.glade.h:5
msgid "LAview Preferences"
msgstr ""
#: ui/glade/laview-desktop.glade.h:6
msgid "Paths"
msgstr ""
#: ui/glade/laview-desktop.glade.h:7
msgid "LyX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:8
msgid "pdfLaTeX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:9
msgid "Common"
msgstr ""
#: ui/glade/laview-desktop.glade.h:10
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:11
msgid "Data plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:12
msgid "LAview Desktop"
msgstr ""
#: ui/glade/laview-desktop.glade.h:13
msgid "_Template" msgid "_Template"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:14 #: ui/glade/laview-desktop.glade.h:6
msgid "_Document" msgid "_Document"
msgstr "" msgstr ""
#: ui/glade/laview-desktop.glade.h:7
msgid "LAview Preferences"
msgstr ""
#: ui/glade/laview-desktop.glade.h:8
msgid "Paths"
msgstr ""
#: ui/glade/laview-desktop.glade.h:9
msgid "LyX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:10
msgid "pdfLaTeX path on Windows"
msgstr ""
#: ui/glade/laview-desktop.glade.h:11
msgid "Common"
msgstr ""
#: ui/glade/laview-desktop.glade.h:12
msgid "Object plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:13
msgid "Data plugins"
msgstr ""
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:15
msgid "_Application" msgid "_Application"
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-02-14 15:22+0300\n" "POT-Creation-Date: 2016-03-01 00:18+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,20 +26,27 @@ 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
msgid "LAview Desktop"
msgstr "Рабочее окно LAview"
#: src/MainWindow.vala:64 #: src/MainWindow.vala:64
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:199 #: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321 #: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
msgid "Error" #: src/MainWindow.vala:247 src/MainWindow.vala:285 src/MainWindow.vala:353
msgstr "Ошибка" #: src/SubprocessDialog.vala:43 src/Utils.vala:21 src/main.vala:64
#: src/main.vala:83
msgid "Error: "
msgstr "Ошибка: "
#: src/MainWindow.vala:90 #: src/MainWindow.vala:90
msgid "Select templates" msgid "Select templates"
msgstr "Выберите шаблоны" msgstr "Выберите шаблоны"
#: src/MainWindow.vala:92 src/MainWindow.vala:281 #: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel" msgid "_Cancel"
msgstr "_Отмена" msgstr "_Отмена"
@ -47,46 +54,57 @@ msgstr "_Отмена"
msgid "_Open" msgid "_Open"
msgstr "_Открыть" msgstr "_Открыть"
#: src/MainWindow.vala:171 #: src/MainWindow.vala:170
msgid "After composing all objects print the document." msgid "After composing all objects print the document."
msgstr "После компоновки всех объектов напечатайте документ." msgstr "После компоновки всех объектов напечатайте документ."
#: src/MainWindow.vala:261 #: src/MainWindow.vala:225
msgid "=== Print to PDF file... ===\n"
msgstr "=== Печать в PDF файл... ===\n"
#: src/MainWindow.vala:291
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:266 #: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object." msgid "Press 'Properties' button to compose the object."
msgstr "Нажмите кнопку 'Свойства' для компоновки объекта." msgstr "Нажмите кнопку 'Свойства' для компоновки объекта."
#: src/MainWindow.vala:275 #: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]" msgid "Prepare the document first! >;-]"
msgstr "Сначала подготовьте документ! >;-]" msgstr "Сначала подготовьте документ! >;-]"
#: src/MainWindow.vala:279 #: src/MainWindow.vala:311
msgid "Select destination" msgid "Select destination"
msgstr "Выберите назначение" msgstr "Выберите назначение"
#: src/MainWindow.vala:282 #: src/MainWindow.vala:314
msgid "_Save" msgid "_Save"
msgstr "_Сохранить" msgstr "_Сохранить"
#: src/MainWindow.vala:314 #: src/MainWindow.vala:346
msgid "bytes of" msgid "bytes of"
msgstr "байт из" msgstr "байт из"
#: src/MainWindow.vala:315 #: src/MainWindow.vala:347
msgid "bytes copied/saved" msgid "bytes copied/saved"
msgstr "байт скопировано/сохранено" msgstr "байт скопировано/сохранено"
#: src/MainWindow.vala:318 #: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)" msgid "Save/Copy operation complete! :-)"
msgstr "Операция сохранения/копирования завершена! :-)" msgstr "Операция сохранения/копирования завершена! :-)"
#: src/main.vala:64 src/main.vala:83 #: src/Settings.vala:21
#, c-format msgid " not found"
msgid "Error: %s\n" msgstr " не найден"
msgstr "Ошибка: %s\n"
#: src/Settings.vala:21
msgid "File "
msgstr "Файл "
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr "Ошибка запуска подпроцесса."
#: src/main.vala:84 #: src/main.vala:84
#, c-format #, c-format
@ -110,45 +128,41 @@ msgid "Kolan Sh"
msgstr "Николай Ш" msgstr "Николай Ш"
#: ui/glade/laview-desktop.glade.h:5 #: ui/glade/laview-desktop.glade.h:5
msgid "LAview Preferences"
msgstr "Параметры LAview"
#: ui/glade/laview-desktop.glade.h:6
msgid "Paths"
msgstr "Пути"
#: ui/glade/laview-desktop.glade.h:7
msgid "LyX path on Windows"
msgstr "Путь к LyX под Windows"
#: ui/glade/laview-desktop.glade.h:8
msgid "pdfLaTeX path on Windows"
msgstr "Путь к pdfLaTeX под Windows"
#: ui/glade/laview-desktop.glade.h:9
msgid "Common"
msgstr "Общие"
#: ui/glade/laview-desktop.glade.h:10
msgid "Object plugins"
msgstr "Плагины объектов"
#: ui/glade/laview-desktop.glade.h:11
msgid "Data plugins"
msgstr "Плагины данных"
#: ui/glade/laview-desktop.glade.h:12
msgid "LAview Desktop"
msgstr "Рабочее окно LAview"
#: ui/glade/laview-desktop.glade.h:13
msgid "_Template" msgid "_Template"
msgstr "_Шаблон" msgstr "_Шаблон"
#: ui/glade/laview-desktop.glade.h:14 #: ui/glade/laview-desktop.glade.h:6
msgid "_Document" msgid "_Document"
msgstr "_Документ" msgstr "_Документ"
#: ui/glade/laview-desktop.glade.h:7
msgid "LAview Preferences"
msgstr "Параметры LAview"
#: ui/glade/laview-desktop.glade.h:8
msgid "Paths"
msgstr "Пути"
#: ui/glade/laview-desktop.glade.h:9
msgid "LyX path on Windows"
msgstr "Путь к LyX под Windows"
#: ui/glade/laview-desktop.glade.h:10
msgid "pdfLaTeX path on Windows"
msgstr "Путь к pdfLaTeX под Windows"
#: ui/glade/laview-desktop.glade.h:11
msgid "Common"
msgstr "Общие"
#: ui/glade/laview-desktop.glade.h:12
msgid "Object plugins"
msgstr "Плагины объектов"
#: ui/glade/laview-desktop.glade.h:13
msgid "Data plugins"
msgstr "Плагины данных"
#: ui/glade/laview-desktop.glade.h:15 #: ui/glade/laview-desktop.glade.h:15
msgid "_Application" msgid "_Application"
msgstr "_Приложение" msgstr "_Приложение"

View File

@ -28,7 +28,7 @@ namespace LAview.Desktop {
liststore_doc_objects = builder.get_object ("liststore_objects") as Gtk.ListStore; liststore_doc_objects = builder.get_object ("liststore_objects") as Gtk.ListStore;
treeview_templates = builder.get_object ("treeview_templates") as TreeView; treeview_templates = builder.get_object ("treeview_templates") as TreeView;
treeview_objects = builder.get_object ("treeview_objects") as TreeView; treeview_objects = builder.get_object ("treeview_objects") as TreeView;
window.title = "LAview Desktop" window.title = _("LAview Desktop")
+ @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)"; + @" $(Config.VERSION_MAJOR).$(Config.VERSION_MINOR).$(Config.VERSION_PATCH)";
pref_dialog = new PreferencesDialog (application, window); pref_dialog = new PreferencesDialog (application, window);
@ -79,7 +79,7 @@ namespace LAview.Desktop {
subprocess.spawnv(argv); subprocess.spawnv(argv);
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -122,7 +122,7 @@ namespace LAview.Desktop {
subprocess.spawnv(args); subprocess.spawnv(args);
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -170,7 +170,7 @@ namespace LAview.Desktop {
statusbar_show (_("After composing all objects print the document.")); statusbar_show (_("After composing all objects print the document."));
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -198,7 +198,7 @@ namespace LAview.Desktop {
} }
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -210,7 +210,7 @@ namespace LAview.Desktop {
Utils.open_document (AppCore.core.get_pdf_file_path (indices[0]), window); Utils.open_document (AppCore.core.get_pdf_file_path (indices[0]), window);
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -222,11 +222,11 @@ namespace LAview.Desktop {
if (indices.length != 0) { if (indices.length != 0) {
try { try {
subprocess_dialog.show_all (AppCore.core.print_document (indices[0]), subprocess_dialog.show_all (AppCore.core.print_document (indices[0]),
"=== Print to PDF file... ===\n", _("=== Print to PDF file... ===\n"),
post_print); post_print);
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -244,7 +244,7 @@ namespace LAview.Desktop {
show_uri (null, "https://redmine.backbone.ws/projects/laview/wiki", Gdk.CURRENT_TIME); show_uri (null, "https://redmine.backbone.ws/projects/laview/wiki", Gdk.CURRENT_TIME);
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }
@ -282,7 +282,7 @@ namespace LAview.Desktop {
} }
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
return; return;
@ -350,7 +350,7 @@ namespace LAview.Desktop {
statusbar_show (_("Save/Copy operation complete! :-)")); statusbar_show (_("Save/Copy operation complete! :-)"));
} catch (Error err) { } catch (Error err) {
var msg = new MessageDialog (chooser, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (chooser, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, _("Error")+@": $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); chooser.close (); } ); msg.response.connect ((response_id) => { msg.destroy (); chooser.close (); } );
msg.show (); msg.show ();
} }

View File

@ -18,7 +18,7 @@ namespace LAview.Desktop {
SettingsSchema schema = sss.lookup ("ws.backbone.laview.desktop-"+Config.VERSION_MAJOR.to_string(), false); SettingsSchema schema = sss.lookup ("ws.backbone.laview.desktop-"+Config.VERSION_MAJOR.to_string(), false);
if (schema == null) { if (schema == null) {
stderr.printf ("ID not found.\n"); stderr.printf ("ID not found.\n");
throw new IOError.NOT_FOUND ("File "+AppDirs.settings_dir+"/gschemas.compiled not found"); throw new IOError.NOT_FOUND (_("File ")+AppDirs.settings_dir+"/gschemas.compiled"+_(" not found"));
} }
settings = new Settings.full (schema, null, null); settings = new Settings.full (schema, null, null);

View File

@ -35,12 +35,12 @@ namespace LAview.Desktop {
} catch (IOError err) { } catch (IOError err) {
assert_not_reached(); assert_not_reached();
} }
if ((sp.wait_check()) == false) throw new IOError.FAILED("Error running subprocess."); if ((sp.wait_check()) == false) throw new IOError.FAILED(_("Error running subprocess."));
ppdelegate (); ppdelegate ();
dialog.hide (); dialog.hide ();
} catch (Error err) { } catch (Error err) {
textview_stderrout.buffer.text += @"Error: $(err.message)"; textview_stderrout.buffer.text += _("Error: ")+err.message;
if (sp != null) { if (sp != null) {
var ds_err = new DataInputStream(sp.get_stderr_pipe()); var ds_err = new DataInputStream(sp.get_stderr_pipe());
try { try {

View File

@ -18,7 +18,7 @@ namespace LAview.Desktop {
Process.spawn_async(null, argv, null, SpawnFlags.SEARCH_PATH, null, null); Process.spawn_async(null, argv, null, SpawnFlags.SEARCH_PATH, null, null);
} catch (SpawnError err) { } catch (SpawnError err) {
var msg = new MessageDialog (parent_window, DialogFlags.MODAL, MessageType.ERROR, var msg = new MessageDialog (parent_window, DialogFlags.MODAL, MessageType.ERROR,
ButtonsType.CLOSE, @"Error: $(err.message)."); ButtonsType.CLOSE, _("Error: ")+err.message);
msg.response.connect ((response_id) => { msg.destroy (); } ); msg.response.connect ((response_id) => { msg.destroy (); } );
msg.show (); msg.show ();
} }

View File

@ -61,7 +61,7 @@ namespace LAview.Desktop {
main_window = new MainWindow (this); main_window = new MainWindow (this);
main_window.show_all (); main_window.show_all ();
} catch (Error e) { } catch (Error e) {
stderr.printf (_("Error: %s\n"), e.message); stderr.puts (_("Error: ")+e.message);
} }
} }
@ -80,7 +80,7 @@ namespace LAview.Desktop {
return app.run (args); return app.run (args);
} catch (Error e) { } catch (Error e) {
stderr.printf (_("Error: %s\n"), e.message); stderr.puts (_("Error: ")+e.message);
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;
} }