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 ""
"Project-Id-Version: laview-desktop\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"
"Last-Translator: <backbone@backbone.ws>\n"
"Language-Team: German\n"
@ -25,20 +25,27 @@ msgstr ""
msgid "It is too lazy to select a directory each time..."
msgstr ""
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14
msgid "LAview Desktop"
msgstr ""
#: src/MainWindow.vala:64
msgid "We're ready, Commander! Select or create a template. :-)"
msgstr ""
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
msgid "Error"
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
#: 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 ""
#: src/MainWindow.vala:90
msgid "Select templates"
msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:281
#: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel"
msgstr ""
@ -46,45 +53,56 @@ msgstr ""
msgid "_Open"
msgstr ""
#: src/MainWindow.vala:171
#: src/MainWindow.vala:170
msgid "After composing all objects print the document."
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."
msgstr ""
#: src/MainWindow.vala:266
#: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object."
msgstr ""
#: src/MainWindow.vala:275
#: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]"
msgstr ""
#: src/MainWindow.vala:279
#: src/MainWindow.vala:311
msgid "Select destination"
msgstr ""
#: src/MainWindow.vala:282
#: src/MainWindow.vala:314
msgid "_Save"
msgstr ""
#: src/MainWindow.vala:314
#: src/MainWindow.vala:346
msgid "bytes of"
msgstr ""
#: src/MainWindow.vala:315
#: src/MainWindow.vala:347
msgid "bytes copied/saved"
msgstr ""
#: src/MainWindow.vala:318
#: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)"
msgstr ""
#: src/main.vala:64 src/main.vala:83
#, c-format
msgid "Error: %s\n"
#: src/Settings.vala:21
msgid " not found"
msgstr ""
#: src/Settings.vala:21
msgid "File "
msgstr ""
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr ""
#: src/main.vala:84
@ -109,45 +127,41 @@ msgid "Kolan Sh"
msgstr ""
#: 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"
msgstr ""
#: ui/glade/laview-desktop.glade.h:14
#: ui/glade/laview-desktop.glade.h:6
msgid "_Document"
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
msgid "_Application"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: laview-desktop\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -25,20 +25,27 @@ msgstr ""
msgid "It is too lazy to select a directory each time..."
msgstr ""
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14
msgid "LAview Desktop"
msgstr ""
#: src/MainWindow.vala:64
msgid "We're ready, Commander! Select or create a template. :-)"
msgstr ""
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
msgid "Error"
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
#: 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 ""
#: src/MainWindow.vala:90
msgid "Select templates"
msgstr ""
#: src/MainWindow.vala:92 src/MainWindow.vala:281
#: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel"
msgstr ""
@ -46,45 +53,56 @@ msgstr ""
msgid "_Open"
msgstr ""
#: src/MainWindow.vala:171
#: src/MainWindow.vala:170
msgid "After composing all objects print the document."
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."
msgstr ""
#: src/MainWindow.vala:266
#: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object."
msgstr ""
#: src/MainWindow.vala:275
#: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]"
msgstr ""
#: src/MainWindow.vala:279
#: src/MainWindow.vala:311
msgid "Select destination"
msgstr ""
#: src/MainWindow.vala:282
#: src/MainWindow.vala:314
msgid "_Save"
msgstr ""
#: src/MainWindow.vala:314
#: src/MainWindow.vala:346
msgid "bytes of"
msgstr ""
#: src/MainWindow.vala:315
#: src/MainWindow.vala:347
msgid "bytes copied/saved"
msgstr ""
#: src/MainWindow.vala:318
#: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)"
msgstr ""
#: src/main.vala:64 src/main.vala:83
#, c-format
msgid "Error: %s\n"
#: src/Settings.vala:21
msgid " not found"
msgstr ""
#: src/Settings.vala:21
msgid "File "
msgstr ""
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr ""
#: src/main.vala:84
@ -109,45 +127,41 @@ msgid "Kolan Sh"
msgstr ""
#: 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"
msgstr ""
#: ui/glade/laview-desktop.glade.h:14
#: ui/glade/laview-desktop.glade.h:6
msgid "_Document"
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
msgid "_Application"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: laview-desktop\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"
"Last-Translator: <backbone@backbone.ws>\n"
"Language-Team: Russian\n"
@ -26,20 +26,27 @@ msgstr "Директория для сохранения pdf файлов (по
msgid "It is too lazy to select a directory each time..."
msgstr "Слишком лениво выбирать каждый раз директорию для сохранения..."
#: src/MainWindow.vala:31 ui/glade/laview-desktop.glade.h:14
msgid "LAview Desktop"
msgstr "Рабочее окно LAview"
#: src/MainWindow.vala:64
msgid "We're ready, Commander! Select or create a template. :-)"
msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)"
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:199
#: src/MainWindow.vala:217 src/MainWindow.vala:255 src/MainWindow.vala:321
msgid "Error"
msgstr "Ошибка"
#: src/MainWindow.vala:82 src/MainWindow.vala:125 src/MainWindow.vala:173
#: src/MainWindow.vala:201 src/MainWindow.vala:213 src/MainWindow.vala:229
#: 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 "Ошибка: "
#: src/MainWindow.vala:90
msgid "Select templates"
msgstr "Выберите шаблоны"
#: src/MainWindow.vala:92 src/MainWindow.vala:281
#: src/MainWindow.vala:92 src/MainWindow.vala:313
msgid "_Cancel"
msgstr "_Отмена"
@ -47,46 +54,57 @@ msgstr "_Отмена"
msgid "_Open"
msgstr "_Открыть"
#: src/MainWindow.vala:171
#: src/MainWindow.vala:170
msgid "After composing all objects print the document."
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."
msgstr "Документ проанализирован, выберите объект и установите его свойства."
#: src/MainWindow.vala:266
#: src/MainWindow.vala:296
msgid "Press 'Properties' button to compose the object."
msgstr "Нажмите кнопку 'Свойства' для компоновки объекта."
#: src/MainWindow.vala:275
#: src/MainWindow.vala:307
msgid "Prepare the document first! >;-]"
msgstr "Сначала подготовьте документ! >;-]"
#: src/MainWindow.vala:279
#: src/MainWindow.vala:311
msgid "Select destination"
msgstr "Выберите назначение"
#: src/MainWindow.vala:282
#: src/MainWindow.vala:314
msgid "_Save"
msgstr "_Сохранить"
#: src/MainWindow.vala:314
#: src/MainWindow.vala:346
msgid "bytes of"
msgstr "байт из"
#: src/MainWindow.vala:315
#: src/MainWindow.vala:347
msgid "bytes copied/saved"
msgstr "байт скопировано/сохранено"
#: src/MainWindow.vala:318
#: src/MainWindow.vala:350
msgid "Save/Copy operation complete! :-)"
msgstr "Операция сохранения/копирования завершена! :-)"
#: src/main.vala:64 src/main.vala:83
#, c-format
msgid "Error: %s\n"
msgstr "Ошибка: %s\n"
#: src/Settings.vala:21
msgid " not found"
msgstr " не найден"
#: src/Settings.vala:21
msgid "File "
msgstr "Файл "
#: src/SubprocessDialog.vala:38
msgid "Error running subprocess."
msgstr "Ошибка запуска подпроцесса."
#: src/main.vala:84
#, c-format
@ -110,45 +128,41 @@ msgid "Kolan Sh"
msgstr "Николай Ш"
#: 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"
msgstr "_Шаблон"
#: ui/glade/laview-desktop.glade.h:14
#: ui/glade/laview-desktop.glade.h:6
msgid "_Document"
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
msgid "_Application"
msgstr "_Приложение"

View File

@ -28,7 +28,7 @@ namespace LAview.Desktop {
liststore_doc_objects = builder.get_object ("liststore_objects") as Gtk.ListStore;
treeview_templates = builder.get_object ("treeview_templates") 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)";
pref_dialog = new PreferencesDialog (application, window);
@ -79,7 +79,7 @@ namespace LAview.Desktop {
subprocess.spawnv(argv);
} catch (Error err) {
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.show ();
}
@ -122,7 +122,7 @@ namespace LAview.Desktop {
subprocess.spawnv(args);
} catch (Error err) {
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.show ();
}
@ -170,7 +170,7 @@ namespace LAview.Desktop {
statusbar_show (_("After composing all objects print the document."));
} catch (Error err) {
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.show ();
}
@ -198,7 +198,7 @@ namespace LAview.Desktop {
}
} catch (Error err) {
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.show ();
}
@ -210,7 +210,7 @@ namespace LAview.Desktop {
Utils.open_document (AppCore.core.get_pdf_file_path (indices[0]), window);
} catch (Error err) {
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.show ();
}
@ -222,11 +222,11 @@ namespace LAview.Desktop {
if (indices.length != 0) {
try {
subprocess_dialog.show_all (AppCore.core.print_document (indices[0]),
"=== Print to PDF file... ===\n",
_("=== Print to PDF file... ===\n"),
post_print);
} catch (Error err) {
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.show ();
}
@ -244,7 +244,7 @@ namespace LAview.Desktop {
show_uri (null, "https://redmine.backbone.ws/projects/laview/wiki", Gdk.CURRENT_TIME);
} catch (Error err) {
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.show ();
}
@ -282,7 +282,7 @@ namespace LAview.Desktop {
}
} catch (Error err) {
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.show ();
return;
@ -350,7 +350,7 @@ namespace LAview.Desktop {
statusbar_show (_("Save/Copy operation complete! :-)"));
} catch (Error err) {
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.show ();
}

View File

@ -18,7 +18,7 @@ namespace LAview.Desktop {
SettingsSchema schema = sss.lookup ("ws.backbone.laview.desktop-"+Config.VERSION_MAJOR.to_string(), false);
if (schema == null) {
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);

View File

@ -35,12 +35,12 @@ namespace LAview.Desktop {
} catch (IOError err) {
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 ();
dialog.hide ();
} catch (Error err) {
textview_stderrout.buffer.text += @"Error: $(err.message)";
textview_stderrout.buffer.text += _("Error: ")+err.message;
if (sp != null) {
var ds_err = new DataInputStream(sp.get_stderr_pipe());
try {

View File

@ -18,7 +18,7 @@ namespace LAview.Desktop {
Process.spawn_async(null, argv, null, SpawnFlags.SEARCH_PATH, null, null);
} catch (SpawnError err) {
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.show ();
}

View File

@ -61,7 +61,7 @@ namespace LAview.Desktop {
main_window = new MainWindow (this);
main_window.show_all ();
} 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);
} 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]);
return e.code;
}