mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Replace some Bitcoin mentions with Elements
This commit is contained in:
parent
51f62dcbbf
commit
f5aa08f530
4 changed files with 8 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue