diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2023-01-11 10:37:45 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-01-17 20:58:44 +0000 |
commit | ad1558452da727e64068b397e5ab413f3077da68 (patch) | |
tree | f3a08aab824aebe781a98359707b9a35d8e1f995 /examples/quick/scenegraph/custommaterial | |
parent | 17a4c09ea5a578a81fb603aa7c4588055d1f7b8f (diff) |
Quick scenegraph examples: use qsTr() for user facing strings
All user facing strings should use qsTr()
Change-Id: I2f776fe088b05bb046ceafbc6c29528212a2c1a0
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
(cherry picked from commit 1c6afffc9403a2610de952a434f7633c5761117a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/scenegraph/custommaterial')
-rw-r--r-- | examples/quick/scenegraph/custommaterial/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/custommaterial/main.qml b/examples/quick/scenegraph/custommaterial/main.qml index 9626711d38..ce22f9c8e9 100644 --- a/examples/quick/scenegraph/custommaterial/main.qml +++ b/examples/quick/scenegraph/custommaterial/main.qml @@ -45,8 +45,8 @@ Item { anchors.bottom: parent.bottom anchors.margins: 20 wrapMode: Text.WordWrap - text: "This example shows how to create a custom material in C++ and use it in QML.\n" + text: qsTr("This example shows how to create a custom material in C++ and use it in QML.\n" + "The custom material uses a fragment shader that calculates the Mandelbrot set," - + " and exposes the shader uniforms as QML properties." + + " and exposes the shader uniforms as QML properties.") } } |