Translations: Add missing "::" prefixes to QT_TRANSLATE_NOOP

Change-Id: I7589a2d4003394e38e58c095b510f8eff33263b8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2023-02-07 16:47:34 +01:00
parent 8a8b50e8b5
commit 2356f28647
18 changed files with 107 additions and 107 deletions

View File

@@ -10,7 +10,7 @@ namespace BoostTest {
namespace Constants { namespace Constants {
const char FRAMEWORK_NAME[] = "Boost"; const char FRAMEWORK_NAME[] = "Boost";
const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("Autotest", "Boost Test"); const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("::Autotest", "Boost Test");
const unsigned FRAMEWORK_PRIORITY = 11; const unsigned FRAMEWORK_PRIORITY = 11;
const char BOOST_MASTER_SUITE[] = "Master Test Suite"; const char BOOST_MASTER_SUITE[] = "Master Test Suite";

View File

@@ -10,7 +10,7 @@ namespace GTest {
namespace Constants { namespace Constants {
const char FRAMEWORK_NAME[] = "GTest"; const char FRAMEWORK_NAME[] = "GTest";
const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("Autotest", "Google Test"); const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("::Autotest", "Google Test");
const unsigned FRAMEWORK_PRIORITY = 10; const unsigned FRAMEWORK_PRIORITY = 10;
const char DEFAULT_FILTER[] = "*.*"; const char DEFAULT_FILTER[] = "*.*";

View File

@@ -10,7 +10,7 @@ namespace QtTest {
namespace Constants { namespace Constants {
const char FRAMEWORK_NAME[] = "QtTest"; const char FRAMEWORK_NAME[] = "QtTest";
const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("Autotest", "Qt Test"); const char FRAMEWORK_SETTINGS_CATEGORY[] = QT_TRANSLATE_NOOP("::Autotest", "Qt Test");
const unsigned FRAMEWORK_PRIORITY = 1; const unsigned FRAMEWORK_PRIORITY = 1;
} // namespace Constants } // namespace Constants

View File

@@ -39,7 +39,7 @@ const char sourceSearchPathsKeyC[] = "SourceSearchPaths";
const char headerPragmaOnceC[] = "HeaderPragmaOnce"; const char headerPragmaOnceC[] = "HeaderPragmaOnce";
const char licenseTemplatePathKeyC[] = "LicenseTemplate"; const char licenseTemplatePathKeyC[] = "LicenseTemplate";
const char *licenseTemplateTemplate = QT_TRANSLATE_NOOP("CppEditor", const char *licenseTemplateTemplate = QT_TRANSLATE_NOOP("::CppEditor",
"/**************************************************************************\n" "/**************************************************************************\n"
"** %1 license header template\n" "** %1 license header template\n"
"** Special keywords: %USER% %DATE% %YEAR%\n" "** Special keywords: %USER% %DATE% %YEAR%\n"

View File

@@ -31,8 +31,8 @@ public:
switch (role) { switch (role) {
case Qt::DisplayRole: case Qt::DisplayRole:
if (parent()->childCount() > 1) if (parent()->childCount() > 1)
return QString(QT_TRANSLATE_NOOP("CppEditor", "<Select Symbol>")); return QString(QT_TRANSLATE_NOOP("::CppEditor", "<Select Symbol>"));
return QString(QT_TRANSLATE_NOOP("CppEditor", "<No Symbols>")); return QString(QT_TRANSLATE_NOOP("::CppEditor", "<No Symbols>"));
default: default:
return QVariant(); return QVariant();
} }

View File

@@ -33,12 +33,12 @@ struct EventsDescription {
// Parameters of the "sxe" command // Parameters of the "sxe" command
const EventsDescription eventDescriptions[] = const EventsDescription eventDescriptions[] =
{ {
{"eh", false, QT_TRANSLATE_NOOP("Debugger", "C++ exception")}, {"eh", false, QT_TRANSLATE_NOOP("::Debugger", "C++ exception")},
{"ct", false, QT_TRANSLATE_NOOP("Debugger", "Thread creation")}, {"ct", false, QT_TRANSLATE_NOOP("::Debugger", "Thread creation")},
{"et", false, QT_TRANSLATE_NOOP("Debugger", "Thread exit")}, {"et", false, QT_TRANSLATE_NOOP("::Debugger", "Thread exit")},
{"ld", true, QT_TRANSLATE_NOOP("Debugger", "Load module:")}, {"ld", true, QT_TRANSLATE_NOOP("::Debugger", "Load module:")},
{"ud", true, QT_TRANSLATE_NOOP("Debugger", "Unload module:")}, {"ud", true, QT_TRANSLATE_NOOP("::Debugger", "Unload module:")},
{"out", true, QT_TRANSLATE_NOOP("Debugger", "Output:")} {"out", true, QT_TRANSLATE_NOOP("::Debugger", "Output:")}
}; };
static inline int indexOfEvent(const QString &abbrev) static inline int indexOfEvent(const QString &abbrev)

View File

@@ -11,10 +11,10 @@ namespace Constants {
const char INFO_READ_ONLY[] = "DesignerXmlEditor.ReadOnly"; const char INFO_READ_ONLY[] = "DesignerXmlEditor.ReadOnly";
const char K_DESIGNER_XML_EDITOR_ID[] = "FormEditor.DesignerXmlEditor"; const char K_DESIGNER_XML_EDITOR_ID[] = "FormEditor.DesignerXmlEditor";
const char C_DESIGNER_XML_EDITOR[] = "Designer Xml Editor"; const char C_DESIGNER_XML_EDITOR[] = "Designer Xml Editor";
const char C_DESIGNER_XML_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("Designer", "Form Editor"); const char C_DESIGNER_XML_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::Designer", "Form Editor");
const char SETTINGS_CATEGORY[] = "P.Designer"; const char SETTINGS_CATEGORY[] = "P.Designer";
const char SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("Designer", "Designer"); const char SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("::Designer", "Designer");
// Context // Context
const char C_FORMEDITOR[] = "FormEditor.FormEditor"; const char C_FORMEDITOR[] = "FormEditor.FormEditor";

View File

@@ -34,14 +34,14 @@ const char HELP_SEARCH[] = "Help.Search";
const char HELP_BOOKMARKS[] = "Help.Bookmarks"; const char HELP_BOOKMARKS[] = "Help.Bookmarks";
const char HELP_OPENPAGES[] = "Help.OpenPages"; const char HELP_OPENPAGES[] = "Help.OpenPages";
static const char SB_INDEX[] = QT_TRANSLATE_NOOP("Help", "Index"); static const char SB_INDEX[] = QT_TRANSLATE_NOOP("::Help", "Index");
static const char SB_CONTENTS[] = QT_TRANSLATE_NOOP("Help", "Contents"); static const char SB_CONTENTS[] = QT_TRANSLATE_NOOP("::Help", "Contents");
static const char SB_BOOKMARKS[] = QT_TRANSLATE_NOOP("Help", "Bookmarks"); static const char SB_BOOKMARKS[] = QT_TRANSLATE_NOOP("::Help", "Bookmarks");
static const char SB_OPENPAGES[] = QT_TRANSLATE_NOOP("Help", "Open Pages"); static const char SB_OPENPAGES[] = QT_TRANSLATE_NOOP("::Help", "Open Pages");
static const char SB_SEARCH[] = QT_TRANSLATE_NOOP("Help", "Search"); static const char SB_SEARCH[] = QT_TRANSLATE_NOOP("::Help", "Search");
static const char TR_OPEN_LINK_AS_NEW_PAGE[] = QT_TRANSLATE_NOOP("Help", "Open Link as New Page"); static const char TR_OPEN_LINK_AS_NEW_PAGE[] = QT_TRANSLATE_NOOP("::Help", "Open Link as New Page");
static const char TR_OPEN_LINK_IN_WINDOW[] = QT_TRANSLATE_NOOP("Help", "Open Link in Window"); static const char TR_OPEN_LINK_IN_WINDOW[] = QT_TRANSLATE_NOOP("::Help", "Open Link in Window");
} // Constants } // Constants
} // Help } // Help

View File

@@ -52,7 +52,7 @@ const char C_NIMCODESTYLESETTINGSPAGE_CATEGORY[] = "Z.Nim";
const char C_NIMTOOLSSETTINGSPAGE_ID[] = "Nim.NimToolsSettings"; const char C_NIMTOOLSSETTINGSPAGE_ID[] = "Nim.NimToolsSettings";
const char C_NIMTOOLSSETTINGSPAGE_CATEGORY[] = "Z.Nim"; const char C_NIMTOOLSSETTINGSPAGE_CATEGORY[] = "Z.Nim";
const char C_NIMLANGUAGE_NAME[] = QT_TRANSLATE_NOOP("Nim", "Nim"); const char C_NIMLANGUAGE_NAME[] = QT_TRANSLATE_NOOP("::Nim", "Nim");
const char C_NIMGLOBALCODESTYLE_ID[] = "NimGlobal"; const char C_NIMGLOBALCODESTYLE_ID[] = "NimGlobal";
const QString C_NIMSNIPPETSGROUP_ID = QStringLiteral("Nim.NimSnippetsGroup"); const QString C_NIMSNIPPETSGROUP_ID = QStringLiteral("Nim.NimSnippetsGroup");

View File

@@ -12,19 +12,19 @@ namespace PerfProfiler {
namespace Internal { namespace Internal {
static const char *headerLabels[] = { static const char *headerLabels[] = {
QT_TRANSLATE_NOOP("PerfProfiler", "Address"), QT_TRANSLATE_NOOP("::PerfProfiler", "Address"),
QT_TRANSLATE_NOOP("PerfProfiler", "Function"), QT_TRANSLATE_NOOP("::PerfProfiler", "Function"),
QT_TRANSLATE_NOOP("PerfProfiler", "Source Location"), QT_TRANSLATE_NOOP("::PerfProfiler", "Source Location"),
QT_TRANSLATE_NOOP("PerfProfiler", "Binary Location"), QT_TRANSLATE_NOOP("::PerfProfiler", "Binary Location"),
QT_TRANSLATE_NOOP("PerfProfiler", "Caller"), QT_TRANSLATE_NOOP("::PerfProfiler", "Caller"),
QT_TRANSLATE_NOOP("PerfProfiler", "Callee"), QT_TRANSLATE_NOOP("::PerfProfiler", "Callee"),
QT_TRANSLATE_NOOP("PerfProfiler", "Occurrences"), QT_TRANSLATE_NOOP("::PerfProfiler", "Occurrences"),
QT_TRANSLATE_NOOP("PerfProfiler", "Occurrences in Percent"), QT_TRANSLATE_NOOP("::PerfProfiler", "Occurrences in Percent"),
QT_TRANSLATE_NOOP("PerfProfiler", "Recursion in Percent"), QT_TRANSLATE_NOOP("::PerfProfiler", "Recursion in Percent"),
QT_TRANSLATE_NOOP("PerfProfiler", "Samples"), QT_TRANSLATE_NOOP("::PerfProfiler", "Samples"),
QT_TRANSLATE_NOOP("PerfProfiler", "Samples in Percent"), QT_TRANSLATE_NOOP("::PerfProfiler", "Samples in Percent"),
QT_TRANSLATE_NOOP("PerfProfiler", "Self Samples"), QT_TRANSLATE_NOOP("::PerfProfiler", "Self Samples"),
QT_TRANSLATE_NOOP("PerfProfiler", "Self in Percent") QT_TRANSLATE_NOOP("::PerfProfiler", "Self in Percent")
}; };
Q_STATIC_ASSERT(sizeof(headerLabels) == Q_STATIC_ASSERT(sizeof(headerLabels) ==

View File

@@ -71,7 +71,7 @@ const char XCODE_SDK[] = "xcode.sdk";
// Settings page // Settings page
const char QBS_SETTINGS_CATEGORY[] = "K.Qbs"; const char QBS_SETTINGS_CATEGORY[] = "K.Qbs";
const char QBS_SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("QbsProjectManager", "Qbs"); const char QBS_SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("::QbsProjectManager", "Qbs");
const char QBS_SETTINGS_CATEGORY_ICON[] = ":/projectexplorer/images/build.png"; const char QBS_SETTINGS_CATEGORY_ICON[] = ":/projectexplorer/images/build.png";
const char QBS_PROFILING_ENV[] = "QTC_QBS_PROFILING"; const char QBS_PROFILING_ENV[] = "QTC_QBS_PROFILING";

View File

@@ -41,19 +41,19 @@ public:
}; };
const FileTypeDataStorage fileTypeDataStorage[] = { const FileTypeDataStorage fileTypeDataStorage[] = {
{ FileType::Header, QT_TRANSLATE_NOOP("QmakeProjectManager", "Headers"), { FileType::Header, QT_TRANSLATE_NOOP("::QmakeProjectManager", "Headers"),
ProjectExplorer::Constants::FILEOVERLAY_H, "*.h; *.hh; *.hpp; *.hxx;"}, ProjectExplorer::Constants::FILEOVERLAY_H, "*.h; *.hh; *.hpp; *.hxx;"},
{ FileType::Source, QT_TRANSLATE_NOOP("QmakeProjectManager", "Sources"), { FileType::Source, QT_TRANSLATE_NOOP("::QmakeProjectManager", "Sources"),
ProjectExplorer::Constants::FILEOVERLAY_CPP, "*.c; *.cc; *.cpp; *.cp; *.cxx; *.c++;" }, ProjectExplorer::Constants::FILEOVERLAY_CPP, "*.c; *.cc; *.cpp; *.cp; *.cxx; *.c++;" },
{ FileType::Form, QT_TRANSLATE_NOOP("QmakeProjectManager", "Forms"), { FileType::Form, QT_TRANSLATE_NOOP("::QmakeProjectManager", "Forms"),
ProjectExplorer::Constants::FILEOVERLAY_UI, "*.ui;" }, ProjectExplorer::Constants::FILEOVERLAY_UI, "*.ui;" },
{ FileType::StateChart, QT_TRANSLATE_NOOP("QmakeProjectManager", "State charts"), { FileType::StateChart, QT_TRANSLATE_NOOP("::QmakeProjectManager", "State charts"),
ProjectExplorer::Constants::FILEOVERLAY_SCXML, "*.scxml;" }, ProjectExplorer::Constants::FILEOVERLAY_SCXML, "*.scxml;" },
{ FileType::Resource, QT_TRANSLATE_NOOP("QmakeProjectManager", "Resources"), { FileType::Resource, QT_TRANSLATE_NOOP("::QmakeProjectManager", "Resources"),
ProjectExplorer::Constants::FILEOVERLAY_QRC, "*.qrc;" }, ProjectExplorer::Constants::FILEOVERLAY_QRC, "*.qrc;" },
{ FileType::QML, QT_TRANSLATE_NOOP("QmakeProjectManager", "QML"), { FileType::QML, QT_TRANSLATE_NOOP("::QmakeProjectManager", "QML"),
ProjectExplorer::Constants::FILEOVERLAY_QML, "*.qml;" }, ProjectExplorer::Constants::FILEOVERLAY_QML, "*.qml;" },
{ FileType::Unknown, QT_TRANSLATE_NOOP("QmakeProjectManager", "Other files"), { FileType::Unknown, QT_TRANSLATE_NOOP("::QmakeProjectManager", "Other files"),
ProjectExplorer::Constants::FILEOVERLAY_UNKNOWN, "*;" } ProjectExplorer::Constants::FILEOVERLAY_UNKNOWN, "*;" }
}; };

View File

@@ -17,7 +17,7 @@ const char JS_MIMETYPE[] = "application/javascript";
const char JSON_MIMETYPE[] = "application/json"; const char JSON_MIMETYPE[] = "application/json";
const char QML_JS_CODE_STYLE_SETTINGS_ID[] = "A.Code Style"; const char QML_JS_CODE_STYLE_SETTINGS_ID[] = "A.Code Style";
const char QML_JS_CODE_STYLE_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("QmlJSTools", "Code Style"); const char QML_JS_CODE_STYLE_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("::QmlJSTools", "Code Style");
const char QML_JS_SETTINGS_ID[] = "QmlJS"; const char QML_JS_SETTINGS_ID[] = "QmlJS";

View File

@@ -27,11 +27,11 @@ QRgb DebugMessagesModel::color(int index) const
} }
static const char *messageTypes[] = { static const char *messageTypes[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "Debug Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Debug Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Warning Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Warning Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Critical Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Critical Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Fatal Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Fatal Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Info Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Info Message"),
}; };
QString DebugMessagesModel::messageType(uint i) QString DebugMessagesModel::messageType(uint i)

View File

@@ -22,19 +22,19 @@
namespace QmlProfiler { namespace QmlProfiler {
static const char *ProfileFeatureNames[] = { static const char *ProfileFeatureNames[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "JavaScript"), QT_TRANSLATE_NOOP("::QmlProfiler", "JavaScript"),
QT_TRANSLATE_NOOP("QmlProfiler", "Memory Usage"), QT_TRANSLATE_NOOP("::QmlProfiler", "Memory Usage"),
QT_TRANSLATE_NOOP("QmlProfiler", "Pixmap Cache"), QT_TRANSLATE_NOOP("::QmlProfiler", "Pixmap Cache"),
QT_TRANSLATE_NOOP("QmlProfiler", "Scene Graph"), QT_TRANSLATE_NOOP("::QmlProfiler", "Scene Graph"),
QT_TRANSLATE_NOOP("QmlProfiler", "Animations"), QT_TRANSLATE_NOOP("::QmlProfiler", "Animations"),
QT_TRANSLATE_NOOP("QmlProfiler", "Painting"), QT_TRANSLATE_NOOP("::QmlProfiler", "Painting"),
QT_TRANSLATE_NOOP("QmlProfiler", "Compiling"), QT_TRANSLATE_NOOP("::QmlProfiler", "Compiling"),
QT_TRANSLATE_NOOP("QmlProfiler", "Creating"), QT_TRANSLATE_NOOP("::QmlProfiler", "Creating"),
QT_TRANSLATE_NOOP("QmlProfiler", "Binding"), QT_TRANSLATE_NOOP("::QmlProfiler", "Binding"),
QT_TRANSLATE_NOOP("QmlProfiler", "Handling Signal"), QT_TRANSLATE_NOOP("::QmlProfiler", "Handling Signal"),
QT_TRANSLATE_NOOP("QmlProfiler", "Input Events"), QT_TRANSLATE_NOOP("::QmlProfiler", "Input Events"),
QT_TRANSLATE_NOOP("QmlProfiler", "Debug Messages"), QT_TRANSLATE_NOOP("::QmlProfiler", "Debug Messages"),
QT_TRANSLATE_NOOP("QmlProfiler", "Quick3D") QT_TRANSLATE_NOOP("::QmlProfiler", "Quick3D")
}; };
Q_STATIC_ASSERT(sizeof(ProfileFeatureNames) == sizeof(char *) * MaximumProfileFeature); Q_STATIC_ASSERT(sizeof(ProfileFeatureNames) == sizeof(char *) * MaximumProfileFeature);

View File

@@ -30,27 +30,27 @@ QRgb Quick3DModel::color(int index) const
} }
static const char *messageTypes[] = { static const char *messageTypes[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "Render Frame"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Frame"),
QT_TRANSLATE_NOOP("QmlProfiler", "Synchronize Frame"), QT_TRANSLATE_NOOP("::QmlProfiler", "Synchronize Frame"),
QT_TRANSLATE_NOOP("QmlProfiler", "Prepare Frame"), QT_TRANSLATE_NOOP("::QmlProfiler", "Prepare Frame"),
QT_TRANSLATE_NOOP("QmlProfiler", "Mesh Load"), QT_TRANSLATE_NOOP("::QmlProfiler", "Mesh Load"),
QT_TRANSLATE_NOOP("QmlProfiler", "Custom Mesh Load"), QT_TRANSLATE_NOOP("::QmlProfiler", "Custom Mesh Load"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Load"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Load"),
QT_TRANSLATE_NOOP("QmlProfiler", "Generate Shader"), QT_TRANSLATE_NOOP("::QmlProfiler", "Generate Shader"),
QT_TRANSLATE_NOOP("QmlProfiler", "Load Shader"), QT_TRANSLATE_NOOP("::QmlProfiler", "Load Shader"),
QT_TRANSLATE_NOOP("QmlProfiler", "Particle Update"), QT_TRANSLATE_NOOP("::QmlProfiler", "Particle Update"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Call"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Call"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Pass"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Pass"),
QT_TRANSLATE_NOOP("QmlProfiler", "Event Data"), QT_TRANSLATE_NOOP("::QmlProfiler", "Event Data"),
QT_TRANSLATE_NOOP("QmlProfiler", "Mesh Memory consumption"), QT_TRANSLATE_NOOP("::QmlProfiler", "Mesh Memory consumption"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Memory consumption"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Memory consumption"),
}; };
static const char *unloadMessageTypes[] = { static const char *unloadMessageTypes[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "Mesh Unload"), QT_TRANSLATE_NOOP("::QmlProfiler", "Mesh Unload"),
QT_TRANSLATE_NOOP("QmlProfiler", "Custom Mesh Unload"), QT_TRANSLATE_NOOP("::QmlProfiler", "Custom Mesh Unload"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Unload"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Unload"),
}; };
QString Quick3DModel::messageType(uint i) QString Quick3DModel::messageType(uint i)

View File

@@ -15,32 +15,32 @@ namespace QmlProfiler {
namespace Internal { namespace Internal {
static const char *ThreadLabels[] = { static const char *ThreadLabels[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "GUI Thread"), QT_TRANSLATE_NOOP("::QmlProfiler", "GUI Thread"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Thread"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Thread"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Thread Details") QT_TRANSLATE_NOOP("::QmlProfiler", "Render Thread Details")
}; };
static const char *StageLabels[] = { static const char *StageLabels[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "Polish"), QT_TRANSLATE_NOOP("::QmlProfiler", "Polish"),
QT_TRANSLATE_NOOP("QmlProfiler", "Wait"), QT_TRANSLATE_NOOP("::QmlProfiler", "Wait"),
QT_TRANSLATE_NOOP("QmlProfiler", "GUI Thread Sync"), QT_TRANSLATE_NOOP("::QmlProfiler", "GUI Thread Sync"),
QT_TRANSLATE_NOOP("QmlProfiler", "Animations"), QT_TRANSLATE_NOOP("::QmlProfiler", "Animations"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Thread Sync"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Thread Sync"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render"),
QT_TRANSLATE_NOOP("QmlProfiler", "Swap"), QT_TRANSLATE_NOOP("::QmlProfiler", "Swap"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Preprocess"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Preprocess"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Update"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Update"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Bind"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Bind"),
QT_TRANSLATE_NOOP("QmlProfiler", "Render Render"), QT_TRANSLATE_NOOP("::QmlProfiler", "Render Render"),
QT_TRANSLATE_NOOP("QmlProfiler", "Material Compile"), QT_TRANSLATE_NOOP("::QmlProfiler", "Material Compile"),
QT_TRANSLATE_NOOP("QmlProfiler", "Glyph Render"), QT_TRANSLATE_NOOP("::QmlProfiler", "Glyph Render"),
QT_TRANSLATE_NOOP("QmlProfiler", "Glyph Upload"), QT_TRANSLATE_NOOP("::QmlProfiler", "Glyph Upload"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Bind"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Bind"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Convert"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Convert"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Swizzle"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Swizzle"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Upload"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Upload"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Mipmap"), QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Mipmap"),
QT_TRANSLATE_NOOP("QmlProfiler", "Texture Delete") QT_TRANSLATE_NOOP("::QmlProfiler", "Texture Delete")
}; };
enum SceneGraphCategoryType { enum SceneGraphCategoryType {

View File

@@ -50,11 +50,11 @@ void DebugMessagesModelTest::testColor()
} }
static const char *messageTypes[] = { static const char *messageTypes[] = {
QT_TRANSLATE_NOOP("QmlProfiler", "Debug Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Debug Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Warning Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Warning Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Critical Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Critical Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Fatal Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Fatal Message"),
QT_TRANSLATE_NOOP("QmlProfiler", "Info Message"), QT_TRANSLATE_NOOP("::QmlProfiler", "Info Message"),
}; };
void DebugMessagesModelTest::testLabels() void DebugMessagesModelTest::testLabels()