13
0

Consolidate session + template file extensions

This commit is contained in:
Robin Gareus 2017-10-18 19:22:23 +02:00
parent 5c6e2b5802
commit 706805e0ba
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ namespace ARDOUR {
LIBARDOUR_API extern const char* const export_preset_suffix;
LIBARDOUR_API extern const char* const export_format_suffix;
LIBARDOUR_API extern const char* const session_archive_suffix;
LIBARDOUR_API extern const char* const template_archive_suffix;
}

View File

@ -32,6 +32,7 @@ const char* const temp_suffix = X_(".tmp");
const char* const history_suffix = X_(".history");
const char* const export_preset_suffix = X_(".preset");
const char* const export_format_suffix = X_(".format");
const char* const session_archive_suffix = X_(".ardourzip");
const char* const session_archive_suffix = X_(".ardour-session-archive");
const char* const template_archive_suffix = X_(".ardour-template-archive");
}

View File

@ -262,7 +262,7 @@ string inflate_error (int e) {
case 0:
return _("No Error");
case 1:
return _("File extension is not .tar.xz");
return string_compose (_("File extension is not %1"), session_archive_suffix);
case 2:
return _("Archive is empty");
case 3: