Browse Source

minor language/text updates

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
fac047480d
  1. 7
      src/qt/bitcoingui.cpp
  2. 6
      src/qt/transactiontablemodel.cpp
  3. 2
      src/qt/transactionview.cpp

7
src/qt/bitcoingui.cpp

@ -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"));
} }
} }

6
src/qt/transactiontablemodel.cpp

@ -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);

2
src/qt/transactionview.cpp

@ -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…
Cancel
Save