std::vector<std::string> AddRouteDialog::bus_mode_strings;
AddRouteDialog::AddRouteDialog (Session* s)
- : ArdourDialog (X_("add route dialog"))
+ : ArdourDialog (_("Add Track or Bus"))
, routes_adjustment (1, 1, 128, 1, 4)
, routes_spinner (routes_adjustment)
, mode_label (_("Track mode:"))
set_skip_taskbar_hint (true);
set_resizable (false);
- set_title (_("Add Track/Bus"));
-
name_template_entry.set_name (X_("AddRouteDialogNameTemplateEntry"));
routes_spinner.set_name (X_("AddRouteDialogSpinner"));
channel_combo.set_name (X_("ChannelCountSelector"));
vector<string> n = get_file_names_no_extension (p);
if (find (n.begin(), n.end(), snapname) != n.end()) {
- ArdourDialog confirm (_("Confirm snapshot overwrite"), true);
+ ArdourDialog confirm (_("Confirm Snapshot Overwrite"), true);
Label m (_("A snapshot already exists with that name. Do you want to overwrite it?"));
confirm.get_vbox()->pack_start (m, true, true);
confirm.add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
act = ActionManager::register_action (main_actions, X_("Close"), _("Close"), sigc::mem_fun(*this, &ARDOUR_UI::close_session));
ActionManager::session_sensitive_actions.push_back (act);
- act = ActionManager::register_action (main_actions, X_("AddTrackBus"), _("Add Track/Bus..."),
+ act = ActionManager::register_action (main_actions, X_("AddTrackBus"), _("Add Track or Bus..."),
sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::add_route), (Gtk::Window*) 0));
ActionManager::session_sensitive_actions.push_back (act);
ActionManager::write_sensitive_actions.push_back (act);
ActionManager::register_action (common_actions, X_("toggle-editor-mixer-on-top"), _("Toggle Editor Mixer on Top"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_editor_mixer_on_top));
ActionManager::register_toggle_action (common_actions, X_("ToggleRCOptionsEditor"), _("Preferences"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_rc_options_window));
ActionManager::register_toggle_action (common_actions, X_("ToggleSessionOptionsEditor"), _("Preferences"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_session_options_window));
- act = ActionManager::register_toggle_action (common_actions, X_("ToggleInspector"), _("Track/Bus Inspector"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_route_params_window));
+ act = ActionManager::register_toggle_action (common_actions, X_("ToggleInspector"), _("Tracks and Busses"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_route_params_window));
ActionManager::session_sensitive_actions.push_back (act);
ActionManager::session_sensitive_actions.push_back (act);
act = ActionManager::register_toggle_action (common_actions, X_("ToggleLocations"), _("Locations"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_location_window));
}
NameChannelDialog::NameChannelDialog ()
- : ArdourDialog (_("Add channel")),
+ : ArdourDialog (_("Add Channel")),
_adding (true)
{
setup ();
}
NameChannelDialog::NameChannelDialog (boost::shared_ptr<Bundle> b, uint32_t c)
- : ArdourDialog (_("Rename channel")),
+ : ArdourDialog (_("Rename Channel")),
_bundle (b),
_channel (c),
_adding (false)
nlabel = manage (new Label (_("Regions")));
nlabel->set_angle (-90);
the_notebook.append_page (_regions->widget (), *nlabel);
- nlabel = manage (new Label (_("Tracks/Busses")));
+ nlabel = manage (new Label (_("Tracks & Busses")));
nlabel->set_angle (-90);
the_notebook.append_page (_routes->widget (), *nlabel);
nlabel = manage (new Label (_("Snapshots")));
int
Editor::playlist_deletion_dialog (boost::shared_ptr<Playlist> pl)
{
- ArdourDialog dialog ("playlist deletion dialog");
+ ArdourDialog dialog (_("Playlist Deletion"));
Label label (string_compose (_("Playlist %1 is currently unused.\n"
"If left alone, no audio files used by it will be cleaned.\n"
"If deleted, audio files used by it alone by will cleaned."),
act = ActionManager::register_action (editor_actions, "select-all-in-loop-range", _("Select All in Loop Range"), sigc::mem_fun(*this, &Editor::select_all_selectables_using_loop));
ActionManager::session_sensitive_actions.push_back (act);
- act = ActionManager::register_action (editor_actions, "select-next-route", _("Select Next Track/Bus"), sigc::mem_fun(*this, &Editor::select_next_route));
+ act = ActionManager::register_action (editor_actions, "select-next-route", _("Select Next Track or Bus"), sigc::mem_fun(*this, &Editor::select_next_route));
ActionManager::session_sensitive_actions.push_back (act);
- act = ActionManager::register_action (editor_actions, "select-prev-route", _("Select Previous Track/Bus"), sigc::mem_fun(*this, &Editor::select_prev_route));
+ act = ActionManager::register_action (editor_actions, "select-prev-route", _("Select Previous Track or Bus"), sigc::mem_fun(*this, &Editor::select_prev_route));
ActionManager::session_sensitive_actions.push_back (act);
act = ActionManager::register_action (editor_actions, "track-record-enable-toggle", _("Toggle Record Enable"), sigc::mem_fun(*this, &Editor::toggle_record_enable));
using namespace ARDOUR;
ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
- ArdourDialog (new_dialog ? _("New export format profile") : _("Edit export format profile")),
+ ArdourDialog (new_dialog ? _("New Export Format Profile") : _("Edit Export Format Profile")),
format (format),
manager (format),
original_state (format->get_state()),
{
set_name ("IOSelectorWindow");
- string title = _("ardour: ");
+ string title = _("Port Insert ");
title += pi->name();
set_title (title);
/*------------------------*/
LocationUIWindow::LocationUIWindow ()
- : ArdourDialog ("locations dialog")
+ : ArdourDialog (_("Locations"))
{
- set_title (_("Locations"));
set_wmclass(X_("ardour_locations"), "Ardour");
set_name ("LocationWindow");
static const char* mode_strings[] = { "duplex", "output", "input", (char*) 0 };
MidiPortDialog::MidiPortDialog ()
- : ArdourDialog ("add MIDI port dialog")
+ : ArdourDialog (_("Add MIDI Port"))
, port_label (_("Port name:"))
{
set_modal (true);
set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("MidiPortDialog"));
- set_title (_("Add MIDI Port"));
-
vector<string> str = internationalize (PACKAGE, mode_strings);
set_popdown_strings (port_mode_combo, str);
port_mode_combo.set_active_text (str.front());
using namespace PBD;
PlaylistSelector::PlaylistSelector ()
- : ArdourDialog ("playlist selector")
+ : ArdourDialog (_("Playlists"))
{
rui = 0;
add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
set_size_request (300, 200);
- set_title (_("Playlists"));
-
model = TreeStore::create (columns);
tree.set_model (model);
tree.append_column (_("Playlists grouped by track"), columns.text);
}
ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s)
- : ArdourDialog (string("Ardour: return ") + r->name())
+ : ArdourDialog (string(_("Return ")) + r->name())
{
ui = new ReturnUI (this, r, s);
using namespace PBD;
RouteGroupDialog::RouteGroupDialog (RouteGroup* g, StockID const & s)
- : ArdourDialog (_("route group dialog")),
+ : ArdourDialog (_("Route Group")),
_group (g),
_active (_("Active")),
_gain (_("Gain")),
set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("RouteGroupDialog"));
- set_title (_("Route Group"));
-
VBox* vbox = manage (new VBox);
Gtk::Label* l;
using namespace Gtkmm2ext;
RouteParams_UI::RouteParams_UI ()
- : ArdourDialog ("track/bus inspector"),
+ : ArdourDialog (_("Tracks and Busses")),
latency_apply_button (Stock::APPLY),
track_menu(0)
{
set_default_size (620,370);
set_wmclass (X_("ardour_route_parameters"), "Ardour");
- set_title (_("Track/Bus Inspector"));
-
// events
route_display.get_selection()->signal_changed().connect(sigc::mem_fun(*this, &RouteParams_UI::route_selected));
route_display.get_column(0)->signal_clicked().connect(sigc::mem_fun(*this, &RouteParams_UI::show_track_menu));
track_menu = new Menu;
track_menu->set_name ("ArdourContextMenu");
track_menu->items().push_back
- (MenuElem (_("Add Track/Bus"),
+ (MenuElem (_("Add Track or Bus"),
sigc::bind (sigc::mem_fun (*(ARDOUR_UI::instance()), &ARDOUR_UI::add_route), (Gtk::Window*) 0)));
}
track_menu->popup (1, gtk_get_current_event_time());
void
RouteParams_UI::update_title ()
{
- WindowTitle title(_("Track/Bus Inspector"));
+ WindowTitle title (_("Tracks and Busses"));
if (_route) {
-
- // title += ": ";
-
- // if (_redirect && (_current_view == PLUGIN_CONFIG_VIEW || _current_view == SEND_CONFIG_VIEW)) {
- // title += _redirect->name();
- // }
- // else if (_current_view == INPUT_CONFIG_VIEW) {
- // title += _("INPUT");
- // }
- // else if (_current_view == OUTPUT_CONFIG_VIEW) {
- // title += _("OUTPUT");
- // }
-
title_label.set_text(_route->name());
-
title += _route->name();
-
set_title(title.get_string());
- }
- else {
- title_label.set_text(_("No Route Selected"));
- title += _("No Route Selected");
+ } else {
+ title_label.set_text(_("No Track or Bus Selected"));
+ title += _("No Track or Bus Selected");
set_title(title.get_string());
}
}
}
SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session)
- : ArdourDialog (string("Ardour: send ") + s->name())
+ : ArdourDialog (string (_("Send ")) + s->name())
{
ui = new SendUI (this, s, session);
using namespace ARDOUR;
SessionImportDialog::SessionImportDialog (ARDOUR::Session* target) :
- ArdourDialog (_("Import from session")),
+ ArdourDialog (_("Import From Session")),
file_browse_button (_("Browse"))
{
set_session (target);