mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 15:15:37 +00:00
Adjusted a few log warning messages in ThemeData.
This commit is contained in:
parent
872aaf6b48
commit
d140804dad
|
@ -658,7 +658,7 @@ ThemeData::ThemeCapability ThemeData::parseThemeCapabilities(const std::string&
|
||||||
std::string name {variant.attribute("name").as_string()};
|
std::string name {variant.attribute("name").as_string()};
|
||||||
if (name.empty()) {
|
if (name.empty()) {
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "Found <variant> tag without name attribute, skipping entry in \"" << capFile
|
<< "Found <variant> tag without name attribute, ignoring entry in \"" << capFile
|
||||||
<< "\"";
|
<< "\"";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -703,7 +703,7 @@ ThemeData::ThemeCapability ThemeData::parseThemeCapabilities(const std::string&
|
||||||
if (triggerValue == "") {
|
if (triggerValue == "") {
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "No <trigger> tag value defined for variant \"" << readVariant.name
|
<< "No <trigger> tag value defined for variant \"" << readVariant.name
|
||||||
<< "\", skipping entry in \"" << capFile << "\"";
|
<< "\", ignoring entry in \"" << capFile << "\"";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pugi::xml_node useVariantTag {overrideTag.child("useVariant")};
|
pugi::xml_node useVariantTag {overrideTag.child("useVariant")};
|
||||||
|
@ -712,7 +712,7 @@ ThemeData::ThemeCapability ThemeData::parseThemeCapabilities(const std::string&
|
||||||
if (useVariantValue == "") {
|
if (useVariantValue == "") {
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "No <useVariant> tag value defined for variant \""
|
<< "No <useVariant> tag value defined for variant \""
|
||||||
<< readVariant.name << "\", skipping entry in \"" << capFile
|
<< readVariant.name << "\", ignoring entry in \"" << capFile
|
||||||
<< "\"";
|
<< "\"";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -724,7 +724,7 @@ ThemeData::ThemeCapability ThemeData::parseThemeCapabilities(const std::string&
|
||||||
else {
|
else {
|
||||||
LOG(LogWarning) << "Found an <override> tag without a corresponding "
|
LOG(LogWarning) << "Found an <override> tag without a corresponding "
|
||||||
"<useVariant> tag, "
|
"<useVariant> tag, "
|
||||||
<< "skipping entry for variant \"" << readVariant.name
|
<< "ignoring entry for variant \"" << readVariant.name
|
||||||
<< "\" in \"" << capFile << "\"";
|
<< "\" in \"" << capFile << "\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -732,7 +732,7 @@ ThemeData::ThemeCapability ThemeData::parseThemeCapabilities(const std::string&
|
||||||
else {
|
else {
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "Found an <override> tag without a corresponding <trigger> tag, "
|
<< "Found an <override> tag without a corresponding <trigger> tag, "
|
||||||
<< "skipping entry for variant \"" << readVariant.name << "\" in \""
|
<< "ignoring entry for variant \"" << readVariant.name << "\" in \""
|
||||||
<< capFile << "\"";
|
<< capFile << "\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue