Use QT_TRANSLATE_NOOP to mark translatable strings in arrays

Change-Id: Id24ca60a8166394811e0ff93f5bd1d3e198ac67e
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-10-09 12:40:18 +02:00
parent 7ae08a61b1
commit 63f5ccfc11

View File

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