Skip to content

Commit 002f9e9

Browse files
committed
Merge #17923: refactor: Use PACKAGE_NAME in GUI modal overlay and bitcoin-wallet
5855cc5 bitcoin-wallet: Use PACKAGE_NAME in usage help (Luke Dashjr) 7f5db16 GUI: Use PACKAGE_NAME in modal overlay (Luke Dashjr) Pull request description: ACKs for top commit: hebasto: ACK 5855cc5, checked with fanquake: ACK 5855cc5 - checked `bitcoin-wallet` and a `--disable-wallet` `bitcoin-qt`. Tree-SHA512: 3526eb122bfdbc63349d12251f17ffa20c7f3754af4ac9c554e6d36bb14b351f31c413c30401bb3d6e0e6200b72614dfc8475489b1f742b0423bd83fba758b94
2 parents af05bd9 + 5855cc5 commit 002f9e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bitcoin-wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static bool WalletAppInit(int argc, char* argv[])
4141
}
4242
if (argc < 2 || HelpRequested(gArgs)) {
4343
std::string usage = strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
44-
"bitcoin-wallet is an offline tool for creating and interacting with Bitcoin Core wallet files.\n" +
44+
"bitcoin-wallet is an offline tool for creating and interacting with " PACKAGE_NAME " wallet files.\n" +
4545
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n" +
4646
"To change the target wallet, use the -datadir, -wallet and -testnet/-regtest arguments.\n\n" +
4747
"Usage:\n" +

src/qt/modaloverlay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ userClosed(false)
3131
setVisible(false);
3232
if (!enable_wallet) {
3333
ui->infoText->setVisible(false);
34-
ui->infoTextStrong->setText(tr("Bitcoin Core is currently syncing. It will download headers and blocks from peers and validate them until reaching the tip of the block chain."));
34+
ui->infoTextStrong->setText(tr("%1 is currently syncing. It will download headers and blocks from peers and validate them until reaching the tip of the block chain.").arg(PACKAGE_NAME));
3535
}
3636
}
3737

0 commit comments

Comments
 (0)