Skip to content

Commit

Permalink
Skin pac2 (#3)
Browse files Browse the repository at this point in the history
* New skin

* New logo PAC

* Fix style for label

* Reduce font size for transactions

* Masternodes fix and superficial changes

* New logo PAC

* Fix style for label

* Reduce font size for transactions

* Masternodes fix and superficial changes

* Changes for new token and main icon

* New token
  • Loading branch information
devfsc authored and alejandromgk committed Jan 24, 2018
1 parent 97dedb7 commit d9ab434
Show file tree
Hide file tree
Showing 35 changed files with 1,706 additions and 1,733 deletions.
4 changes: 2 additions & 2 deletions src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode mode,
switch(tab)
{
case SendingTab:
ui->labelExplanation->setText(tr("These are your Paccoin addresses for sending payments. Always check the amount and the receiving address before sending coins."));
ui->labelExplanation->setText(tr("These are your $PAC addresses for sending payments. Always check the amount and the receiving address before sending coins."));
ui->deleteAddress->setVisible(true);
break;
case ReceivingTab:
ui->labelExplanation->setText(tr("These are your Paccoin addresses for receiving payments. It is recommended to use a new receiving address for each transaction."));
ui->labelExplanation->setText(tr("These are your $PAC addresses for receiving payments. It is recommended to use a new receiving address for each transaction."));
ui->deleteAddress->setVisible(false);
break;
}
Expand Down
6 changes: 3 additions & 3 deletions src/qt/askpassphrasedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void AskPassphraseDialog::accept()
break;
}
QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Confirm wallet encryption"),
tr("Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR PAC</b>!") + "<br><br>" + tr("Are you sure you wish to encrypt your wallet?"),
tr("Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR $PAC</b>!") + "<br><br>" + tr("Are you sure you wish to encrypt your wallet?"),
QMessageBox::Yes|QMessageBox::Cancel,
QMessageBox::Cancel);
if(retval == QMessageBox::Yes)
Expand All @@ -122,9 +122,9 @@ void AskPassphraseDialog::accept()
{
QMessageBox::warning(this, tr("Wallet encrypted"),
"<qt>" +
tr("Paccoin Core will close now to finish the encryption process. "
tr("$PAC Core will close now to finish the encryption process. "
"Remember that encrypting your wallet cannot fully protect "
"your paccoins from being stolen by malware infecting your computer.") +
"your $PAC from being stolen by malware infecting your computer.") +
"<br><br><b>" +
tr("IMPORTANT: Any previous backups you have made of your wallet file "
"should be replaced with the newly generated, encrypted wallet file. "
Expand Down
26 changes: 13 additions & 13 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n

GUIUtil::restoreWindowGeometry("nWindow", QSize(850, 550), this);

QString windowTitle = tr("Paccoin Core") + " - ";
QString windowTitle = tr("$PAC Core") + " - ";
#ifdef ENABLE_WALLET
/* if compiled with wallet support, -disablewallet can still disable the wallet */
enableWallet = !GetBoolArg("-disablewallet", false);
Expand Down Expand Up @@ -297,7 +297,7 @@ void BitcoinGUI::createActions()
tabGroup->addAction(overviewAction);

sendCoinsAction = new QAction(QIcon(":/icons/" + theme + "/send"), tr("&Send"), this);
sendCoinsAction->setStatusTip(tr("Send coins to a Paccoin address"));
sendCoinsAction->setStatusTip(tr("Send coins to a $PAC address"));
sendCoinsAction->setToolTip(sendCoinsAction->statusTip());
sendCoinsAction->setCheckable(true);
#ifdef Q_OS_MAC
Expand All @@ -312,7 +312,7 @@ void BitcoinGUI::createActions()
sendCoinsMenuAction->setToolTip(sendCoinsMenuAction->statusTip());

receiveCoinsAction = new QAction(QIcon(":/icons/" + theme + "/receiving_addresses"), tr("&Receive"), this);
receiveCoinsAction->setStatusTip(tr("Request payments (generates QR codes and paccoin: URIs)"));
receiveCoinsAction->setStatusTip(tr("Request payments (generates QR codes and $PAC: URIs)"));
receiveCoinsAction->setToolTip(receiveCoinsAction->statusTip());
receiveCoinsAction->setCheckable(true);
#ifdef Q_OS_MAC
Expand Down Expand Up @@ -374,15 +374,15 @@ void BitcoinGUI::createActions()
quitAction->setStatusTip(tr("Quit application"));
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
quitAction->setMenuRole(QAction::QuitRole);
aboutAction = new QAction(QIcon(":/icons/" + theme + "/about"), tr("&About Paccoin Core"), this);
aboutAction->setStatusTip(tr("Show information about Paccoin Core"));
aboutAction = new QAction(QIcon(":/icons/" + theme + "/about"), tr("&About $PAC Core"), this);
aboutAction->setStatusTip(tr("Show information about $PAC Core"));
aboutAction->setMenuRole(QAction::AboutRole);
aboutAction->setEnabled(false);
aboutQtAction = new QAction(QIcon(":/icons/" + theme + "/about_qt"), tr("About &Qt"), this);
aboutQtAction->setStatusTip(tr("Show information about Qt"));
aboutQtAction->setMenuRole(QAction::AboutQtRole);
optionsAction = new QAction(QIcon(":/icons/" + theme + "/options"), tr("&Options..."), this);
optionsAction->setStatusTip(tr("Modify configuration options for Paccoin Core"));
optionsAction->setStatusTip(tr("Modify configuration options for $PAC Core"));
optionsAction->setMenuRole(QAction::PreferencesRole);
optionsAction->setEnabled(false);
toggleHideAction = new QAction(QIcon(":/icons/" + theme + "/about"), tr("&Show / Hide"), this);
Expand All @@ -399,9 +399,9 @@ void BitcoinGUI::createActions()
unlockWalletAction->setToolTip(tr("Unlock wallet"));
lockWalletAction = new QAction(tr("&Lock Wallet"), this);
signMessageAction = new QAction(QIcon(":/icons/" + theme + "/edit"), tr("Sign &message..."), this);
signMessageAction->setStatusTip(tr("Sign messages with your Paccoin addresses to prove you own them"));
signMessageAction->setStatusTip(tr("Sign messages with your $PAC addresses to prove you own them"));
verifyMessageAction = new QAction(QIcon(":/icons/" + theme + "/transaction_0"), tr("&Verify message..."), this);
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Paccoin addresses"));
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified $PAC addresses"));

openInfoAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation), tr("&Information"), this);
openInfoAction->setStatusTip(tr("Show diagnostic information"));
Expand Down Expand Up @@ -432,11 +432,11 @@ void BitcoinGUI::createActions()
usedReceivingAddressesAction->setStatusTip(tr("Show the list of used receiving addresses and labels"));

openAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_DirOpenIcon), tr("Open &URI..."), this);
openAction->setStatusTip(tr("Open a paccoin: URI or payment request"));
openAction->setStatusTip(tr("Open a $PAC: URI or payment request"));

showHelpMessageAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation), tr("&Command-line options"), this);
showHelpMessageAction->setMenuRole(QAction::NoRole);
showHelpMessageAction->setStatusTip(tr("Show the Paccoin Core help message to get a list with possible Paccoin Core command-line options"));
showHelpMessageAction->setStatusTip(tr("Show the $PAC Core help message to get a list with possible $PAC Core command-line options"));

showPrivateSendHelpAction = new QAction(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation), tr("&PrivateSend information"), this);
showPrivateSendHelpAction->setMenuRole(QAction::NoRole);
Expand Down Expand Up @@ -730,7 +730,7 @@ void BitcoinGUI::setWalletActionsEnabled(bool enabled)
void BitcoinGUI::createTrayIcon(const NetworkStyle *networkStyle)
{
trayIcon = new QSystemTrayIcon(this);
QString toolTip = tr("Paccoin Core client") + " " + networkStyle->getTitleAddText();
QString toolTip = tr("$PAC Core client") + " " + networkStyle->getTitleAddText();
trayIcon->setToolTip(toolTip);
trayIcon->setIcon(networkStyle->getTrayAndWindowIcon());
trayIcon->hide();
Expand Down Expand Up @@ -930,7 +930,7 @@ void BitcoinGUI::updateNetworkState()
}

if (clientModel->getNetworkActive()) {
labelConnectionsIcon->setToolTip(tr("%n active connection(s) to Paccoin network", "", count));
labelConnectionsIcon->setToolTip(tr("%n active connection(s) to $PAC network", "", count));
} else {
labelConnectionsIcon->setToolTip(tr("Network activity disabled"));
icon = ":/icons/" + theme + "/network_disabled";
Expand Down Expand Up @@ -1124,7 +1124,7 @@ void BitcoinGUI::setAdditionalDataSyncProgress(double nSyncProgress)

void BitcoinGUI::message(const QString &title, const QString &message, unsigned int style, bool *ret)
{
QString strTitle = tr("Paccoin Core"); // default title
QString strTitle = tr("$PAC Core"); // default title
// Default to information icon
int nMBoxIcon = QMessageBox::Information;
int nNotifyIcon = Notificator::Information;
Expand Down
28 changes: 14 additions & 14 deletions src/qt/bitcoinunits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ QString BitcoinUnits::name(int unit)
{
switch(unit)
{
case PAC: return QString("PAC");
case mPAC: return QString("mPAC");
case uPAC: return QString::fromUtf8("μPAC");
case PAC: return QString("$PAC");
case mPAC: return QString("m$PAC");
case uPAC: return QString::fromUtf8("μ$PAC");
case duffs: return QString("duffs");
default: return QString("???");
}
Expand All @@ -57,9 +57,9 @@ QString BitcoinUnits::name(int unit)
{
switch(unit)
{
case PAC: return QString("tPAC");
case mPAC: return QString("mtPAC");
case uPAC: return QString::fromUtf8("μtPAC");
case PAC: return QString("t$PAC");
case mPAC: return QString("mt$PAC");
case uPAC: return QString::fromUtf8("μt$PAC");
case duffs: return QString("tduffs");
default: return QString("???");
}
Expand All @@ -72,21 +72,21 @@ QString BitcoinUnits::description(int unit)
{
switch(unit)
{
case PAC: return QString("Paccoin");
case mPAC: return QString("Milli-Paccoin (1 / 1" THIN_SP_UTF8 "000)");
case uPAC: return QString("Micro-Paccoin (1 / 1" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case duffs: return QString("Ten Nano-Paccoin (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case PAC: return QString("$PAC");
case mPAC: return QString("Milli-$PAC (1 / 1" THIN_SP_UTF8 "000)");
case uPAC: return QString("Micro-$PAC (1 / 1" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case duffs: return QString("Ten Nano-$PAC (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
default: return QString("???");
}
}
else
{
switch(unit)
{
case PAC: return QString("TestPaccoins");
case mPAC: return QString("Milli-TestPaccoin (1 / 1" THIN_SP_UTF8 "000)");
case uPAC: return QString("Micro-TestPaccoin (1 / 1" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case duffs: return QString("Ten Nano-TestPaccoin (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case PAC: return QString("Test$PAC");
case mPAC: return QString("Milli-Test$PAC (1 / 1" THIN_SP_UTF8 "000)");
case uPAC: return QString("Micro-Test$PAC (1 / 1" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
case duffs: return QString("Ten Nano-Test$PAC (1 / 100" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");
default: return QString("???");
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/qt/darksendconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void DarksendConfig::clickBasic()
model->getOptionsModel()->getDisplayUnit(), 100000 * COIN));
QMessageBox::information(this, tr("PrivateSend Configuration"),
tr(
"PrivateSend was successfully set to basic (%1 and 2 rounds). You can change this at any time by opening Paccoin's configuration screen."
"PrivateSend was successfully set to basic (%1 and 2 rounds). You can change this at any time by opening $PAC's configuration screen."
).arg(strAmount)
);

Expand All @@ -57,7 +57,7 @@ void DarksendConfig::clickHigh()
model->getOptionsModel()->getDisplayUnit(), 100000 * COIN));
QMessageBox::information(this, tr("PrivateSend Configuration"),
tr(
"PrivateSend was successfully set to high (%1 and 8 rounds). You can change this at any time by opening Paccoin's configuration screen."
"PrivateSend was successfully set to high (%1 and 8 rounds). You can change this at any time by opening $PAC's configuration screen."
).arg(strAmount)
);

Expand All @@ -72,7 +72,7 @@ void DarksendConfig::clickMax()
model->getOptionsModel()->getDisplayUnit(), 100000 * COIN));
QMessageBox::information(this, tr("PrivateSend Configuration"),
tr(
"PrivateSend was successfully set to maximum (%1 and 16 rounds). You can change this at any time by opening Paccoin's configuration screen."
"PrivateSend was successfully set to maximum (%1 and 16 rounds). You can change this at any time by opening $PAC's configuration screen."
).arg(strAmount)
);

Expand Down
2 changes: 1 addition & 1 deletion src/qt/editaddressdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void EditAddressDialog::accept()
break;
case AddressTableModel::INVALID_ADDRESS:
QMessageBox::warning(this, windowTitle(),
tr("The entered address \"%1\" is not a valid Paccoin address.").arg(ui->addressEdit->text()),
tr("The entered address \"%1\" is not a valid $PAC address.").arg(ui->addressEdit->text()),
QMessageBox::Ok, QMessageBox::Ok);
break;
case AddressTableModel::DUPLICATE_ADDRESS:
Expand Down
8 changes: 4 additions & 4 deletions src/qt/forms/intro.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>674</width>
<height>363</height>
<height>315</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -20,7 +20,7 @@
<string notr="true">QLabel { font-style:italic; }</string>
</property>
<property name="text">
<string>Welcome to Paccoin Core.</string>
<string>Welcome to $PAC Core.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand All @@ -46,7 +46,7 @@
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>As this is the first time the program is launched, you can choose where Paccoin Core will store its data.</string>
<string>As this is the first time the program is launched, you can choose where $PAC Core will store its data.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand All @@ -56,7 +56,7 @@
<item>
<widget class="QLabel" name="sizeWarningLabel">
<property name="text">
<string>Paccoin Core will download and store a copy of the Paccoin block chain. At least %1GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.</string>
<string>$PAC Core will download and store a copy of the $PAC block chain. At least %1GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down
33 changes: 2 additions & 31 deletions src/qt/forms/optionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<string>Automatically start Paccoin Core after logging in to the system.</string>
</property>
<property name="text">
<string>&amp;Start Paccoin Core on system login</string>
<string>&amp;Start $PAC Core on system login</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -253,7 +253,7 @@
<string notr="true"/>
</property>
<property name="text">
<string>Amount of Paccoin to keep anonymized</string>
<string>Amount of $PAC to keep anonymized</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -687,35 +687,6 @@
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="toolTip">
<string notr="true"/>
</property>
<property name="statusTip">
<string notr="true"/>
</property>
<property name="whatsThis">
<string notr="true"/>
</property>
<property name="accessibleName">
<string notr="true"/>
</property>
<property name="text">
<string>Language missing or translation incomplete? Help contributing translations here:
https://www.transifex.com/projects/p/paccoin/</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextBrowserInteraction</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4_Display" stretch="0,0">
<item>
Expand Down
4 changes: 2 additions & 2 deletions src/qt/forms/signverifymessagedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>700</width>
<height>380</height>
<height>356</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -30,7 +30,7 @@
<item>
<widget class="QLabel" name="infoLabel_SM">
<property name="text">
<string>You can sign messages/agreements with your addresses to prove you can receive Paccoin sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>
<string>You can sign messages/agreements with your addresses to prove you can receive $PAC sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/guiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
#if QT_VERSION >= 0x040700
// We don't want translators to use own addresses in translations
// and this is the only place, where this address is supplied.
widget->setPlaceholderText(QObject::tr("Enter a Paccoin address (e.g. %1)").arg("XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"));
widget->setPlaceholderText(QObject::tr("Enter a $PAC address (e.g. %1)").arg("XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"));
#endif
widget->setValidator(new BitcoinAddressEntryValidator(parent));
widget->setCheckValidator(new BitcoinAddressCheckValidator(parent));
Expand Down
2 changes: 1 addition & 1 deletion src/qt/intro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void Intro::pickDataDirectory()
TryCreateDirectory(GUIUtil::qstringToBoostPath(dataDir));
break;
} catch (const fs::filesystem_error&) {
QMessageBox::critical(0, tr("Paccoin Core"),
QMessageBox::critical(0, tr("$PAC Core"),
tr("Error: Specified data directory \"%1\" cannot be created.").arg(dataDir));
/* fall through, back to choosing screen */
}
Expand Down
Loading

0 comments on commit d9ab434

Please sign in to comment.