forked from qt-creator/qt-creator
Prefix Tr::tr contexts with ::
To make outliers better visible in Linguist Change-Id: Ic35ea2a858b7e3576d9a416fb494fddb616eaaa1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -104,7 +104,7 @@ static QString makeFrameName(const Frame &frame, bool withLocation)
|
||||
if (!fn.isEmpty()) {
|
||||
const QString location = withLocation || path == frame.object()
|
||||
? QString::fromLatin1(" in %2").arg(path) : QString();
|
||||
return QCoreApplication::translate("Valgrind", "%1%2").arg(fn, location);
|
||||
return Tr::tr("%1%2").arg(fn, location);
|
||||
}
|
||||
if (!path.isEmpty())
|
||||
return path;
|
||||
@@ -113,8 +113,7 @@ static QString makeFrameName(const Frame &frame, bool withLocation)
|
||||
|
||||
QString ErrorListModel::errorLocation(const Error &error) const
|
||||
{
|
||||
return QCoreApplication::translate("Valgrind", "in %1")
|
||||
.arg(makeFrameName(findRelevantFrame(error), true));
|
||||
return Tr::tr("in %1").arg(makeFrameName(findRelevantFrame(error), true));
|
||||
}
|
||||
|
||||
void ErrorListModel::addError(const Error &error)
|
||||
|
||||
Reference in New Issue
Block a user