QML: apply translation to the slide counter
This commit is contained in:
parent
97eff28383
commit
c1bb5e708b
@ -32,6 +32,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: slideCounterText
|
id: slideCounterText
|
||||||
anchors.centerIn: parent
|
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…
Reference in New Issue
Block a user