diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 22b3eea60..37598fa1b 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -570,7 +570,7 @@ void ThemeData::loadFile(const std::map& sysDataMap, // Check for legacy theme version. if (root.child("formatVersion") != nullptr) - throw error << ": Legacy tag found"; + throw error << ": Unsupported tag found"; if (sCurrentTheme->second.capabilities.variants.size() > 0) { for (auto& variant : sCurrentTheme->second.capabilities.variants) @@ -1512,7 +1512,7 @@ void ThemeData::parseIncludes(const pugi::xml_node& root) // Check for legacy theme version. if (root.child("formatVersion") != nullptr) - throw error << ": Legacy tag found"; + throw error << ": Unsupported tag found"; for (pugi::xml_node node {root.child("include")}; node; node = node.next_sibling("include")) { std::string relPath {resolvePlaceholders(node.text().as_string())};