From c8169871643ceaeebc3f0f3fd7c0debe7f4f455f Mon Sep 17 00:00:00 2001 From: f321x Date: Tue, 28 Oct 2025 14:29:59 +0100 Subject: [PATCH] android: qr scanner: add emoji to clipboard string The string is not translated and might not be accessible for non-english speakers, even though its relatively self-explanatory i think adding this emoji makes it more accessible. --- contrib/ban_unicode.py | 2 +- electrum/gui/qml/android_res/layout/scanner_layout.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ban_unicode.py b/contrib/ban_unicode.py index 9dabcc245..f4dd4f579 100755 --- a/contrib/ban_unicode.py +++ b/contrib/ban_unicode.py @@ -29,7 +29,7 @@ EXCLUDE_EXTENSIONS = { UNICODE_WHITELIST = { "๐Ÿ’ฌ", "๐Ÿ—ฏ", "โš ", chr(0xfe0f), "โœ“", "โ–ท", "โ–ฝ", "โ€ฆ", "โ€ข", "โ–ˆ", "โ„ข", "โ‰ˆ", "รก", "รฉ", "โ€™", - "โ”‚", "โ”€", "โ””", "โ”œ", + "โ”‚", "โ”€", "โ””", "โ”œ", "๐Ÿ“‹", } exit_code = 0 diff --git a/electrum/gui/qml/android_res/layout/scanner_layout.xml b/electrum/gui/qml/android_res/layout/scanner_layout.xml index 948e9e9cb..4b2023500 100644 --- a/electrum/gui/qml/android_res/layout/scanner_layout.xml +++ b/electrum/gui/qml/android_res/layout/scanner_layout.xml @@ -31,6 +31,6 @@ android:layout_gravity="center|bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Paste from clipboard" /> + android:text="Paste from clipboard ๐Ÿ“‹" />