This commit is contained in:
Rasmus Karlsson 2024-11-06 18:06:49 +01:00
parent 8a69861ead
commit 56ba1ca2ee
No known key found for this signature in database

View file

@ -505,21 +505,22 @@ void TwitchIrcServer::initialize()
if (hideBlockedTerms) if (hideBlockedTerms)
{ {
action.reason = action.reason =
u"matches %1 blocked term%2"_s.arg( u"matches %1 blocked term%2"_s
numBlockedTermsMatched, .arg(numBlockedTermsMatched)
numBlockedTermsMatched > 1 ? u"s" .arg(numBlockedTermsMatched > 1
: ""); ? u"s"
: u"");
} }
else else
{ {
action.reason = action.reason =
u"matches %1 blocked term%2 \"%3\""_s u"matches %1 blocked term%2 \"%3\""_s
.arg(numBlockedTermsMatched, .arg(numBlockedTermsMatched)
numBlockedTermsMatched > 1 .arg(numBlockedTermsMatched > 1
? u"s" ? u"s"
: "", : u"")
msg.blockedTermsFound.join( .arg(msg.blockedTermsFound.join(
u"\", \"")); u"\", \""));
} }
} }
else else