1
0
note: "everytime" even appears in the old_mnemonic wordlist, but it is a misspelling.
This commit is contained in:
SomberNight
2024-05-30 16:59:28 +00:00
parent 183bdd1464
commit db5f1a11a5
4 changed files with 11 additions and 11 deletions

View File

@@ -45,16 +45,16 @@ ElDialog {
visible: !Daemon.currentWallet.lightningHasDeterministicNodeId
iconStyle: InfoTextArea.IconStyle.Warn
text: Daemon.currentWallet.seedType == 'segwit'
? [ qsTr('Your channels cannot be recovered from seed, because they were created with an old version of Electrum.'),
qsTr('This means that you must save a backup of your wallet everytime you create a new channel.'),
? [ qsTr('Your channels cannot be recovered from seed, because they were created with an old version of Electrum.'), ' ',
qsTr('This means that you must save a backup of your wallet every time you create a new channel.'),
'\n\n',
qsTr('If you want this wallet to have recoverable channels, you must close your existing channels and restore this wallet from seed.')
].join(' ')
: [ qsTr('Your channels cannot be recovered from seed.'),
qsTr('This means that you must save a backup of your wallet everytime you create a new channel.'),
].join('')
: [ qsTr('Your channels cannot be recovered from seed.'), ' ',
qsTr('This means that you must save a backup of your wallet every time you create a new channel.'),
'\n\n',
qsTr('If you want to have recoverable channels, you must create a new wallet with an Electrum seed')
].join(' ')
].join('')
}
InfoTextArea {

View File

@@ -1858,7 +1858,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
else:
msg = _(
"Warning: this wallet type does not support channel recovery from seed. "
"You will need to backup your wallet everytime you create a new channel. "
"You will need to backup your wallet every time you create a new channel. "
"Create lightning keys?")
if self.question(msg):
self._init_lightning_dialog(dialog=dialog)

View File

@@ -74,11 +74,11 @@ class WalletInfoDialog(WindowModalDialog):
grid.addWidget(label, cur_row, 1)
if wallet.get_seed_type() == 'segwit':
msg = _("Your channels cannot be recovered from seed, because they were created with an old version of Electrum. "
"This means that you must save a backup of your wallet everytime you create a new channel.\n\n"
"This means that you must save a backup of your wallet every time you create a new channel.\n\n"
"If you want this wallet to have recoverable channels, you must close your existing channels and restore this wallet from seed")
else:
msg = _("Your channels cannot be recovered from seed. "
"This means that you must save a backup of your wallet everytime you create a new channel.\n\n"
"This means that you must save a backup of your wallet every time you create a new channel.\n\n"
"If you want to have recoverable channels, you must create a new wallet with an Electrum seed")
grid.addWidget(HelpButton(msg), cur_row, 3)
cur_row += 1