Add explanation tooltip for composer alias

This commit is contained in:
miruka
2020-03-13 11:35:05 -04:00
parent 15afce3393
commit 8c1c3ef05c
5 changed files with 74 additions and 21 deletions

View File

@@ -172,9 +172,16 @@ HGridLayout {
property bool changed: field.text !== currentAlias
id: aliasField
label.text: qsTr("Write alias:")
label.text: qsTr("Multi-account composer alias:")
field.onAccepted: applyChanges()
toolTip.text: qsTr(
"From any account, start a message with specified alias " +
"followed by a space to type and send as this account.\n" +
"This account must a member of the room too.\n" +
"To ignore the alias when typing, prepend it with a space."
)
Component.onCompleted: field.text = currentAlias
Layout.fillWidth: true