From f099ec63d1d052d9c54bc45291a82a2d7657c67d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 3 Jul 2022 03:46:47 +0200 Subject: [PATCH] Warn about emojis looking different in different clients fixes #919 --- .../qml/device-verification/EmojiVerification.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/qml/device-verification/EmojiVerification.qml b/resources/qml/device-verification/EmojiVerification.qml index e97a18a2..4b88ef7b 100644 --- a/resources/qml/device-verification/EmojiVerification.qml +++ b/resources/qml/device-verification/EmojiVerification.qml @@ -392,6 +392,17 @@ ColumnLayout { } Item { Layout.fillHeight: true; } + Label { + Layout.preferredWidth: 400 + Layout.fillWidth: true + wrapMode: Text.Wrap + text: qsTr("The displayed emoji might look different in different clients if a different font is used. Similarly they might be translated into different languages. Nonetheless they should depict one of 64 different objects or animals. For example a lion and a cat are different, but a cat is the same even if one client just shows a cat face, while another client shows a full cat body.") + color: Nheko.colors.text + verticalAlignment: Text.AlignVCenter + } + + Item { Layout.fillHeight: true; } + RowLayout { Button { Layout.alignment: Qt.AlignLeft