follow-up prev: re-add some newlines

This commit is contained in:
SomberNight
2023-04-25 18:19:19 +00:00
parent 55140a9e27
commit 5b122e723f
2 changed files with 3 additions and 3 deletions

View File

@@ -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).

View File

@@ -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():