Browse Source

replced text to gostcoin

pull/5/head
orignal 7 years ago
parent
commit
ca5c7648f4
  1. 2
      src/qt/bitcoingui.cpp
  2. 2
      src/qt/gostcoin.cpp
  3. 10
      src/qt/guiutil.cpp

2
src/qt/bitcoingui.cpp

@ -682,7 +682,7 @@ void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks) @@ -682,7 +682,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("Anoncoin"); // default title
QString strTitle = tr("Gostcoin"); // default title
// Default to information icon
int nMBoxIcon = QMessageBox::Information;
int nNotifyIcon = Notificator::Information;

2
src/qt/gostcoin.cpp

@ -190,7 +190,7 @@ int main(int argc, char *argv[]) @@ -190,7 +190,7 @@ int main(int argc, char *argv[])
{
// This message can not be translated, as translation is not initialized yet
// (which not yet possible because lang=XX can be overridden in bitcoin.conf in the data directory)
QMessageBox::critical(0, "Anoncoin",
QMessageBox::critical(0, "Gostcoin",
QString("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(mapArgs["-datadir"])));
return 1;
}

10
src/qt/guiutil.cpp

@ -139,9 +139,9 @@ bool parseBitcoinURI(QString uri, SendCoinsRecipient *out) @@ -139,9 +139,9 @@ bool parseBitcoinURI(QString uri, SendCoinsRecipient *out)
//
// Cannot handle this later, because bitcoin:// will cause Qt to see the part after // as host,
// which will lower-case it (and thus invalidate the address).
if(uri.startsWith("anoncoin://"))
if(uri.startsWith("gostcoin://"))
{
uri.replace(0, 11, "anoncoin:");
uri.replace(0, 11, "gostcoin:");
}
QUrl uriInstance(uri);
return parseBitcoinURI(uriInstance, out);
@ -495,10 +495,10 @@ bool SetStartOnSystemStartup(bool fAutoStart) { return false; } @@ -495,10 +495,10 @@ bool SetStartOnSystemStartup(bool fAutoStart) { return false; }
HelpMessageBox::HelpMessageBox(QWidget *parent) :
QMessageBox(parent)
{
header = tr("Anoncoin-Qt") + " " + tr("version") + " " +
header = tr("Gostcoin-Qt") + " " + tr("version") + " " +
QString::fromStdString(FormatFullVersion()) + "\n\n" +
tr("Usage:") + "\n" +
" anoncoin-qt [" + tr("command-line options") + "] " + "\n";
" gostcoin-qt [" + tr("command-line options") + "] " + "\n";
coreOptions = QString::fromStdString(HelpMessage());
@ -507,7 +507,7 @@ HelpMessageBox::HelpMessageBox(QWidget *parent) : @@ -507,7 +507,7 @@ HelpMessageBox::HelpMessageBox(QWidget *parent) :
" -min " + tr("Start minimized") + "\n" +
" -splash " + tr("Show splash screen on startup (default: 1)") + "\n";
setWindowTitle(tr("Anoncoin-Qt"));
setWindowTitle(tr("Gostcoin-Qt"));
setTextFormat(Qt::PlainText);
// setMinimumWidth is ignored for QMessageBox so put in non-breaking spaces to make it wider.
setText(header + QString(QChar(0x2003)).repeated(50));

Loading…
Cancel
Save