summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_dialog.cc
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2012-01-29 09:51:30 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2012-01-29 09:51:30 +0000
commit71a5e435e656d6226feaefc4fe40ceff4dd6deea (patch)
tree0447c1330edd98aa0794a6a2648f9dc3ed8949be /gtk2_ardour/export_dialog.cc
parentaaec2a84803230b93ff13f07514a341a10dab3ee (diff)
Add timespan name to export status text
git-svn-id: svn://localhost/ardour2/branches/3.0@11381 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r--gtk2_ardour/export_dialog.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index c5e20c01ae..3dea7ee1a6 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -262,6 +262,8 @@ ExportDialog::update_warnings ()
list_files_string += it->substr (0, pos + 1) + "<b>" + it->substr (pos + 1) + "</b>\n";
}
}
+
+
}
void
@@ -331,12 +333,12 @@ ExportDialog::progress_timeout ()
std::string status_text;
float progress = 0.0;
if (status->normalizing) {
- status_text = string_compose (_("Normalizing timespan %1 of %2"),
- status->timespan, status->total_timespans);
+ status_text = string_compose (_("Normalizing '%3' (timespan %1 of %2)"),
+ status->timespan, status->total_timespans, status->timespan_name);
progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles;
} else {
- status_text = string_compose (_("Exporting timespan %1 of %2"),
- status->timespan, status->total_timespans);
+ status_text = string_compose (_("Exporting '%3' (timespan %1 of %2)"),
+ status->timespan, status->total_timespans, status->timespan_name);
progress = ((float) status->processed_frames_current_timespan) / status->total_frames_current_timespan;
}
progress_bar.set_text (status_text);