diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-03 03:46:47 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-03 03:46:47 +0200 |
commit | f099ec63d1d052d9c54bc45291a82a2d7657c67d (patch) | |
tree | 522dc1539c5c49eef1c1c57aab044c2365d08a31 /resources | |
parent | Fix emoji verification clipped on sway (diff) | |
download | nheko-f099ec63d1d052d9c54bc45291a82a2d7657c67d.tar.xz |
Warn about emojis looking different in different clients
fixes #919
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/device-verification/EmojiVerification.qml | 11 |
1 files changed, 11 insertions, 0 deletions
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 |