mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
qt: Improve URI/file handling message
This change: - fixes missing spaces after full stops - makes translation context bigger
This commit is contained in:
parent
a9d1b40d53
commit
ef3e1d7272
1 changed files with 6 additions and 6 deletions
|
@ -235,9 +235,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
|
|||
if (!IsValidDestinationString(recipient.address.toStdString())) {
|
||||
if (uri.hasQueryItem("r")) { // payment request
|
||||
Q_EMIT message(tr("URI handling"),
|
||||
tr("Cannot process payment request because BIP70 is not supported.")+
|
||||
tr("Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.")+
|
||||
tr("If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
|
||||
tr("Cannot process payment request because BIP70 is not supported.\n"
|
||||
"Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.\n"
|
||||
"If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
|
||||
CClientUIInterface::ICON_WARNING);
|
||||
}
|
||||
Q_EMIT message(tr("URI handling"), tr("Invalid payment address %1").arg(recipient.address),
|
||||
|
@ -258,9 +258,9 @@ void PaymentServer::handleURIOrFile(const QString& s)
|
|||
if (QFile::exists(s)) // payment request file
|
||||
{
|
||||
Q_EMIT message(tr("Payment request file handling"),
|
||||
tr("Cannot process payment request because BIP70 is not supported.")+
|
||||
tr("Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.")+
|
||||
tr("If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
|
||||
tr("Cannot process payment request because BIP70 is not supported.\n"
|
||||
"Due to widespread security flaws in BIP70 it's strongly recommended that any merchant instructions to switch wallets be ignored.\n"
|
||||
"If you are receiving this error you should request the merchant provide a BIP21 compatible URI."),
|
||||
CClientUIInterface::ICON_WARNING);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue