mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-04 05:54:48 +02:00
GUI: Avoid unnecessary BIP 21 references (Knots supports BIP 20 also)
This commit is contained in:
parent
55bd5d8015
commit
4fcbd58ba5
@ -565,10 +565,10 @@ int GuiMain(int argc, char* argv[])
|
||||
}
|
||||
#endif
|
||||
if (payment_server_token_seen && arg.startsWith("-")) {
|
||||
InitError(Untranslated(strprintf("Options ('%s') cannot follow a BIP-21 payment URI", argv[i])));
|
||||
InitError(Untranslated(strprintf("Options ('%s') cannot follow a payment URI", argv[i])));
|
||||
QMessageBox::critical(nullptr, PACKAGE_NAME,
|
||||
// message cannot be translated because translations have not been initialized
|
||||
QString::fromStdString("Options ('%1') cannot follow a BIP-21 payment URI").arg(QString::fromStdString(argv[i])));
|
||||
QString::fromStdString("Options ('%1') cannot follow a payment URI").arg(QString::fromStdString(argv[i])));
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
if (invalid_token) {
|
||||
|
@ -59,7 +59,7 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
|
||||
} else {
|
||||
setWindowTitle(tr("Command-line options"));
|
||||
QString header = "Usage: bitcoin-qt [command-line options] [URI]\n\n"
|
||||
"Optional URI is a Bitcoin address in BIP21 URI format.\n";
|
||||
"Optional URI is a Bitcoin address in URI format.\n";
|
||||
QTextCursor cursor(ui->helpMessage->document());
|
||||
cursor.insertText(version);
|
||||
cursor.insertBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user