From 9454685db805f931c957fc9e0a5ef260973f19b4 Mon Sep 17 00:00:00 2001 From: Oliver Eftevaag Date: Mon, 23 Aug 2021 16:33:59 +0200 Subject: Add qsTr() around 2 strings in imageelements example Making some strings translatable Change-Id: I7a088e9e9966996ee20ab8bee29cf17c060120d7 Reviewed-by: Volker Hilsheimer --- examples/quick/imageelements/framestepping.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/quick/imageelements/framestepping.qml') 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") } } -- cgit v1.2.3