diff --git a/po/de/laview-desktop.po b/po/de/laview-desktop.po index 1a3abfa..7e4044b 100644 --- a/po/de/laview-desktop.po +++ b/po/de/laview-desktop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: laview-desktop\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-12-27 19:03+0300\n" +"POT-Creation-Date: 2016-01-24 02:51+0300\n" "PO-Revision-Date: 2015-10-24 20:19+0300\n" "Last-Translator: \n" "Language-Team: German\n" @@ -45,6 +45,15 @@ msgstr "" msgid "State of an imaginary light switch." msgstr "" +#: src/MainWindow.vala:58 +msgid "We're ready, Commander! Select or create a template. :-)" +msgstr "" + +#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194 +#: src/MainWindow.vala:212 +msgid "Error" +msgstr "" + #: src/MainWindow.vala:84 msgid "Select templates" msgstr "" @@ -57,6 +66,18 @@ msgstr "" msgid "_Open" msgstr "" +#: src/MainWindow.vala:166 +msgid "After composing all objects print the document." +msgstr "" + +#: src/MainWindow.vala:248 +msgid "Document analized, select an object and set it's properties." +msgstr "" + +#: src/MainWindow.vala:253 +msgid "Press 'Properties' button to compose the object." +msgstr "" + #: src/main.vala:33 msgid "Show the application's version" msgstr "" diff --git a/po/laview-desktop.pot b/po/laview-desktop.pot index 93e18f7..5b28fd5 100644 --- a/po/laview-desktop.pot +++ b/po/laview-desktop.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: laview-desktop\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-12-27 19:04+0300\n" +"POT-Creation-Date: 2016-01-24 02:51+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -45,6 +45,15 @@ msgstr "" msgid "State of an imaginary light switch." msgstr "" +#: src/MainWindow.vala:58 +msgid "We're ready, Commander! Select or create a template. :-)" +msgstr "" + +#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194 +#: src/MainWindow.vala:212 +msgid "Error" +msgstr "" + #: src/MainWindow.vala:84 msgid "Select templates" msgstr "" @@ -57,6 +66,18 @@ msgstr "" msgid "_Open" msgstr "" +#: src/MainWindow.vala:166 +msgid "After composing all objects print the document." +msgstr "" + +#: src/MainWindow.vala:248 +msgid "Document analized, select an object and set it's properties." +msgstr "" + +#: src/MainWindow.vala:253 +msgid "Press 'Properties' button to compose the object." +msgstr "" + #: src/main.vala:33 msgid "Show the application's version" msgstr "" diff --git a/po/ru/laview-desktop.po b/po/ru/laview-desktop.po index c3d622b..4473e26 100644 --- a/po/ru/laview-desktop.po +++ b/po/ru/laview-desktop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: laview-desktop\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-12-27 19:03+0300\n" +"POT-Creation-Date: 2016-01-24 02:51+0300\n" "PO-Revision-Date: 2015-10-24 20:19+0300\n" "Last-Translator: \n" "Language-Team: Russian\n" @@ -46,6 +46,15 @@ msgstr "Включен ли свет?" msgid "State of an imaginary light switch." msgstr "Состояние воображаемого выключателя света." +#: src/MainWindow.vala:58 +msgid "We're ready, Commander! Select or create a template. :-)" +msgstr "Мы готовы, Командир! Выберите или создайте шаблон. :-)" + +#: src/MainWindow.vala:76 src/MainWindow.vala:120 src/MainWindow.vala:194 +#: src/MainWindow.vala:212 +msgid "Error" +msgstr "Ошибка" + #: src/MainWindow.vala:84 msgid "Select templates" msgstr "Выберите шаблоны" @@ -58,6 +67,18 @@ msgstr "_Отмена" msgid "_Open" msgstr "_Открыть" +#: src/MainWindow.vala:166 +msgid "After composing all objects print the document." +msgstr "После компоновки всех объектов напечатайте документ." + +#: src/MainWindow.vala:248 +msgid "Document analized, select an object and set it's properties." +msgstr "Документ проанализирован, выберите объект и установите его свойства." + +#: src/MainWindow.vala:253 +msgid "Press 'Properties' button to compose the object." +msgstr "Нажмите кнопку 'Свойства' для компоновки объекта." + #: src/main.vala:33 msgid "Show the application's version" msgstr "Показать версию приложения" diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 81a7c0e..68f4256 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -55,7 +55,7 @@ namespace LAview.Desktop { public void show_all () { window.show_all (); - statusbar_show ("We're ready, Commander! Select or create a template. :-)"); + statusbar_show (_("We're ready, Commander! Select or create a template. :-)")); } [CCode (instance_pos = -1)] @@ -73,7 +73,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 (); } @@ -117,7 +117,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 (); } @@ -163,7 +163,7 @@ namespace LAview.Desktop { if (t_indices.length != 0 && o_indices.length != 0) { AppCore.core.compose_object (t_indices[0], o_indices[0]); } - statusbar_show ("After composing all objects print the document."); + statusbar_show (_("After composing all objects print the document.")); } [CCode (instance_pos = -1)] @@ -191,7 +191,7 @@ namespace LAview.Desktop { 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 (); } @@ -209,7 +209,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 (); } @@ -245,12 +245,12 @@ namespace LAview.Desktop { liststore_doc_objects.set (iter, 0, t); } } - statusbar_show ("Document analized, select an object and set it's properties."); + statusbar_show (_("Document analized, select an object and set it's properties.")); } [CCode (instance_pos = -1)] public void objects_cursor_changed (Gtk.TreeView treeview) { - statusbar_show ("Press 'Properties' button to compose the object."); + statusbar_show (_("Press 'Properties' button to compose the object.")); } } }