A little copy-editing.

git-svn-id: svn://localhost/ardour2/branches/3.0@7046 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-05-02 23:54:25 +00:00
parent c2da4ec8f9
commit 1b9bf21aa4
16 changed files with 25 additions and 52 deletions

View file

@ -62,7 +62,7 @@ std::vector<std::string> AddRouteDialog::track_mode_strings;
std::vector<std::string> AddRouteDialog::bus_mode_strings; std::vector<std::string> AddRouteDialog::bus_mode_strings;
AddRouteDialog::AddRouteDialog (Session* s) AddRouteDialog::AddRouteDialog (Session* s)
: ArdourDialog (X_("add route dialog")) : ArdourDialog (_("Add Track or Bus"))
, routes_adjustment (1, 1, 128, 1, 4) , routes_adjustment (1, 1, 128, 1, 4)
, routes_spinner (routes_adjustment) , routes_spinner (routes_adjustment)
, mode_label (_("Track mode:")) , mode_label (_("Track mode:"))
@ -91,8 +91,6 @@ AddRouteDialog::AddRouteDialog (Session* s)
set_skip_taskbar_hint (true); set_skip_taskbar_hint (true);
set_resizable (false); set_resizable (false);
set_title (_("Add Track/Bus"));
name_template_entry.set_name (X_("AddRouteDialogNameTemplateEntry")); name_template_entry.set_name (X_("AddRouteDialogNameTemplateEntry"));
routes_spinner.set_name (X_("AddRouteDialogSpinner")); routes_spinner.set_name (X_("AddRouteDialogSpinner"));
channel_combo.set_name (X_("ChannelCountSelector")); channel_combo.set_name (X_("ChannelCountSelector"));

View file

@ -2020,7 +2020,7 @@ ARDOUR_UI::snapshot_session (bool switch_to_it)
vector<string> n = get_file_names_no_extension (p); vector<string> n = get_file_names_no_extension (p);
if (find (n.begin(), n.end(), snapname) != n.end()) { 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?")); Label m (_("A snapshot already exists with that name. Do you want to overwrite it?"));
confirm.get_vbox()->pack_start (m, true, true); confirm.get_vbox()->pack_start (m, true, true);
confirm.add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); confirm.add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);

View file

@ -120,7 +120,7 @@ ARDOUR_UI::install_actions ()
act = ActionManager::register_action (main_actions, X_("Close"), _("Close"), sigc::mem_fun(*this, &ARDOUR_UI::close_session)); act = ActionManager::register_action (main_actions, X_("Close"), _("Close"), sigc::mem_fun(*this, &ARDOUR_UI::close_session));
ActionManager::session_sensitive_actions.push_back (act); 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)); sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::add_route), (Gtk::Window*) 0));
ActionManager::session_sensitive_actions.push_back (act); ActionManager::session_sensitive_actions.push_back (act);
ActionManager::write_sensitive_actions.push_back (act); ActionManager::write_sensitive_actions.push_back (act);
@ -218,7 +218,7 @@ ARDOUR_UI::install_actions ()
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_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_("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)); 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);
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)); act = ActionManager::register_toggle_action (common_actions, X_("ToggleLocations"), _("Locations"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_location_window));

View file

@ -435,14 +435,14 @@ BundleManager::row_activated (Gtk::TreeModel::Path const & p, Gtk::TreeViewColum
} }
NameChannelDialog::NameChannelDialog () NameChannelDialog::NameChannelDialog ()
: ArdourDialog (_("Add channel")), : ArdourDialog (_("Add Channel")),
_adding (true) _adding (true)
{ {
setup (); setup ();
} }
NameChannelDialog::NameChannelDialog (boost::shared_ptr<Bundle> b, uint32_t c) NameChannelDialog::NameChannelDialog (boost::shared_ptr<Bundle> b, uint32_t c)
: ArdourDialog (_("Rename channel")), : ArdourDialog (_("Rename Channel")),
_bundle (b), _bundle (b),
_channel (c), _channel (c),
_adding (false) _adding (false)

View file

@ -547,7 +547,7 @@ Editor::Editor ()
nlabel = manage (new Label (_("Regions"))); nlabel = manage (new Label (_("Regions")));
nlabel->set_angle (-90); nlabel->set_angle (-90);
the_notebook.append_page (_regions->widget (), *nlabel); the_notebook.append_page (_regions->widget (), *nlabel);
nlabel = manage (new Label (_("Tracks/Busses"))); nlabel = manage (new Label (_("Tracks & Busses")));
nlabel->set_angle (-90); nlabel->set_angle (-90);
the_notebook.append_page (_routes->widget (), *nlabel); the_notebook.append_page (_routes->widget (), *nlabel);
nlabel = manage (new Label (_("Snapshots"))); nlabel = manage (new Label (_("Snapshots")));
@ -3879,7 +3879,7 @@ Editor::session_range_location_changed (Location* location)
int int
Editor::playlist_deletion_dialog (boost::shared_ptr<Playlist> pl) 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" Label label (string_compose (_("Playlist %1 is currently unused.\n"
"If left alone, no audio files used by it will be cleaned.\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."), "If deleted, audio files used by it alone by will cleaned."),

View file

@ -200,9 +200,9 @@ Editor::register_actions ()
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)); 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); 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); 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); 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)); act = ActionManager::register_action (editor_actions, "track-record-enable-toggle", _("Toggle Record Enable"), sigc::mem_fun(*this, &Editor::toggle_record_enable));

View file

@ -28,7 +28,7 @@
using namespace ARDOUR; using namespace ARDOUR;
ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) : 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), format (format),
manager (format), manager (format),
original_state (format->get_state()), original_state (format->get_state()),

View file

@ -322,7 +322,7 @@ PortInsertWindow::PortInsertWindow (ARDOUR::Session* sess, boost::shared_ptr<ARD
{ {
set_name ("IOSelectorWindow"); set_name ("IOSelectorWindow");
string title = _("ardour: "); string title = _("Port Insert ");
title += pi->name(); title += pi->name();
set_title (title); set_title (title);

View file

@ -896,9 +896,8 @@ LocationUI::session_going_away()
/*------------------------*/ /*------------------------*/
LocationUIWindow::LocationUIWindow () LocationUIWindow::LocationUIWindow ()
: ArdourDialog ("locations dialog") : ArdourDialog (_("Locations"))
{ {
set_title (_("Locations"));
set_wmclass(X_("ardour_locations"), "Ardour"); set_wmclass(X_("ardour_locations"), "Ardour");
set_name ("LocationWindow"); set_name ("LocationWindow");

View file

@ -17,7 +17,7 @@ using namespace Gtkmm2ext;
static const char* mode_strings[] = { "duplex", "output", "input", (char*) 0 }; static const char* mode_strings[] = { "duplex", "output", "input", (char*) 0 };
MidiPortDialog::MidiPortDialog () MidiPortDialog::MidiPortDialog ()
: ArdourDialog ("add MIDI port dialog") : ArdourDialog (_("Add MIDI Port"))
, port_label (_("Port name:")) , port_label (_("Port name:"))
{ {
set_modal (true); set_modal (true);
@ -26,8 +26,6 @@ MidiPortDialog::MidiPortDialog ()
set_position (Gtk::WIN_POS_MOUSE); set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("MidiPortDialog")); set_name (N_("MidiPortDialog"));
set_title (_("Add MIDI Port"));
vector<string> str = internationalize (PACKAGE, mode_strings); vector<string> str = internationalize (PACKAGE, mode_strings);
set_popdown_strings (port_mode_combo, str); set_popdown_strings (port_mode_combo, str);
port_mode_combo.set_active_text (str.front()); port_mode_combo.set_active_text (str.front());

View file

@ -42,7 +42,7 @@ using namespace ARDOUR;
using namespace PBD; using namespace PBD;
PlaylistSelector::PlaylistSelector () PlaylistSelector::PlaylistSelector ()
: ArdourDialog ("playlist selector") : ArdourDialog (_("Playlists"))
{ {
rui = 0; rui = 0;
@ -52,8 +52,6 @@ PlaylistSelector::PlaylistSelector ()
add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK); add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
set_size_request (300, 200); set_size_request (300, 200);
set_title (_("Playlists"));
model = TreeStore::create (columns); model = TreeStore::create (columns);
tree.set_model (model); tree.set_model (model);
tree.append_column (_("Playlists grouped by track"), columns.text); tree.append_column (_("Playlists grouped by track"), columns.text);

View file

@ -99,7 +99,7 @@ ReturnUI::fast_update ()
} }
ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s) 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); ui = new ReturnUI (this, r, s);

View file

@ -30,7 +30,7 @@ using namespace std;
using namespace PBD; using namespace PBD;
RouteGroupDialog::RouteGroupDialog (RouteGroup* g, StockID const & s) RouteGroupDialog::RouteGroupDialog (RouteGroup* g, StockID const & s)
: ArdourDialog (_("route group dialog")), : ArdourDialog (_("Route Group")),
_group (g), _group (g),
_active (_("Active")), _active (_("Active")),
_gain (_("Gain")), _gain (_("Gain")),
@ -47,8 +47,6 @@ RouteGroupDialog::RouteGroupDialog (RouteGroup* g, StockID const & s)
set_position (Gtk::WIN_POS_MOUSE); set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("RouteGroupDialog")); set_name (N_("RouteGroupDialog"));
set_title (_("Route Group"));
VBox* vbox = manage (new VBox); VBox* vbox = manage (new VBox);
Gtk::Label* l; Gtk::Label* l;

View file

@ -60,7 +60,7 @@ using namespace Gtk;
using namespace Gtkmm2ext; using namespace Gtkmm2ext;
RouteParams_UI::RouteParams_UI () RouteParams_UI::RouteParams_UI ()
: ArdourDialog ("track/bus inspector"), : ArdourDialog (_("Tracks and Busses")),
latency_apply_button (Stock::APPLY), latency_apply_button (Stock::APPLY),
track_menu(0) track_menu(0)
{ {
@ -145,8 +145,6 @@ RouteParams_UI::RouteParams_UI ()
set_default_size (620,370); set_default_size (620,370);
set_wmclass (X_("ardour_route_parameters"), "Ardour"); set_wmclass (X_("ardour_route_parameters"), "Ardour");
set_title (_("Track/Bus Inspector"));
// events // events
route_display.get_selection()->signal_changed().connect(sigc::mem_fun(*this, &RouteParams_UI::route_selected)); 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)); route_display.get_column(0)->signal_clicked().connect(sigc::mem_fun(*this, &RouteParams_UI::show_track_menu));
@ -509,7 +507,7 @@ RouteParams_UI::show_track_menu()
track_menu = new Menu; track_menu = new Menu;
track_menu->set_name ("ArdourContextMenu"); track_menu->set_name ("ArdourContextMenu");
track_menu->items().push_back 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))); sigc::bind (sigc::mem_fun (*(ARDOUR_UI::instance()), &ARDOUR_UI::add_route), (Gtk::Window*) 0)));
} }
track_menu->popup (1, gtk_get_current_event_time()); track_menu->popup (1, gtk_get_current_event_time());
@ -610,31 +608,15 @@ RouteParams_UI::processor_going_away (boost::weak_ptr<ARDOUR::Processor> wproc)
void void
RouteParams_UI::update_title () RouteParams_UI::update_title ()
{ {
WindowTitle title(_("Track/Bus Inspector")); WindowTitle title (_("Tracks and Busses"));
if (_route) { 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_label.set_text(_route->name());
title += _route->name(); title += _route->name();
set_title(title.get_string()); set_title(title.get_string());
} } else {
else { title_label.set_text(_("No Track or Bus Selected"));
title_label.set_text(_("No Route Selected")); title += _("No Track or Bus Selected");
title += _("No Route Selected");
set_title(title.get_string()); set_title(title.get_string());
} }
} }

View file

@ -119,7 +119,7 @@ SendUI::fast_update ()
} }
SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session) 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); ui = new SendUI (this, s, session);

View file

@ -38,7 +38,7 @@ using namespace std;
using namespace ARDOUR; using namespace ARDOUR;
SessionImportDialog::SessionImportDialog (ARDOUR::Session* target) : SessionImportDialog::SessionImportDialog (ARDOUR::Session* target) :
ArdourDialog (_("Import from session")), ArdourDialog (_("Import From Session")),
file_browse_button (_("Browse")) file_browse_button (_("Browse"))
{ {
set_session (target); set_session (target);