From 13a9d1e2fba3b5786a22d3a77eee358c113fe3f6 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 16 Mar 2023 17:24:07 +0100 Subject: [PATCH] Add info on how to scan channel backups --- electrum/gui/qml/qechanneldetails.py | 4 +++- electrum/gui/qt/channels_list.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qml/qechanneldetails.py b/electrum/gui/qml/qechanneldetails.py index 8647066c7..12afb7794 100644 --- a/electrum/gui/qml/qechanneldetails.py +++ b/electrum/gui/qml/qechanneldetails.py @@ -210,7 +210,9 @@ class QEChannelDetails(QObject, QtEventListener): @pyqtSlot(result=str) def channelBackupHelpText(self): return ' '.join([ - _("Channel backups can be imported in another instance of the same wallet, by scanning this QR code."), + _("Channel backups can be imported in another instance of the same wallet."), + _("In the Electrum mobile app, use the 'Send' button to scan this QR code."), + '\n\n', _("Please note that channel backups cannot be used to restore your channels."), _("If you lose your wallet file, the only thing you can do with a backup is to request your channel to be closed, so that your funds will be sent on-chain."), ]) diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py index 351cdef76..0046564ef 100644 --- a/electrum/gui/qt/channels_list.py +++ b/electrum/gui/qt/channels_list.py @@ -173,7 +173,9 @@ class ChannelsList(MyTreeView): def export_channel_backup(self, channel_id): msg = ' '.join([ - _("Channel backups can be imported in another instance of the same wallet, by scanning this QR code."), + _("Channel backups can be imported in another instance of the same wallet."), + _("In the Electrum mobile app, use the 'Send' button to scan this QR code."), + '\n\n', _("Please note that channel backups cannot be used to restore your channels."), _("If you lose your wallet file, the only thing you can do with a backup is to request your channel to be closed, so that your funds will be sent on-chain."), ])