Skip to content

Commit 9d9a098

Browse files
committed
gui: Fix translator comment for Restore Wallet QInputDialog
This also changes the window title name from `Restore Name` to `Restore Wallet`.
1 parent 327b7e9 commit 9d9a098

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/qt/bitcoingui.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,12 @@ void BitcoinGUI::createActions()
430430
if (backup_file.isEmpty()) return;
431431

432432
bool wallet_name_ok;
433-
//: Title of the Restore Wallet input dialog (where the wallet name is entered)
434-
QString wallet_name = QInputDialog::getText(this, tr("Restore Name"), tr("Wallet Name:"), QLineEdit::Normal, "", &wallet_name_ok);
433+
/*: Title of pop-up window shown when the user is attempting to
434+
+ restore a wallet. */
435+
QString title = tr("Restore Wallet");
436+
//: Label of the input field where the name of the wallet is entered.
437+
QString label = tr("Wallet Name");
438+
QString wallet_name = QInputDialog::getText(this, title, label, QLineEdit::Normal, "", &wallet_name_ok);
435439
if (!wallet_name_ok || wallet_name.isEmpty()) return;
436440

437441
auto activity = new RestoreWalletActivity(m_wallet_controller, this);

0 commit comments

Comments
 (0)