Slight adjustment of wording in Quick Audio Export
This commit is contained in:
parent
6c575d0ced
commit
edc19e2b7d
@ -76,14 +76,14 @@ SimpleExportDialog::SimpleExportDialog (PublicEditor& editor)
|
|||||||
|
|
||||||
#undef LBL
|
#undef LBL
|
||||||
|
|
||||||
_post_export_combo.append (_("open the folder where files are exported to."));
|
_post_export_combo.append (_("Open the folder where files are exported"));
|
||||||
_post_export_combo.append (_("do nothing."));
|
_post_export_combo.append (_("Do nothing"));
|
||||||
_post_export_combo.set_active (0);
|
_post_export_combo.set_active (0);
|
||||||
|
|
||||||
get_vbox ()->pack_start (*t, false, false);
|
get_vbox ()->pack_start (*t, false, false);
|
||||||
|
|
||||||
_cancel_button = add_button (Gtk::Stock::CANCEL, RESPONSE_CANCEL);
|
_cancel_button = add_button (Gtk::Stock::CANCEL, RESPONSE_CANCEL);
|
||||||
_export_button = add_button (_("Export"), RESPONSE_OK);
|
_export_button = add_button (_("_Export"), RESPONSE_OK);
|
||||||
_cancel_button->signal_clicked ().connect (sigc::mem_fun (*this, &SimpleExportDialog::close_dialog));
|
_cancel_button->signal_clicked ().connect (sigc::mem_fun (*this, &SimpleExportDialog::close_dialog));
|
||||||
_export_button->signal_clicked ().connect (sigc::mem_fun (*this, &SimpleExportDialog::start_export));
|
_export_button->signal_clicked ().connect (sigc::mem_fun (*this, &SimpleExportDialog::start_export));
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ SimpleExportDialog::set_session (ARDOUR::Session* s)
|
|||||||
_eps.set_manager (_manager);
|
_eps.set_manager (_manager);
|
||||||
|
|
||||||
if (!check_outputs ()) {
|
if (!check_outputs ()) {
|
||||||
set_error ("Error: Session has no master-bus");
|
set_error ("Error: Session has no master bus");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,11 +151,11 @@ SimpleExportDialog::set_session (ARDOUR::Session* s)
|
|||||||
bool ok = false;
|
bool ok = false;
|
||||||
if (!tsel.empty ()) {
|
if (!tsel.empty ()) {
|
||||||
ok = true;
|
ok = true;
|
||||||
_range_combo.append (_("using time selection."));
|
_range_combo.append (_("Using time selection"));
|
||||||
}
|
}
|
||||||
if (srl) {
|
if (srl) {
|
||||||
ok = true;
|
ok = true;
|
||||||
_range_combo.append (_("from session start marker to session end marker.")); // same text as ExportVideoDialog::apply_state
|
_range_combo.append (_("Session start to session end")); // same text as ExportVideoDialog::apply_state
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
@ -192,7 +192,7 @@ SimpleExportDialog::start_export ()
|
|||||||
TimeSelection const& tsel (_editor.get_selection ().time);
|
TimeSelection const& tsel (_editor.get_selection ().time);
|
||||||
|
|
||||||
std::string range = _range_combo.get_active_text ();
|
std::string range = _range_combo.get_active_text ();
|
||||||
if (!tsel.empty () && range == _("using time selection.")) {
|
if (!tsel.empty () && range == _("Using time selection")) {
|
||||||
set_range (tsel.start_sample (), tsel.end_sample ());
|
set_range (tsel.start_sample (), tsel.end_sample ());
|
||||||
SimpleExport::set_name (string_compose (_("%1 (selection)"), SimpleExport::_session->snap_name ()));
|
SimpleExport::set_name (string_compose (_("%1 (selection)"), SimpleExport::_session->snap_name ()));
|
||||||
} else {
|
} else {
|
||||||
@ -202,7 +202,7 @@ SimpleExportDialog::start_export ()
|
|||||||
|
|
||||||
SimpleExport::_session->add_extra_xml (get_state ());
|
SimpleExport::_session->add_extra_xml (get_state ());
|
||||||
|
|
||||||
_cancel_button->set_label (_("Stop Export"));
|
_cancel_button->set_label (_("_Abort"));
|
||||||
_export_button->set_sensitive (false);
|
_export_button->set_sensitive (false);
|
||||||
_progress_bar.set_fraction (0.0);
|
_progress_bar.set_fraction (0.0);
|
||||||
_progress_bar.show ();
|
_progress_bar.show ();
|
||||||
@ -221,7 +221,7 @@ SimpleExportDialog::start_export ()
|
|||||||
PBD::open_folder (folder ());
|
PBD::open_folder (folder ());
|
||||||
}
|
}
|
||||||
if (!ARDOUR::Profile->get_mixbus ()) {
|
if (!ARDOUR::Profile->get_mixbus ()) {
|
||||||
NagScreen* ns = NagScreen::maybe_nag (_("export"));
|
NagScreen* ns = NagScreen::maybe_nag (_("Export"));
|
||||||
if (ns) {
|
if (ns) {
|
||||||
ns->nag ();
|
ns->nag ();
|
||||||
delete ns;
|
delete ns;
|
||||||
@ -229,7 +229,7 @@ SimpleExportDialog::start_export ()
|
|||||||
}
|
}
|
||||||
} else if (!_status->aborted ()) {
|
} else if (!_status->aborted ()) {
|
||||||
hide ();
|
hide ();
|
||||||
std::string txt = _("Export has been aborted due to an error!\nSee the Log for details.");
|
std::string txt = _("Export has been aborted due to an error!\nSee the Log window for details.");
|
||||||
Gtk::MessageDialog msg (txt, false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
|
Gtk::MessageDialog msg (txt, false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
|
||||||
msg.run ();
|
msg.run ();
|
||||||
}
|
}
|
||||||
@ -263,7 +263,7 @@ SimpleExportDialog::progress_timeout ()
|
|||||||
case ExportStatus::Uploading:
|
case ExportStatus::Uploading:
|
||||||
break;
|
break;
|
||||||
case ExportStatus::Command:
|
case ExportStatus::Command:
|
||||||
status_text = string_compose (_("Running Post Export Command for '%1'"), _status->timespan_name);
|
status_text = string_compose (_("Running Post-Export Command for '%1'"), _status->timespan_name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user