QML: apply translation to the slide counter

main
Adriaan de Groot 7 years ago
parent 97eff28383
commit c1bb5e708b

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

Loading…
Cancel
Save