Browse Source

follow-up prev: re-add some newlines

master
SomberNight 3 years ago
parent
commit
5b122e723f
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/messages.py
  2. 4
      electrum/gui/qt/channels_list.py

2
electrum/gui/messages.py

@ -44,7 +44,7 @@ MSG_LIGHTNING_SCB_WARNING = _(
"""Electrum uses static channel backups. If you lose your wallet file, you will need to request your channel to be force-closed by the remote peer in order to recover your funds. This assumes that the remote peer is reachable, and has not lost its own data."""
)
MSG_LIGHTNING_WARNING = MSG_LIGHTNING_EXPERIMENTAL_WARNING + MSG_LIGHTNING_SCB_WARNING
MSG_LIGHTNING_WARNING = MSG_LIGHTNING_EXPERIMENTAL_WARNING + "\n\n" + MSG_LIGHTNING_SCB_WARNING
MSG_HELP_TRAMPOLINE = _(
"""Lightning payments require finding a path through the Lightning Network. You may use trampoline routing, or local routing (gossip).

4
electrum/gui/qt/channels_list.py

@ -130,7 +130,7 @@ class ChannelsList(MyTreeView):
def close_channel(self, channel_id):
self.is_force_close = False
msg = _('Cooperative close?')
msg += '\n' + messages.MSG_COOPERATIVE_CLOSE
msg += '\n\n' + messages.MSG_COOPERATIVE_CLOSE
if not self.main_window.question(msg):
return
coro = self.lnworker.close_channel(channel_id)
@ -185,7 +185,7 @@ class ChannelsList(MyTreeView):
def request_force_close(self, channel_id):
msg = _('Request force-close from remote peer?')
msg += '\n' + messages.MSG_REQUEST_FORCE_CLOSE
msg += '\n\n' + messages.MSG_REQUEST_FORCE_CLOSE
if not self.main_window.question(msg):
return
def task():

Loading…
Cancel
Save