Mark user-visible messages for translation

This commit is contained in:
Alexandre Prokoudine 2020-04-21 13:12:47 +03:00 committed by Robin Gareus
parent 05650a0156
commit 47e4216012
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 5 additions and 5 deletions

View file

@ -907,11 +907,11 @@ EngineControl::update_sensitivity ()
start_stop_button.set_sensitive(true); start_stop_button.set_sensitive(true);
start_stop_button.show(); start_stop_button.show();
if (engine_running) { if (engine_running) {
start_stop_button.set_text("Stop"); start_stop_button.set_text(_("Engine|Stop"));
update_devices_button.set_sensitive(false); update_devices_button.set_sensitive(false);
use_buffered_io_button.set_sensitive(false); use_buffered_io_button.set_sensitive(false);
} else { } else {
start_stop_button.set_text("Start"); start_stop_button.set_text(_("Engine|Start"));
update_devices_button.set_sensitive (backend->can_request_update_devices ()); update_devices_button.set_sensitive (backend->can_request_update_devices ());
use_buffered_io_button.set_sensitive (backend->can_use_buffered_io ()); use_buffered_io_button.set_sensitive (backend->can_use_buffered_io ());
} }

View file

@ -95,7 +95,7 @@ LuaScriptManager::LuaScriptManager ()
vbox->pack_end (*f, false, false); vbox->pack_end (*f, false, false);
vbox->show_all (); vbox->show_all ();
pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, "Action Scripts")); pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, _("Action Scripts")));
/* action hooks page */ /* action hooks page */
@ -136,7 +136,7 @@ LuaScriptManager::LuaScriptManager ()
vbox->pack_end (*f, false, false); vbox->pack_end (*f, false, false);
vbox->show_all (); vbox->show_all ();
pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, "Action Hooks")); pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, _("Action Hooks")));
/* session script page */ /* session script page */
@ -172,7 +172,7 @@ LuaScriptManager::LuaScriptManager ()
vbox->pack_end (*f, false, false); vbox->pack_end (*f, false, false);
vbox->show_all (); vbox->show_all ();
pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, "Session Scripts")); pages.pages ().push_back (Notebook_Helpers::TabElem (*vbox, _("Session Scripts")));
/* global layout */ /* global layout */