mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 06:08:48 +03:00
Make “show more” “show less” in room settings translatable
This commit is contained in:
parent
23e931e41f
commit
b75f7e564d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue