From 24597de7a2a8d4797a3e6e211081c16b9d494c87 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 30 Dec 2022 19:10:07 +0100 Subject: [PATCH] Make RDF info/warning messages translatable --- libs/ardour/plugin_manager.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 0169597292..b321e5da6d 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -848,10 +848,11 @@ PluginManager::add_lrdf_presets(string domain) for (x = presets.begin(); x != presets.end (); ++x) { const string uri (Glib::filename_to_uri(*x)); - info << "read rdf_file '" << uri << "'" << endmsg; - +#ifndef NDEBUG + info << string_compose (_("Reading RDF %1"), uri) << endmsg; +#endif if (lrdf_read_file(uri.c_str())) { - warning << "Could not parse rdf file: " << uri << endmsg; + warning << string_compose (_("Could not parse RDF %1"), uri) << endmsg; } }