mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
Merge #17923: refactor: Use PACKAGE_NAME in GUI modal overlay and bitcoin-wallet
5855cc564f
bitcoin-wallet: Use PACKAGE_NAME in usage help (Luke Dashjr)7f5db163a4
GUI: Use PACKAGE_NAME in modal overlay (Luke Dashjr) Pull request description: ACKs for top commit: hebasto: ACK5855cc564f
, checked with fanquake: ACK5855cc564f
- checked `bitcoin-wallet` and a `--disable-wallet` `bitcoin-qt`. Tree-SHA512: 3526eb122bfdbc63349d12251f17ffa20c7f3754af4ac9c554e6d36bb14b351f31c413c30401bb3d6e0e6200b72614dfc8475489b1f742b0423bd83fba758b94
This commit is contained in:
commit
002f9e9b40
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ static bool WalletAppInit(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
if (argc < 2 || HelpRequested(gArgs)) {
|
if (argc < 2 || HelpRequested(gArgs)) {
|
||||||
std::string usage = strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
|
std::string usage = strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
|
||||||
"bitcoin-wallet is an offline tool for creating and interacting with Bitcoin Core wallet files.\n" +
|
"bitcoin-wallet is an offline tool for creating and interacting with " PACKAGE_NAME " wallet files.\n" +
|
||||||
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n" +
|
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n" +
|
||||||
"To change the target wallet, use the -datadir, -wallet and -testnet/-regtest arguments.\n\n" +
|
"To change the target wallet, use the -datadir, -wallet and -testnet/-regtest arguments.\n\n" +
|
||||||
"Usage:\n" +
|
"Usage:\n" +
|
||||||
|
|
|
@ -31,7 +31,7 @@ userClosed(false)
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
if (!enable_wallet) {
|
if (!enable_wallet) {
|
||||||
ui->infoText->setVisible(false);
|
ui->infoText->setVisible(false);
|
||||||
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."));
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue