From db5f1a11a5bab25bb9c2eb15929917eabb1658fa Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 30 May 2024 16:59:28 +0000 Subject: [PATCH] fix typo note: "everytime" even appears in the old_mnemonic wordlist, but it is a misspelling. --- RELEASE-NOTES | 4 ++-- electrum/gui/qml/components/OpenChannelDialog.qml | 12 ++++++------ electrum/gui/qt/main_window.py | 2 +- electrum/gui/qt/wallet_info_dialog.py | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b2d2a91f7..30ce5edc8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -300,7 +300,7 @@ - Coins tab: New menu that lets users easily spend a selection of UTXOs into a new channel, or into a submarine swap (Qt GUI). * Internal: - - Lightning invoices are regenerated everytime routing hints are + - Lightning invoices are regenerated every time routing hints are deprecated due to liquidity changes. - Script descriptors are used internally to sign transactions. @@ -700,7 +700,7 @@ below are user-visible. * Android PIN reset: If the password is unified, the PIN can be reset by providing the password. * Android: on-chain fees have been removed from the settings - dialog. Instead, the fee slider is shown to the user everytime an + dialog. Instead, the fee slider is shown to the user every time an on-chain transaction will be performed (sending a payment, opening a channel, initiating a submarine swap) * BIP-0350: use bech32m for witness version 1+ addresses (4315fa43). diff --git a/electrum/gui/qml/components/OpenChannelDialog.qml b/electrum/gui/qml/components/OpenChannelDialog.qml index 5288b68e8..969cbc3e6 100644 --- a/electrum/gui/qml/components/OpenChannelDialog.qml +++ b/electrum/gui/qml/components/OpenChannelDialog.qml @@ -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 { diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index dfe99df03..7c11bb58b 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -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) diff --git a/electrum/gui/qt/wallet_info_dialog.py b/electrum/gui/qt/wallet_info_dialog.py index 2caad1914..545e44f05 100644 --- a/electrum/gui/qt/wallet_info_dialog.py +++ b/electrum/gui/qt/wallet_info_dialog.py @@ -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