From 5dbf6dbdec4f7ccc1e47e49491daee6748e6bfd4 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 12 Mar 2021 18:54:49 +0100 Subject: [PATCH] qt receive tab: change "Expires after" label and help text --- electrum/gui/qt/main_window.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index f13b5486f..6e65aced5 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -1085,13 +1085,17 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): def on_expiry(i): self.config.set_key('request_expiry', evl_keys[i]) self.expires_combo.currentIndexChanged.connect(on_expiry) - msg = ' '.join([ - _('Expiration date of your request.'), + msg = ''.join([ + _('Expiration date of your request.'), ' ', _('This information is seen by the recipient if you send them a signed payment request.'), - _('Expired requests have to be deleted manually from your list, in order to free the corresponding Bitcoin addresses.'), - _('The bitcoin address never expires and will always be part of this electrum wallet.'), + '\n\n', + _('For on-chain requests, the address gets reserved until expiration. After that, it might get reused.'), ' ', + _('The bitcoin address never expires and will always be part of this electrum wallet.'), ' ', + _('You can reuse a bitcoin address any number of times but it is not good for your privacy.'), + '\n\n', + _('For Lightning requests, payments will not be accepted after the expiration.'), ]) - grid.addWidget(HelpLabel(_('Expires after'), msg), 2, 0) + grid.addWidget(HelpLabel(_('Expires after') + ' (?)', msg), 2, 0) grid.addWidget(self.expires_combo, 2, 1) self.expires_label = QLineEdit('') self.expires_label.setReadOnly(1)