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

pull/980/head
tastytea 3 years ago
parent 23e931e41f
commit b75f7e564d
No known key found for this signature in database
  1. 2
      resources/qml/dialogs/RoomSettings.qml

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

Loading…
Cancel
Save