Replace some Bitcoin mentions with Elements

This commit is contained in:
Steven Roose 2020-03-30 12:38:23 +01:00
parent 51f62dcbbf
commit f5aa08f530
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87
4 changed files with 8 additions and 7 deletions

View file

@ -390,7 +390,7 @@ void BitcoinApplication::shutdownResult()
void BitcoinApplication::handleRunawayException(const QString &message)
{
QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Bitcoin can no longer continue safely and will quit.") + QString("\n\n") + message);
QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Elements can no longer continue safely and will quit.") + QString("\n\n") + message);
::exit(EXIT_FAILURE);
}

View file

@ -129,8 +129,8 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz
ui->lblExplanation1->setText(ui->lblExplanation1->text()
.arg(tr(PACKAGE_NAME))
.arg(m_blockchain_size)
.arg(2009)
.arg(tr("Bitcoin"))
.arg(2018)
.arg(tr("Liquid"))
);
ui->lblExplanation2->setText(ui->lblExplanation2->text().arg(tr(PACKAGE_NAME)));
@ -149,7 +149,8 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz
}
requiredSpace += m_chain_state_size;
ui->sizeWarningLabel->setText(
tr("%1 will download and store a copy of the Bitcoin block chain.").arg(tr(PACKAGE_NAME)) + " " +
//ELEMENTS: the Bitcoin mention is removed here which breaks translations
tr("%1 will download and store a copy of the block chain.").arg(tr(PACKAGE_NAME)) + " " +
storageRequiresMsg.arg(requiredSpace) + " " +
tr("The wallet will also be stored in this directory.")
);

View file

@ -66,7 +66,7 @@ const char* BIP71_MIMETYPE_PAYMENTREQUEST = "application/bitcoin-paymentrequest"
//
static QString ipcServerName()
{
QString name("BitcoinQt");
QString name("ElementsQt");
// Append a simple hash of the datadir
// Note that GetDataDir(true) returns a different path
@ -340,7 +340,7 @@ void PaymentServer::handleURIOrFile(const QString& s)
}
else
Q_EMIT message(tr("URI handling"),
tr("URI cannot be parsed! This can be caused by an invalid Bitcoin address or malformed URI parameters."),
tr("URI cannot be parsed! This can be caused by an invalid address or malformed URI parameters."),
CClientUIInterface::ICON_WARNING);
return;

View file

@ -811,7 +811,7 @@ void SendCoinsDialog::coinControlChangeEdited(const QString& text)
}
else if (!IsValidDestination(dest)) // Invalid address
{
ui->labelCoinControlChangeLabel->setText(tr("Warning: Invalid Bitcoin address"));
ui->labelCoinControlChangeLabel->setText(tr("Warning: Invalid address"));
}
else // Valid address
{