Back/FW UI buttons tooltips: shorter & consistency

This commit is contained in:
miruka 2021-04-10 00:36:55 -04:00
parent fb1de364a6
commit 4925b5a134
3 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ Rectangle {
visible: Layout.preferredWidth > 0 visible: Layout.preferredWidth > 0
backgroundColor: "transparent" backgroundColor: "transparent"
icon.name: "go-back-to-chat-from-main-pane" icon.name: "go-back-to-chat-from-main-pane"
toolTip.text: qsTr("Go back to room") toolTip.text: qsTr("Go to chat")
onClicked: mainPane.toggleFocus() onClicked: mainPane.toggleFocus()

View File

@ -30,7 +30,7 @@ Rectangle {
padded: false padded: false
backgroundColor: "transparent" backgroundColor: "transparent"
icon.name: "go-back-to-main-pane" icon.name: "go-back-to-main-pane"
toolTip.text: qsTr("Go back to main pane") toolTip.text: qsTr("Back to main pane")
onClicked: mainUI.mainPane.toggleFocus() onClicked: mainUI.mainPane.toggleFocus()
Layout.preferredWidth: show ? avatar.width : 0 Layout.preferredWidth: show ? avatar.width : 0

View File

@ -64,7 +64,7 @@ MultiviewPane {
toolTip.text: toolTip.text:
modelData === "back" ? modelData === "back" ?
qsTr("Go back to chat") : qsTr("Back to chat") :
qsTr(modelData.charAt(0).toUpperCase() + modelData.slice(1)) qsTr(modelData.charAt(0).toUpperCase() + modelData.slice(1))
autoExclusive: true autoExclusive: true