QML: apply translation to the slide counter

This commit is contained in:
Adriaan de Groot 2018-03-08 08:55:08 -05:00
parent 97eff28383
commit c1bb5e708b

View File

@ -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)
}
}