mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 17:53:04 +02:00
Merge bitcoin-core/gui#629: Fix translator comment for Restore Wallet QInputDialog
9d9a098530
gui: Fix translator comment for Restore Wallet QInputDialog (w0xlt) Pull request description: Fix translator comment for Restore Wallet `QInputDialog`, as suggested in https://github.com/bitcoin-core/gui/pull/471#discussion_r917437779. This also changes the window title name from `Restore Name` to `Restore Wallet` as it seems clearer. ACKs for top commit: shaavan: reACK9d9a098530
Tree-SHA512: 02aec661839215ab1183e4e92fa131671daa986339373a87c0a0e2c5e79a46f362a8846f4a5f6d630a99884a7949031982d13352336bd3f0573625826406dde8
This commit is contained in:
@@ -430,8 +430,12 @@ void BitcoinGUI::createActions()
|
||||
if (backup_file.isEmpty()) return;
|
||||
|
||||
bool wallet_name_ok;
|
||||
//: Title of the Restore Wallet input dialog (where the wallet name is entered)
|
||||
QString wallet_name = QInputDialog::getText(this, tr("Restore Name"), tr("Wallet Name:"), QLineEdit::Normal, "", &wallet_name_ok);
|
||||
/*: Title of pop-up window shown when the user is attempting to
|
||||
+ restore a wallet. */
|
||||
QString title = tr("Restore Wallet");
|
||||
//: Label of the input field where the name of the wallet is entered.
|
||||
QString label = tr("Wallet Name");
|
||||
QString wallet_name = QInputDialog::getText(this, title, label, QLineEdit::Normal, "", &wallet_name_ok);
|
||||
if (!wallet_name_ok || wallet_name.isEmpty()) return;
|
||||
|
||||
auto activity = new RestoreWalletActivity(m_wallet_controller, this);
|
||||
|
Reference in New Issue
Block a user