mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Use PACKAGE_NAME in messages rather than hardcoding "Bitcoin Core"
This commit is contained in:
@@ -1663,7 +1663,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|||||||
|
|
||||||
const auto BadPortWarning = [](const char* prefix, uint16_t port) {
|
const auto BadPortWarning = [](const char* prefix, uint16_t port) {
|
||||||
return strprintf(_("%s request to listen on port %u. This port is considered \"bad\" and "
|
return strprintf(_("%s request to listen on port %u. This port is considered \"bad\" and "
|
||||||
"thus it is unlikely that any Bitcoin Core peers connect to it. See "
|
"thus it is unlikely that any peer will connect to it. See "
|
||||||
"doc/p2p-bad-ports.md for details and a full list."),
|
"doc/p2p-bad-ports.md for details and a full list."),
|
||||||
prefix,
|
prefix,
|
||||||
port);
|
port);
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="externalSignerPath">
|
<widget class="QLineEdit" name="externalSignerPath">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Full path to a Bitcoin Core compatible script (e.g. C:\Downloads\hwi.exe or /Users/you/Downloads/hwi.py). Beware: malware can steal your coins!</string>
|
<string>Full path to a %1 compatible script (e.g. C:\Downloads\hwi.exe or /Users/you/Downloads/hwi.py). Beware: malware can steal your coins!</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -91,7 +91,9 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
|
|||||||
ui->thirdPartyTxUrls->setVisible(false);
|
ui->thirdPartyTxUrls->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef ENABLE_EXTERNAL_SIGNER
|
#ifdef ENABLE_EXTERNAL_SIGNER
|
||||||
|
ui->externalSignerPath->setToolTip(ui->externalSignerPath->toolTip().arg(PACKAGE_NAME));
|
||||||
|
#else
|
||||||
//: "External signing" means using devices such as hardware wallets.
|
//: "External signing" means using devices such as hardware wallets.
|
||||||
ui->externalSignerPath->setToolTip(tr("Compiled without external signing support (required for external signing)"));
|
ui->externalSignerPath->setToolTip(tr("Compiled without external signing support (required for external signing)"));
|
||||||
ui->externalSignerPath->setEnabled(false);
|
ui->externalSignerPath->setEnabled(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user