backup_cb=QCheckBox('Create a backup now',checked=True)
defon_checked(b):
self.save_backup=bool(b)
backup_cb.stateChanged.connect(on_checked)
chan=self.lnworker.channels[channel_id]
chan=self.lnworker.channels[channel_id]
to_self_delay=chan.config[REMOTE].to_self_delay
to_self_delay=chan.config[REMOTE].to_self_delay
msg=_('Force-close channel?')+'\n\n'\
msg='<b>'+_('Force-close channel?')+'</b><br/>'\
+_('Funds retrieved from this channel will not be available before {} blocks after forced closure.').format(to_self_delay)+''\
+'<p>'+_('If you force-close this channel, the funds you have in it will not be available for {} blocks.').format(to_self_delay)+''\
+_('After that delay, funds will be sent to an address derived from your wallet seed.')+'\n\n'\
+_('After that delay, funds will be swept to an address derived from your wallet seed.')+'</p>'\
+_('In the meantime, channel funds will not be recoverable from your seed, and might be lost if you lose your wallet.')+''\
+'<u>'+_('Please create a backup of your wallet file!')+'</u> '\
+_('To prevent that, you should have a backup of this channel on another device.')
+'<p>'+_('Funds in this channel will not be recoverable from seed until they are swept back into your wallet, and might be lost if you lose your wallet file.')+''\
ifself.parent.question(msg):
+_('To prevent that, you should save a backup of your wallet on another device.')+'</p>'