From 47e4216012b9c31666a857d0d9259811a899c244 Mon Sep 17 00:00:00 2001 From: Alexandre Prokoudine Date: Tue, 21 Apr 2020 13:12:47 +0300 Subject: Mark user-visible messages for translation --- gtk2_ardour/engine_dialog.cc | 4 ++-- gtk2_ardour/lua_script_manager.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 3f4438de1e..f904d3de22 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -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 ()); } diff --git a/gtk2_ardour/lua_script_manager.cc b/gtk2_ardour/lua_script_manager.cc index 3e0a6d23d1..f28583e575 100644 --- a/gtk2_ardour/lua_script_manager.cc +++ b/gtk2_ardour/lua_script_manager.cc @@ -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 */ -- cgit v1.2.3