Skip to content

Commit f5aa08f

Browse files
committed
Replace some Bitcoin mentions with Elements
1 parent 51f62dc commit f5aa08f

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/qt/bitcoin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ void BitcoinApplication::shutdownResult()
390390

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

src/qt/intro.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz
129129
ui->lblExplanation1->setText(ui->lblExplanation1->text()
130130
.arg(tr(PACKAGE_NAME))
131131
.arg(m_blockchain_size)
132-
.arg(2009)
133-
.arg(tr("Bitcoin"))
132+
.arg(2018)
133+
.arg(tr("Liquid"))
134134
);
135135
ui->lblExplanation2->setText(ui->lblExplanation2->text().arg(tr(PACKAGE_NAME)));
136136

@@ -149,7 +149,8 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz
149149
}
150150
requiredSpace += m_chain_state_size;
151151
ui->sizeWarningLabel->setText(
152-
tr("%1 will download and store a copy of the Bitcoin block chain.").arg(tr(PACKAGE_NAME)) + " " +
152+
//ELEMENTS: the Bitcoin mention is removed here which breaks translations
153+
tr("%1 will download and store a copy of the block chain.").arg(tr(PACKAGE_NAME)) + " " +
153154
storageRequiresMsg.arg(requiredSpace) + " " +
154155
tr("The wallet will also be stored in this directory.")
155156
);

src/qt/paymentserver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const char* BIP71_MIMETYPE_PAYMENTREQUEST = "application/bitcoin-paymentrequest"
6666
//
6767
static QString ipcServerName()
6868
{
69-
QString name("BitcoinQt");
69+
QString name("ElementsQt");
7070

7171
// Append a simple hash of the datadir
7272
// Note that GetDataDir(true) returns a different path
@@ -340,7 +340,7 @@ void PaymentServer::handleURIOrFile(const QString& s)
340340
}
341341
else
342342
Q_EMIT message(tr("URI handling"),
343-
tr("URI cannot be parsed! This can be caused by an invalid Bitcoin address or malformed URI parameters."),
343+
tr("URI cannot be parsed! This can be caused by an invalid address or malformed URI parameters."),
344344
CClientUIInterface::ICON_WARNING);
345345

346346
return;

src/qt/sendcoinsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ void SendCoinsDialog::coinControlChangeEdited(const QString& text)
811811
}
812812
else if (!IsValidDestination(dest)) // Invalid address
813813
{
814-
ui->labelCoinControlChangeLabel->setText(tr("Warning: Invalid Bitcoin address"));
814+
ui->labelCoinControlChangeLabel->setText(tr("Warning: Invalid address"));
815815
}
816816
else // Valid address
817817
{

0 commit comments

Comments
 (0)