#include "ardour/export_format_specification.h"
-#include "pbd/filesystem.h"
-
#include "gui_thread.h"
#include "utils.h"
#include "i18n.h"
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("");
}