forked from qt-creator/qt-creator
Fix exclusion pattern tooltip text
It says "included" instead of "excluded". Change-Id: Ib74f2adbc6e6f10a9ff79662e5be609a89fe89d6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -540,10 +540,12 @@ QString msgExclusionPatternLabel()
|
||||
return Tr::tr("Excl&usion pattern:");
|
||||
}
|
||||
|
||||
QString msgFilePatternToolTip()
|
||||
QString msgFilePatternToolTip(InclusionType inclusionType)
|
||||
{
|
||||
return Tr::tr("List of comma separated wildcard filters. "
|
||||
"Files with file name or full file path matching any filter are included.");
|
||||
return Tr::tr("List of comma separated wildcard filters. ")
|
||||
+ (inclusionType == InclusionType::Included
|
||||
? Tr::tr("Files with file name or full file path matching any filter are included.")
|
||||
: Tr::tr("Files with file name or full file path matching any filter are excluded."));
|
||||
}
|
||||
|
||||
QString matchCaseReplacement(const QString &originalText, const QString &replaceText)
|
||||
|
||||
Reference in New Issue
Block a user