Better example placeholder text for composer alias
This commit is contained in:
parent
ba955008fc
commit
aaf34a9312
|
@ -201,15 +201,16 @@ HGridLayout {
|
||||||
|
|
||||||
field.error: alreadyTakenBy !== ""
|
field.error: alreadyTakenBy !== ""
|
||||||
field.onAccepted: applyChanges()
|
field.onAccepted: applyChanges()
|
||||||
field.placeholderText: (
|
field.placeholderText: qsTr("e.g. %1").arg((
|
||||||
nameField.field.text ||
|
nameField.field.text ||
|
||||||
accountInfo.display_name ||
|
accountInfo.display_name ||
|
||||||
userId.substring(1)
|
userId.substring(1)
|
||||||
)[0]
|
)[0])
|
||||||
|
|
||||||
toolTip.text: qsTr(
|
toolTip.text: qsTr(
|
||||||
"From any account, start a message with specified alias " +
|
"From any chat, start a message with specified alias " +
|
||||||
"followed by a space to type and send as this account.\n" +
|
"followed by a space to type and send as this " +
|
||||||
|
"account.\n" +
|
||||||
"The account must have permission to talk in the room.\n"+
|
"The account must have permission to talk in the room.\n"+
|
||||||
"To ignore the alias when typing, prepend it with a space."
|
"To ignore the alias when typing, prepend it with a space."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user