From c1bb5e708b0e007931b35e0f82736f1977777426 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 8 Mar 2018 08:55:08 -0500 Subject: [PATCH] QML: apply translation to the slide counter --- src/qml/calamares/slideshow/SlideCounter.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/calamares/slideshow/SlideCounter.qml b/src/qml/calamares/slideshow/SlideCounter.qml index 7d8482b8e..e59476f5c 100644 --- a/src/qml/calamares/slideshow/SlideCounter.qml +++ b/src/qml/calamares/slideshow/SlideCounter.qml @@ -32,6 +32,7 @@ Rectangle { Text { id: slideCounterText anchors.centerIn: parent - text: ( parent.parent.currentSlide + 1 ) + " / " + parent.parent.slides.length + //: slide counter, %1 of %2 (numeric) + text: qsTr("%L1 / %L2").arg(parent.parent.currentSlide + 1).arg(parent.parent.slides.length) } }