From 86c4732517549ff84a777f2a505568a36711586b Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 13 Mar 2019 03:05:40 +0100 Subject: [PATCH] Small tweaks for OSC ports not available messages Signed-off-by: falkTX --- source/backend/CarlaStandalone.cpp | 4 ++-- source/native-plugins/resources/carla-plugin | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/backend/CarlaStandalone.cpp b/source/backend/CarlaStandalone.cpp index ab9c92384..dd995033f 100644 --- a/source/backend/CarlaStandalone.cpp +++ b/source/backend/CarlaStandalone.cpp @@ -2080,7 +2080,7 @@ const char* carla_get_host_osc_url_tcp() if (path != nullptr && path[0] != '\0') return path; - static const char* const notAvailable = "OSC TCP port not available"; + static const char* const notAvailable = "(OSC TCP port not available)"; return notAvailable; #else return gNullCharPtr; @@ -2104,7 +2104,7 @@ const char* carla_get_host_osc_url_udp() if (path != nullptr && path[0] != '\0') return path; - static const char* const notAvailable = "OSC UDP port not available"; + static const char* const notAvailable = "(OSC UDP port not available)"; return notAvailable; #else return gNullCharPtr; diff --git a/source/native-plugins/resources/carla-plugin b/source/native-plugins/resources/carla-plugin index ec4e2a369..79074c8e0 100755 --- a/source/native-plugins/resources/carla-plugin +++ b/source/native-plugins/resources/carla-plugin @@ -74,6 +74,9 @@ class PluginHost(CarlaHostQtPlugin): def set_engine_about_to_close(self): return True + def get_host_osc_url_tcp(self): + return self.tr("(OSC TCP port not provided in Plugin version)") + # ------------------------------------------------------------------------------------------------------------ # Main Window