document post-export command placeholders

This commit is contained in:
Robin Gareus 2016-06-07 17:07:37 +02:00
parent 04997080a4
commit 158a660298

View File

@ -59,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),
@ -147,6 +147,24 @@ 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"
"%d File's directory\n"
"%f File's full absolute path\n"
"%n Session name\n"
"%t Title\n"
"%A Album\n"
"%C Comment\n"
"%E Engineer\n"
"%G Genre\n"
"%N Timespan name\n"
"%P Producer\n"
"%T Track number\n"
"%Y Year"
));
/* Format table */
init_format_table();