From aaf34a93126d10120ed487a0a766ad57f7e27e23 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 19 Mar 2020 10:37:05 -0400 Subject: [PATCH] Better example placeholder text for composer alias --- src/gui/Pages/AccountSettings/Profile.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gui/Pages/AccountSettings/Profile.qml b/src/gui/Pages/AccountSettings/Profile.qml index 338bdff8..bbd71820 100644 --- a/src/gui/Pages/AccountSettings/Profile.qml +++ b/src/gui/Pages/AccountSettings/Profile.qml @@ -201,15 +201,16 @@ HGridLayout { field.error: alreadyTakenBy !== "" field.onAccepted: applyChanges() - field.placeholderText: ( + field.placeholderText: qsTr("e.g. %1").arg(( nameField.field.text || accountInfo.display_name || userId.substring(1) - )[0] + )[0]) toolTip.text: qsTr( - "From any account, start a message with specified alias " + - "followed by a space to type and send as this account.\n" + + "From any chat, start a message with specified alias " + + "followed by a space to type and send as this " + + "account.\n" + "The account must have permission to talk in the room.\n"+ "To ignore the alias when typing, prepend it with a space." )