@@ -74,7 +74,7 @@ static void InitMessage(const std::string &message)
7474 */
7575static std::string Translate (const char * psz)
7676{
77- return QCoreApplication::translate (" bitcoin -core" , psz).toStdString ();
77+ return QCoreApplication::translate (" darkcoin -core" , psz).toStdString ();
7878}
7979
8080/* * Set up translations */
@@ -139,7 +139,7 @@ void DebugMessageHandler(QtMsgType type, const QMessageLogContext& context, cons
139139}
140140#endif
141141
142- /* * Class encapsulating Bitcoin Core startup and shutdown.
142+ /* * Class encapsulating Darkcoin Core startup and shutdown.
143143 * Allows running startup and shutdown in a different thread from the UI thread.
144144 */
145145class BitcoinCore : public QObject
@@ -423,7 +423,7 @@ void BitcoinApplication::initializeResult(int retval)
423423 }
424424#ifdef ENABLE_WALLET
425425 // Now that initialization/startup is done, process any command-line
426- // bitcoin : URIs or payment requests:
426+ // darkcoin : URIs or payment requests:
427427 connect (paymentServer, SIGNAL (receivedPaymentRequest (SendCoinsRecipient)),
428428 window, SLOT (handlePaymentRequest (SendCoinsRecipient)));
429429 connect (window, SIGNAL (receivedURI (QString)),
@@ -445,7 +445,7 @@ void BitcoinApplication::shutdownResult(int retval)
445445
446446void BitcoinApplication::handleRunawayException (const QString &message)
447447{
448- QMessageBox::critical (0 , " Runaway exception" , BitcoinGUI::tr (" A fatal error occurred. Bitcoin can no longer continue safely and will quit." ) + QString (" \n\n " ) + message);
448+ QMessageBox::critical (0 , " Runaway exception" , BitcoinGUI::tr (" A fatal error occurred. Darkcoin can no longer continue safely and will quit." ) + QString (" \n\n " ) + message);
449449 ::exit (1 );
450450}
451451
@@ -475,7 +475,7 @@ int main(int argc, char *argv[])
475475 QTextCodec::setCodecForCStrings (QTextCodec::codecForTr ());
476476#endif
477477
478- Q_INIT_RESOURCE (bitcoin );
478+ Q_INIT_RESOURCE (darkcoin );
479479
480480 GUIUtil::SubstituteFonts ();
481481
@@ -521,14 +521,14 @@ int main(int argc, char *argv[])
521521 // / - Do not call GetDataDir(true) before this step finishes
522522 if (!boost::filesystem::is_directory (GetDataDir (false )))
523523 {
524- QMessageBox::critical (0 , QObject::tr (" Bitcoin " ),
524+ QMessageBox::critical (0 , QObject::tr (" Darkcoin " ),
525525 QObject::tr (" Error: Specified data directory \" %1\" does not exist." ).arg (QString::fromStdString (mapArgs[" -datadir" ])));
526526 return 1 ;
527527 }
528528 try {
529529 ReadConfigFile (mapArgs, mapMultiArgs);
530530 } catch (std::exception &e) {
531- QMessageBox::critical (0 , QObject::tr (" Bitcoin " ),
531+ QMessageBox::critical (0 , QObject::tr (" Darkcoin " ),
532532 QObject::tr (" Error: Cannot parse configuration file: %1. Only use key=value syntax." ).arg (e.what ()));
533533 return false ;
534534 }
@@ -541,7 +541,7 @@ int main(int argc, char *argv[])
541541
542542 // Check for -testnet or -regtest parameter (Params() calls are only valid after this clause)
543543 if (!SelectParamsFromCommandLine ()) {
544- QMessageBox::critical (0 , QObject::tr (" Bitcoin " ), QObject::tr (" Error: Invalid combination of -regtest and -testnet." ));
544+ QMessageBox::critical (0 , QObject::tr (" Darkcoin " ), QObject::tr (" Error: Invalid combination of -regtest and -testnet." ));
545545 return 1 ;
546546 }
547547#ifdef ENABLE_WALLET
@@ -569,7 +569,7 @@ int main(int argc, char *argv[])
569569 exit (0 );
570570
571571 // Start up the payment server early, too, so impatient users that click on
572- // bitcoin : links repeatedly have their payment requests routed to this process:
572+ // darkcoin : links repeatedly have their payment requests routed to this process:
573573 app.createPaymentServer ();
574574#endif
575575
@@ -601,7 +601,7 @@ int main(int argc, char *argv[])
601601 app.createWindow (isaTestNet);
602602 app.requestInitialize ();
603603#if defined(Q_OS_WIN) && QT_VERSION >= 0x050000
604- WinShutdownMonitor::registerShutdownBlockReason (QObject::tr (" Bitcoin Core didn't yet exit safely..." ), (HWND)app.getMainWinId ());
604+ WinShutdownMonitor::registerShutdownBlockReason (QObject::tr (" Darkcoin Core didn't yet exit safely..." ), (HWND)app.getMainWinId ());
605605#endif
606606 app.exec ();
607607 app.requestShutdown ();
0 commit comments