Merge pull request #980 from tastytea/translatable-strings

Make “show more” “show less” in room settings translatable
This commit is contained in:
DeepBlueV7.X 2022-03-08 13:18:33 +00:00 committed by GitHub
commit e836045be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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