From 7ebed53e97eacfa41a3fe63da4d2a66a564c0331 Mon Sep 17 00:00:00 2001 From: Fadi Shehadeh Date: Mon, 21 Apr 2025 12:59:51 -0400 Subject: [PATCH] reply to: text spacing Removed space between "replied to" and "Me" Changed "Me" to "you" Gitlab: #1973 Change-Id: Ifcb7b1ff64e0e8c08aeb2e4a89c6e11c36e6a1cd --- src/app/commoncomponents/SBSMessageBase.qml | 3 ++- src/app/net/jami/Constants/JamiStrings.qml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/commoncomponents/SBSMessageBase.qml b/src/app/commoncomponents/SBSMessageBase.qml index 6588d5ee..260608b3 100644 --- a/src/app/commoncomponents/SBSMessageBase.qml +++ b/src/app/commoncomponents/SBSMessageBase.qml @@ -142,6 +142,7 @@ Control { RowLayout { id: replyToLayout + spacing: replyItem.isSelf ? 2 : 4 Layout.alignment: isOutgoing ? Qt.AlignRight : Qt.AlignLeft property var replyUserName: UtilsAdapter.getBestNameForUri(CurrentAccount.id, ReplyToAuthor) @@ -185,7 +186,7 @@ Control { text: textMetricsUsername2.elidedText TextMetrics { id: textMetricsUsername2 - text: replyItem.isSelf ? JamiStrings.inReplyToMe : replyToLayout.replyUserName + text: replyItem.isSelf ? JamiStrings.inReplyToYou : replyToLayout.replyUserName elideWidth: 200 elide: Qt.ElideMiddle } diff --git a/src/app/net/jami/Constants/JamiStrings.qml b/src/app/net/jami/Constants/JamiStrings.qml index 9b0f753a..5f59fbf6 100644 --- a/src/app/net/jami/Constants/JamiStrings.qml +++ b/src/app/net/jami/Constants/JamiStrings.qml @@ -788,7 +788,7 @@ Item { property string replyTo: qsTr("Reply to") property string inReplyTo: qsTr("In reply to") property string repliedTo: qsTr("%1 replied to") - property string inReplyToMe: qsTr("Me") + property string inReplyToYou: qsTr("you") property string reply: qsTr("Reply") property string writeTo: qsTr("Write to %1") property string writeToNewContact: qsTr("Send a message to %1 in order to add them as a contact")