add to LUA API (new Stripable API)
[ardour.git] / gtk2_ardour / export_format_dialog.cc
index bafadc72388a62dda49c06f84ae3d27ab9d238ad..6062d515003d90c76bca11f39e530c3b3b839625 100644 (file)
 
 */
 
+#include <gtkmm/stock.h>
+
 #include "ardour/session.h"
 #include "ardour/export_format_specification.h"
 
+#include "widgets/tooltips.h"
+
 #include "export_format_dialog.h"
 #include "gui_thread.h"
-#include "tooltips.h"
-#include "i18n.h"
+
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 
@@ -59,7 +63,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),
@@ -120,8 +124,8 @@ 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 loudness to not exceed given EBU-R128/RMS LUFS and given true-peak. EBU-R128 normalization is only available for mono and stereo targets."));
+       ArdourWidgets::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);
@@ -147,6 +151,33 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
        get_vbox()->pack_start (command_label, false, false);
        get_vbox()->pack_start (command_entry, false, false);
 
+       ArdourWidgets::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();