{
Session* s = _editor->session();
- _editor->begin_reversible_selection_op (_("Change Time Selection"));
+ _editor->begin_reversible_selection_op (X_("Change Time Selection"));
if (movement_occurred) {
motion (event, false);
/* XXX this is not object-oriented programming at all. ick */
_region->unique_select (_primary);
}
- _editor->begin_reversible_selection_op(_("Select Note Press"));
+ _editor->begin_reversible_selection_op(X_("Select Note Press"));
_editor->commit_reversible_selection_op();
}
}
}
if (changed) {
- _editor->begin_reversible_selection_op(_("Select Note Release"));
+ _editor->begin_reversible_selection_op(X_("Select Note Release"));
_editor->commit_reversible_selection_op();
}
}
Selection::Operation op = ArdourKeyboard::selection_type (button_state);
- _editor->begin_reversible_selection_op (_("rubberband selection"));
+ _editor->begin_reversible_selection_op (X_("rubberband selection"));
_editor->select_all_within (x1, x2 - 1, y1, y2, _editor->track_views, op, false);
void
EditorRubberbandSelectDrag::deselect_things ()
{
- _editor->begin_reversible_selection_op (_("Clear Selection (rubberband)"));
+ _editor->begin_reversible_selection_op (X_("Clear Selection (rubberband)"));
_editor->selection->clear_tracks();
_editor->selection->clear_regions();
void
Editor::set_selected_track (TimeAxisView& view, Selection::Operation op, bool no_remove)
{
- begin_reversible_selection_op(_("Set Selected Track"));
+ begin_reversible_selection_op (X_("Set Selected Track"));
switch (op) {
case Selection::Toggle:
return;
}
- begin_reversible_selection_op (_("set selected regions"));
+ begin_reversible_selection_op (X_("set selected regions"));
switch (op) {
case Selection::Toggle:
return true;
}
- begin_reversible_selection_op (_("set selected regions"));
+ begin_reversible_selection_op (X_("set selected regions"));
selection->set (rv);
return;
}
- begin_reversible_selection_op(_("Select All in Track"));
+ begin_reversible_selection_op (X_("Select All in Track"));
clicked_routeview->get_selectables (0, max_framepos, 0, DBL_MAX, touched);
}
- begin_reversible_selection_op (_("select all"));
+ begin_reversible_selection_op (X_("select all"));
switch (op) {
case Selection::Add:
selection->add (touched);
return;
}
- begin_reversible_selection_op(_("Invert Selection in Track"));
+ begin_reversible_selection_op (X_("Invert Selection in Track"));
clicked_routeview->get_inverted_selectables (*selection, touched);
selection->set (touched);
commit_reversible_selection_op ();
(*iter)->get_inverted_selectables (*selection, touched);
}
- begin_reversible_selection_op(_("Invert Selection"));
+ begin_reversible_selection_op (X_("Invert Selection"));
selection->set (touched);
commit_reversible_selection_op ();
}
}
}
- begin_reversible_selection_op (_("select all within"));
+ begin_reversible_selection_op (X_("select all within"));
switch (op) {
case Selection::Add:
selection->add (found);
void
Editor::set_selection_from_range (Location& loc)
{
- begin_reversible_selection_op (_("set selection from range"));
+ begin_reversible_selection_op (X_("set selection from range"));
selection->set (loc.start(), loc.end());
commit_reversible_selection_op ();
(*iter)->get_selectables (start, end - 1, 0, DBL_MAX, touched);
}
- begin_reversible_selection_op (_("select all from range"));
+ begin_reversible_selection_op (X_("select all from range"));
selection->set (touched);
commit_reversible_selection_op ();
}
}
(*iter)->get_selectables (location->start(), location->end() - 1, 0, DBL_MAX, touched);
}
- begin_reversible_selection_op (_("select all from punch"));
+ begin_reversible_selection_op (X_("select all from punch"));
selection->set (touched);
commit_reversible_selection_op ();
}
(*iter)->get_selectables (location->start(), location->end() - 1, 0, DBL_MAX, touched);
}
- begin_reversible_selection_op (_("select all from loop"));
+ begin_reversible_selection_op (X_("select all from loop"));
selection->set (touched);
commit_reversible_selection_op ();
}
if (after) {
- begin_reversible_selection_op (_("select all after cursor"));
+ begin_reversible_selection_op (X_("select all after cursor"));
} else {
- begin_reversible_selection_op (_("select all before cursor"));
+ begin_reversible_selection_op (X_("select all before cursor"));
}
TrackViewList* ts;
}
if (after) {
- begin_reversible_selection_op (_("select all after edit"));
+ begin_reversible_selection_op (X_("select all after edit"));
} else {
- begin_reversible_selection_op (_("select all before edit"));
+ begin_reversible_selection_op (X_("select all before edit"));
}
TrackViewList* ts;
(*iter)->get_selectables (start, end, 0, DBL_MAX, touched, within);
}
- begin_reversible_selection_op(_("Select all Selectables Between"));
+ begin_reversible_selection_op (X_("Select all Selectables Between"));
selection->set (touched);
commit_reversible_selection_op ();
}
return;
}
- begin_reversible_selection_op(_("Select Range Between"));
+ begin_reversible_selection_op (X_("Select Range Between"));
set_mouse_mode (MouseRange);
selection->set (start, end);
commit_reversible_selection_op ();
void
Editor::deselect_all ()
{
- begin_reversible_selection_op(_("Deselect All"));
+ begin_reversible_selection_op (X_("Deselect All"));
selection->clear ();
commit_reversible_selection_op ();
}
long
Editor::select_range (framepos_t s, framepos_t e)
{
- begin_reversible_selection_op(_("Select Range"));
+ begin_reversible_selection_op (X_("Select Range"));
selection->add (clicked_axisview);
selection->time.clear ();
long ret = selection->set (s, e);
{
uint16_t chn_mask = midi_track()->get_playback_channel_mask();
- _editor.begin_reversible_selection_op(_("Set Note Selection"));
+ _editor.begin_reversible_selection_op (X_("Set Note Selection"));
if (_view->num_selected_regionviews() == 0) {
_view->foreach_regionview (
{
const uint16_t chn_mask = midi_track()->get_playback_channel_mask();
- _editor.begin_reversible_selection_op(_("Add Note Selection"));
+ _editor.begin_reversible_selection_op (X_("Add Note Selection"));
if (_view->num_selected_regionviews() == 0) {
_view->foreach_regionview (
{
const uint16_t chn_mask = midi_track()->get_playback_channel_mask();
- _editor.begin_reversible_selection_op(_("Extend Note Selection"));
+ _editor.begin_reversible_selection_op (X_("Extend Note Selection"));
if (_view->num_selected_regionviews() == 0) {
_view->foreach_regionview (
{
const uint16_t chn_mask = midi_track()->get_playback_channel_mask();
- _editor.begin_reversible_selection_op(_("Toggle Note Selection"));
+ _editor.begin_reversible_selection_op (X_("Toggle Note Selection"));
if (_view->num_selected_regionviews() == 0) {
_view->foreach_regionview (