mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-16 20:34:30 -04:00
QML: apply translation to the slide counter
This commit is contained in:
parent
97eff28383
commit
c1bb5e708b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue