Normalize API rename part 2
[ardour.git] / gtk2_ardour / export_video_dialog.cc
index fc7c3d52be9a04868d7194ff1317acab5e007c1f..fba09e92704c7f0ee4d84163ea966f625aad3e65 100644 (file)
@@ -55,7 +55,7 @@
 #include "opts.h"
 #include "export_video_dialog.h"
 #include "utils_videotl.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace Gtk;
 using namespace std;
@@ -366,7 +366,7 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
 
        float tcfps = _session->timecode_frames_per_second();
 
-       LocaleGuard lg (X_("C"));
+       LocaleGuard lg;
 
        XMLNode* node = _session->extra_xml (X_("Videotimeline"));
        bool filenameset = false;
@@ -482,7 +482,7 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
 XMLNode&
 ExportVideoDialog::get_state ()
 {
-       LocaleGuard lg (X_("C"));
+       LocaleGuard lg;
        XMLNode* node = new XMLNode (X_("Videoexport"));
        node->add_property (X_("ChangeGeometry"), scale_checkbox.get_active() ? X_("1") : X_("0"));
        node->add_property (X_("KeepAspect"), scale_aspect.get_active() ? X_("1") : X_("0"));
@@ -559,7 +559,7 @@ ExportVideoDialog::audio_progress_display ()
        switch (status->active_job) {
                case ExportStatus::Normalizing:
                        pbar.set_text (_("Normalizing audio"));
-                       progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles;
+                       progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles;
                        progress = progress / (_twopass ? 4.0 : 3.0) + (_twopass ? .25 : 1.0 / 3.0);
                        break;
                case ExportStatus::Exporting: