aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw0xlt <94266259+w0xlt@users.noreply.github.com>2022-07-11 11:53:41 -0300
committerw0xlt <94266259+w0xlt@users.noreply.github.com>2022-07-22 23:25:44 -0300
commit9d9a098530df9986039f64b2810b6375b715f196 (patch)
treeecae912229ef9cd3f58b18ccb098fe15082f5f3d /src
parent327b7e9236e3b0cde750df72d5f75821e52e545c (diff)
gui: Fix translator comment for Restore Wallet QInputDialog
This also changes the window title name from `Restore Name` to `Restore Wallet`.
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 35e32f515b..5b20cea0f0 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -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);