Myriadcoin

This commit is contained in:
myriadcoin
2014-02-23 18:52:46 +02:00
parent 5a60784411
commit f1a9ebbdc8
102 changed files with 4990 additions and 4828 deletions
+15 -15
View File
@@ -73,13 +73,13 @@ BitcoinGUI::BitcoinGUI(bool fIsTestnet, QWidget *parent) :
#ifndef Q_OS_MAC
if (!fIsTestnet)
{
setWindowTitle(tr("Zetacoin") + " - " + tr("Wallet"));
setWindowTitle(tr("Myriadcoin") + " - " + tr("Wallet"));
QApplication::setWindowIcon(QIcon(":icons/bitcoin"));
setWindowIcon(QIcon(":icons/bitcoin"));
}
else
{
setWindowTitle(tr("Zetacoin") + " - " + tr("Wallet") + " " + tr("[testnet]"));
setWindowTitle(tr("Myriadcoin") + " - " + tr("Wallet") + " " + tr("[testnet]"));
QApplication::setWindowIcon(QIcon(":icons/bitcoin_testnet"));
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
}
@@ -187,7 +187,7 @@ void BitcoinGUI::createActions(bool fIsTestnet)
tabGroup->addAction(overviewAction);
sendCoinsAction = new QAction(QIcon(":/icons/send"), tr("&Send"), this);
sendCoinsAction->setStatusTip(tr("Send coins to a Zetacoin address"));
sendCoinsAction->setStatusTip(tr("Send coins to a Myriadcoin address"));
sendCoinsAction->setToolTip(sendCoinsAction->statusTip());
sendCoinsAction->setCheckable(true);
sendCoinsAction->setShortcut(QKeySequence(Qt::ALT + Qt::Key_2));
@@ -230,16 +230,16 @@ void BitcoinGUI::createActions(bool fIsTestnet)
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
quitAction->setMenuRole(QAction::QuitRole);
if (!fIsTestnet)
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About Zetacoin"), this);
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About Myriadcoin"), this);
else
aboutAction = new QAction(QIcon(":/icons/bitcoin_testnet"), tr("&About Zetacoin"), this);
aboutAction->setStatusTip(tr("Show information about Zetacoin"));
aboutAction = new QAction(QIcon(":/icons/bitcoin_testnet"), tr("&About Myriadcoin"), this);
aboutAction->setStatusTip(tr("Show information about Myriadcoin"));
aboutAction->setMenuRole(QAction::AboutRole);
aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
aboutQtAction->setStatusTip(tr("Show information about Qt"));
aboutQtAction->setMenuRole(QAction::AboutQtRole);
optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);
optionsAction->setStatusTip(tr("Modify configuration options for Zetacoin"));
optionsAction->setStatusTip(tr("Modify configuration options for Myriadcoin"));
optionsAction->setMenuRole(QAction::PreferencesRole);
if (!fIsTestnet)
toggleHideAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Show / Hide"), this);
@@ -255,9 +255,9 @@ void BitcoinGUI::createActions(bool fIsTestnet)
changePassphraseAction = new QAction(QIcon(":/icons/key"), tr("&Change Passphrase..."), this);
changePassphraseAction->setStatusTip(tr("Change the passphrase used for wallet encryption"));
signMessageAction = new QAction(QIcon(":/icons/edit"), tr("Sign &message..."), this);
signMessageAction->setStatusTip(tr("Sign messages with your Zetacoin addresses to prove you own them"));
signMessageAction->setStatusTip(tr("Sign messages with your Myriadcoin addresses to prove you own them"));
verifyMessageAction = new QAction(QIcon(":/icons/transaction_0"), tr("&Verify message..."), this);
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Zetacoin addresses"));
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Myriadcoin addresses"));
openRPCConsoleAction = new QAction(QIcon(":/icons/debugwindow"), tr("&Debug window"), this);
openRPCConsoleAction->setStatusTip(tr("Open debugging and diagnostic console"));
@@ -362,12 +362,12 @@ void BitcoinGUI::createTrayIcon(bool fIsTestnet)
if (!fIsTestnet)
{
trayIcon->setToolTip(tr("Zetacoin client"));
trayIcon->setToolTip(tr("Myriadcoin client"));
trayIcon->setIcon(QIcon(":/icons/toolbar"));
}
else
{
trayIcon->setToolTip(tr("Zetacoin client") + " " + tr("[testnet]"));
trayIcon->setToolTip(tr("Myriadcoin client") + " " + tr("[testnet]"));
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
}
@@ -510,7 +510,7 @@ void BitcoinGUI::setNumConnections(int count)
default: icon = ":/icons/connect_4"; break;
}
labelConnectionsIcon->setPixmap(QIcon(icon).pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE));
labelConnectionsIcon->setToolTip(tr("%n active connection(s) to Zetacoin network", "", count));
labelConnectionsIcon->setToolTip(tr("%n active connection(s) to Myriadcoin network", "", count));
}
void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks)
@@ -609,7 +609,7 @@ void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks)
void BitcoinGUI::message(const QString &title, const QString &message, unsigned int style, bool *ret)
{
QString strTitle = tr("Zetacoin"); // default title
QString strTitle = tr("Myriadcoin"); // default title
// Default to information icon
int nMBoxIcon = QMessageBox::Information;
int nNotifyIcon = Notificator::Information;
@@ -740,7 +740,7 @@ void BitcoinGUI::dropEvent(QDropEvent *event)
if (nValidUrisFound)
walletFrame->gotoSendCoinsPage();
else
message(tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid Zetacoin address or malformed URI parameters."),
message(tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid Myriadcoin address or malformed URI parameters."),
CClientUIInterface::ICON_WARNING);
}
@@ -763,7 +763,7 @@ void BitcoinGUI::handleURI(QString strURI)
{
// URI has to be valid
if (!walletFrame->handleURI(strURI))
message(tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid Zetacoin address or malformed URI parameters."),
message(tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid Myriadcoin address or malformed URI parameters."),
CClientUIInterface::ICON_WARNING);
}