#include "ardour/export_format_specification.h"
-#include "pbd/filesystem.h"
-
#include "gui_thread.h"
#include "utils.h"
#include "i18n.h"
/* Last page */
new_file_button.set_image (*Gtk::manage (new Gtk::Image (::get_icon("add"))));
- new_file_button.set_label (_(" Click here to add another format"));
+ new_file_button.set_label (_("Add another format"));
new_file_button.set_alignment (0, 0.5);
new_file_button.set_relief (Gtk::RELIEF_NONE);
if (format_state && format_state->format) {
return format_state->format->name();
}
- return "No format!";
+ return _("No format!");
}
void
void
ExportFileNotebook::FilePage::update_tab_label ()
{
- tab_label.set_text (string_compose ("Format %1: %2", tab_number, get_format_name()));
+ tab_label.set_text (string_compose (_("Format %1: %2"), tab_number, get_format_name()));
}
void
}
if (example != "") {
- sys::path path(example);
- filename_selector.set_example_filename(path.leaf());
+ filename_selector.set_example_filename(Glib::path_get_basename (example));
} else {
filename_selector.set_example_filename("");
}