Make ArdourDisplay a subclass of ArdourDropdown
[ardour.git] / gtk2_ardour / export_format_dialog.cc
index 1376dab142e771c71fd4d1d2e576fc0918406f42..862401f7043c9bf8e5aea1eb04d5e376a27f72cb 100644 (file)
@@ -23,7 +23,8 @@
 
 #include "export_format_dialog.h"
 #include "gui_thread.h"
-#include "i18n.h"
+#include "tooltips.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 
@@ -58,7 +59,7 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
   silence_end_checkbox (_("Add silence at end:")),
   silence_end_clock ("silence_end", true, "", true, false, true),
 
-  command_label(_("Command to run post-export\n(%f=full path & filename, %d=directory, %b=basename):"), Gtk::ALIGN_LEFT),
+  command_label(_("Command to run post-export\n(%f=file path, %d=directory, %b=basename, see tooltip for more):"), Gtk::ALIGN_LEFT),
 
   format_table (3, 4),
   compatibility_label (_("Compatibility"), Gtk::ALIGN_LEFT),
@@ -119,6 +120,9 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
        normalize_hbox.pack_start (normalize_dbtp_spinbutton, false, false, 2);
        normalize_hbox.pack_start (normalize_dbtp_label, false, false, 0);
 
+       ARDOUR_UI_UTILS::set_tooltip (normalize_loudness_rb,
+                       _("Normalize to EBU-R128 LUFS target loudness without exceeding the given true-peak limit. EBU-R128 normalization is only available for mono and stereo targets, true-peak works for any channel layout."));
+
        normalize_dbfs_spinbutton.configure (normalize_dbfs_adjustment, 0.1, 2);
        normalize_lufs_spinbutton.configure (normalize_lufs_adjustment, 0.1, 2);
        normalize_dbtp_spinbutton.configure (normalize_dbtp_adjustment, 0.1, 2);
@@ -143,6 +147,33 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
        get_vbox()->pack_start (command_label, false, false);
        get_vbox()->pack_start (command_entry, false, false);
 
+       ARDOUR_UI_UTILS::set_tooltip (command_entry,
+                       _(
+                               "%a Artist name\n"
+                               "%b File's base-name\n"
+                               "%c Copyright\n"
+                               "%d File's directory\n"
+                               "%f File's full absolute path\n"
+                               "%l Lyricist\n"
+                               "%n Session name\n"
+                               "%o Conductor\n"
+                               "%t Title\n"
+                               "%z Organization\n"
+                               "%A Album\n"
+                               "%C Comment\n"
+                               "%E Engineer\n"
+                               "%G Genre\n"
+                               "%L Total track count\n"
+                               "%M Mixer\n"
+                               "%N Timespan name\n"
+                               "%O Composer\n"
+                               "%P Producer\n"
+                               "%S Disc subtitle\n"
+                               "%T Track number\n"
+                               "%Y Year\n"
+                               "%Z Country"
+                        ));
+
        /* Format table */
 
        init_format_table();