minor language/text updates
This commit is contained in:
parent
e599246803
commit
fac047480d
3 changed files with 8 additions and 7 deletions
|
@ -47,7 +47,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
|
||||||
trayIcon(0)
|
trayIcon(0)
|
||||||
{
|
{
|
||||||
resize(850, 550);
|
resize(850, 550);
|
||||||
setWindowTitle(tr("Bitcoin"));
|
setWindowTitle(tr("Bitcoin Wallet"));
|
||||||
setWindowIcon(QIcon(":icons/bitcoin"));
|
setWindowIcon(QIcon(":icons/bitcoin"));
|
||||||
|
|
||||||
createActions();
|
createActions();
|
||||||
|
@ -170,11 +170,12 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
||||||
|
|
||||||
if(clientModel->isTestNet())
|
if(clientModel->isTestNet())
|
||||||
{
|
{
|
||||||
setWindowTitle(tr("Bitcoin [testnet]"));
|
QString title_testnet = tr("Bitcoin Wallet [testnet]");
|
||||||
|
setWindowTitle(title_testnet);
|
||||||
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
|
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
|
||||||
if(trayIcon)
|
if(trayIcon)
|
||||||
{
|
{
|
||||||
trayIcon->setToolTip(tr("Bitcoin [testnet]"));
|
trayIcon->setToolTip(title_testnet);
|
||||||
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
|
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -286,11 +286,11 @@ QVariant TransactionTableModel::formatTxStatus(const TransactionRecord *wtx) con
|
||||||
}
|
}
|
||||||
if(wtx->type == TransactionRecord::Generated)
|
if(wtx->type == TransactionRecord::Generated)
|
||||||
{
|
{
|
||||||
status += "\n";
|
status += "\n\n";
|
||||||
switch(wtx->status.maturity)
|
switch(wtx->status.maturity)
|
||||||
{
|
{
|
||||||
case TransactionStatus::Immature:
|
case TransactionStatus::Immature:
|
||||||
status += tr("Generation matures in %n more blocks", "",
|
status += tr("Mined balance will be available in %n more blocks", "",
|
||||||
wtx->status.matures_in);
|
wtx->status.matures_in);
|
||||||
break;
|
break;
|
||||||
case TransactionStatus::Mature:
|
case TransactionStatus::Mature:
|
||||||
|
@ -360,7 +360,7 @@ QVariant TransactionTableModel::formatTxType(const TransactionRecord *wtx) const
|
||||||
description = tr("Payment to yourself");
|
description = tr("Payment to yourself");
|
||||||
break;
|
break;
|
||||||
case TransactionRecord::Generated:
|
case TransactionRecord::Generated:
|
||||||
description = tr("Generated");
|
description = tr("Mined");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return QVariant(description);
|
return QVariant(description);
|
||||||
|
|
|
@ -53,7 +53,7 @@ TransactionView::TransactionView(QWidget *parent) :
|
||||||
typeWidget->addItem(tr("Sent to"), TransactionFilterProxy::TYPE(TransactionRecord::SendToAddress) |
|
typeWidget->addItem(tr("Sent to"), TransactionFilterProxy::TYPE(TransactionRecord::SendToAddress) |
|
||||||
TransactionFilterProxy::TYPE(TransactionRecord::SendToIP));
|
TransactionFilterProxy::TYPE(TransactionRecord::SendToIP));
|
||||||
typeWidget->addItem(tr("To yourself"), TransactionFilterProxy::TYPE(TransactionRecord::SendToSelf));
|
typeWidget->addItem(tr("To yourself"), TransactionFilterProxy::TYPE(TransactionRecord::SendToSelf));
|
||||||
typeWidget->addItem(tr("Generated"), TransactionFilterProxy::TYPE(TransactionRecord::Generated));
|
typeWidget->addItem(tr("Mined"), TransactionFilterProxy::TYPE(TransactionRecord::Generated));
|
||||||
typeWidget->addItem(tr("Other"), TransactionFilterProxy::TYPE(TransactionRecord::Other));
|
typeWidget->addItem(tr("Other"), TransactionFilterProxy::TYPE(TransactionRecord::Other));
|
||||||
|
|
||||||
hlayout->addWidget(typeWidget);
|
hlayout->addWidget(typeWidget);
|
||||||
|
|
Loading…
Add table
Reference in a new issue