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
1 changed files with 1 additions and 1 deletions

View File

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