aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/imageelements/framestepping.qml
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2021-08-23 16:33:59 +0200
committerOliver Eftevaag <oliver.eftevaag@qt.io>2021-08-30 22:56:29 +0200
commit9454685db805f931c957fc9e0a5ef260973f19b4 (patch)
treef95f92ffe4362266f654b174e5b0c5a3e8d349a8 /examples/quick/imageelements/framestepping.qml
parent76a413bb11dd444239d3e0ae5fc86a3021d53409 (diff)
Add qsTr() around 2 strings in imageelements example
Making some strings translatable Change-Id: I7a088e9e9966996ee20ab8bee29cf17c060120d7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/quick/imageelements/framestepping.qml')
-rw-r--r--examples/quick/imageelements/framestepping.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/imageelements/framestepping.qml b/examples/quick/imageelements/framestepping.qml
index 314ee9ad5b..3f86d86773 100644
--- a/examples/quick/imageelements/framestepping.qml
+++ b/examples/quick/imageelements/framestepping.qml
@@ -77,7 +77,7 @@ Rectangle {
anchors.bottom: parent.bottom
anchors.margins: 6
horizontalAlignment: Text.AlignHCenter
- text: "frame " + (img.currentFrame + 1) + " of " + img.frameCount +
- "\nPress PgUp/PgDn to switch frames"
+ text: qsTr("frame " + (img.currentFrame + 1) + " of " + img.frameCount +
+ "\nPress PgUp/PgDn to switch frames")
}
}