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
Signed by: rgareus
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.show();
if (engine_running) {
start_stop_button.set_text("Stop");
start_stop_button.set_text(_("Engine|Stop"));
update_devices_button.set_sensitive(false);
use_buffered_io_button.set_sensitive(false);
} else {
start_stop_button.set_text("Start");
start_stop_button.set_text(_("Engine|Start"));
update_devices_button.set_sensitive (backend->can_request_update_devices ());
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->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 */
@ -136,7 +136,7 @@ LuaScriptManager::LuaScriptManager ()
vbox->pack_end (*f, false, false);
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 */
@ -172,7 +172,7 @@ LuaScriptManager::LuaScriptManager ()
vbox->pack_end (*f, false, false);
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 */