From 8ce51cfa7a9581a6996b054dc41f6678596a80c5 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 26 Oct 2020 11:56:48 -0400 Subject: [PATCH] fix: fix emptyChat text not being translated or translatable --- .../AppLayouts/Chat/ChatColumn/EmptyChat.qml | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/EmptyChat.qml b/ui/app/AppLayouts/Chat/ChatColumn/EmptyChat.qml index 16dfe83b5a..bd31394510 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/EmptyChat.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/EmptyChat.qml @@ -18,14 +18,18 @@ Item { } StyledText { - //% "Share your chat key" - text: `${qsTrId("share-your-chat-key")}` + - //% "or" - ` ${qsTrId("or")} ` + - //% "invite" - `${qsTrId("invite")}`+ - //% "friends to start messaging in Status" - ` ${qsTrId("friends-to-start-messaging-in-status")}` + text: `` + + //% "Share your chat key" + qsTrId("share-your-chat-key") + + ' ' + + //% "or" + qsTrId("or") + + ` ` + + //% "invite" + qsTrId("invite") + + ' ' + + //% "friends to start messaging in Status" + qsTrId("friends-to-start-messaging-in-status") textFormat: Text.RichText wrapMode: Text.WordWrap horizontalAlignment: Text.AlignHCenter