forked from qt-creator/qt-creator
tr()-Fixes for 2.3: Small spelling/notr-fixes.
Change-Id: I66b8b0e20b225429b4399dfca154a2806260ac61 Reviewed-on: http://codereview.qt.nokia.com/483 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QFileInfo>
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
namespace Valgrind {
|
||||
namespace Callgrind {
|
||||
@@ -214,9 +215,9 @@ QString Function::location() const
|
||||
if (f.isEmpty() || f == "???")
|
||||
return o;
|
||||
if (pos.isEmpty())
|
||||
return QObject::tr("%1 in %2").arg(f, o);
|
||||
return QCoreApplication::translate("Valgrind::Callgrind::Function", "%1 in %2").arg(f, o);
|
||||
|
||||
return QObject::tr("%1:%2 in %3").arg(f, pos, o);
|
||||
return QCoreApplication::translate("Valgrind::Callgrind::Function", "%1:%2 in %3").arg(f, pos, o);
|
||||
}
|
||||
|
||||
int Function::lineNumber() const
|
||||
|
||||
Reference in New Issue
Block a user