Make “show more” “show less” in room settings translatable

This commit is contained in:
tastytea 2022-03-08 11:31:54 +01:00
parent 23e931e41f
commit b75f7e564d
No known key found for this signature in database

View file

@ -378,7 +378,7 @@ ApplicationWindow {
anchors.horizontalCenter: flickable.horizontalCenter anchors.horizontalCenter: flickable.horizontalCenter
y: Math.min(showMorePlaceholder.y+contentLayout1.y-flickable.contentY,flickable.height-height) y: Math.min(showMorePlaceholder.y+contentLayout1.y-flickable.contentY,flickable.height-height)
visible: roomTopic.cut visible: roomTopic.cut
text: roomTopic.showMore? "show less" : "show more" text: roomTopic.showMore? qsTr("show less") : qsTr("show more")
onClicked: {roomTopic.showMore = !roomTopic.showMore onClicked: {roomTopic.showMore = !roomTopic.showMore
console.log(flickable.visibleArea) console.log(flickable.visibleArea)
} }