Browse Source

minor language/text updates

miguelfreitas
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): @@ -47,7 +47,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
trayIcon(0)
{
resize(850, 550);
setWindowTitle(tr("Bitcoin"));
setWindowTitle(tr("Bitcoin Wallet"));
setWindowIcon(QIcon(":icons/bitcoin"));
createActions();
@ -170,11 +170,12 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) @@ -170,11 +170,12 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
if(clientModel->isTestNet())
{
setWindowTitle(tr("Bitcoin [testnet]"));
QString title_testnet = tr("Bitcoin Wallet [testnet]");
setWindowTitle(title_testnet);
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
if(trayIcon)
{
trayIcon->setToolTip(tr("Bitcoin [testnet]"));
trayIcon->setToolTip(title_testnet);
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
}
}

6
src/qt/transactiontablemodel.cpp

@ -286,11 +286,11 @@ QVariant TransactionTableModel::formatTxStatus(const TransactionRecord *wtx) con @@ -286,11 +286,11 @@ QVariant TransactionTableModel::formatTxStatus(const TransactionRecord *wtx) con
}
if(wtx->type == TransactionRecord::Generated)
{
status += "\n";
status += "\n\n";
switch(wtx->status.maturity)
{
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);
break;
case TransactionStatus::Mature:
@ -360,7 +360,7 @@ QVariant TransactionTableModel::formatTxType(const TransactionRecord *wtx) const @@ -360,7 +360,7 @@ QVariant TransactionTableModel::formatTxType(const TransactionRecord *wtx) const
description = tr("Payment to yourself");
break;
case TransactionRecord::Generated:
description = tr("Generated");
description = tr("Mined");
break;
}
return QVariant(description);

2
src/qt/transactionview.cpp

@ -53,7 +53,7 @@ TransactionView::TransactionView(QWidget *parent) : @@ -53,7 +53,7 @@ TransactionView::TransactionView(QWidget *parent) :
typeWidget->addItem(tr("Sent to"), TransactionFilterProxy::TYPE(TransactionRecord::SendToAddress) |
TransactionFilterProxy::TYPE(TransactionRecord::SendToIP));
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));
hlayout->addWidget(typeWidget);

Loading…
Cancel
Save