#include "ardour/debug.h"
#include "ardour/filesystem_paths.h"
#include "ardour/mix.h"
-#include "ardour/playlist.h"
+#include "ardour/audioplaylist.h"
#include "ardour/plugin_manager.h"
#include "ardour/process_thread.h"
#include "ardour/profile.h"
AudioRegion::make_property_quarks ();
RouteGroup::make_property_quarks ();
Playlist::make_property_quarks ();
+ AudioPlaylist::make_property_quarks ();
/* this is a useful ready to use PropertyChange that many
things need to check. This avoids having to compose
return OverlapNone;
}
+string
+ARDOUR::translation_kill_path ()
+{
+ return Glib::build_filename (user_config_directory().to_string(), ".love_is_the_language_of_audio");
+}
+
+bool
+ARDOUR::translations_are_disabled ()
+{
+ /* if file does not exist, we don't translate (bundled ardour only) */
+ return Glib::file_test (translation_kill_path(), Glib::FILE_TEST_EXISTS) == false;
+}