Skip to content

Commit

Permalink
gui: Fix translator comment for Restore Wallet QInputDialog
Browse files Browse the repository at this point in the history
This also changes the window title name
from `Restore Name` to `Restore Wallet`.
  • Loading branch information
w0xlt committed Jul 23, 2022
1 parent 327b7e9 commit 9d9a098
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/qt/bitcoingui.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 9d9a098

Please sign in to comment.