forked from qt-creator/qt-creator
Autotest: Convert to Tr::tr
Change-Id: Ifd4b6ace78d02804ec3b3c1d60c5418081cad6c4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -24,17 +24,18 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "boosttesttreeitem.h"
|
||||
|
||||
#include "boosttestconstants.h"
|
||||
#include "boosttestconfiguration.h"
|
||||
#include "boosttestframework.h"
|
||||
#include "boosttestparser.h"
|
||||
#include "../testframeworkmanager.h"
|
||||
|
||||
#include "../autotesttr.h"
|
||||
#include "../itestframework.h"
|
||||
|
||||
#include <cppeditor/cppmodelmanager.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QRegularExpression>
|
||||
|
||||
namespace Autotest {
|
||||
@@ -333,9 +334,8 @@ ITestConfiguration *BoostTestTreeItem::debugConfiguration() const
|
||||
|
||||
QString BoostTestTreeItem::nameSuffix() const
|
||||
{
|
||||
static QString markups[] = {QCoreApplication::translate("BoostTestTreeItem", "parameterized"),
|
||||
QCoreApplication::translate("BoostTestTreeItem", "fixture"),
|
||||
QCoreApplication::translate("BoostTestTreeItem", "templated")};
|
||||
static QString markups[] = {Tr::tr("parameterized"), Tr::tr("fixture"), Tr::tr("templated")};
|
||||
|
||||
QString suffix;
|
||||
if (m_state & Parameterized)
|
||||
suffix = QString(" [") + markups[0];
|
||||
|
||||
Reference in New Issue
Block a user