mirror of
https://github.com/cygnusxi/CurecoinSource.git
synced 2025-07-27 15:44:25 +02:00
Modify Splash
Make splash screen text legible. Remove commit tag from client name.
This commit is contained in:
commit
09e3723520
16
src/init.cpp
16
src/init.cpp
@ -492,7 +492,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
// ********************************************************* Step 5: verify database integrity
|
// ********************************************************* Step 5: verify database integrity
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Verifying database integrity..."));
|
uiInterface.InitMessage(_("<font style='color: black'>Verifying database integrity...</font>"));
|
||||||
|
|
||||||
if (!bitdb.Open(GetDataDir()))
|
if (!bitdb.Open(GetDataDir()))
|
||||||
{
|
{
|
||||||
@ -667,7 +667,7 @@ bool AppInit2()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Loading block index..."));
|
uiInterface.InitMessage(_("<font style='color: black'>Loading block index...</font>"));
|
||||||
printf("Loading block index...\n");
|
printf("Loading block index...\n");
|
||||||
nStart = GetTimeMillis();
|
nStart = GetTimeMillis();
|
||||||
if (!LoadBlockIndex())
|
if (!LoadBlockIndex())
|
||||||
@ -714,7 +714,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
// ********************************************************* Step 8: load wallet
|
// ********************************************************* Step 8: load wallet
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Loading wallet..."));
|
uiInterface.InitMessage(_("<font style='color: black'>Loading wallet...</font>"));
|
||||||
printf("Loading wallet...\n");
|
printf("Loading wallet...\n");
|
||||||
nStart = GetTimeMillis();
|
nStart = GetTimeMillis();
|
||||||
bool fFirstRun = true;
|
bool fFirstRun = true;
|
||||||
@ -788,7 +788,7 @@ bool AppInit2()
|
|||||||
}
|
}
|
||||||
if (pindexBest != pindexRescan && pindexBest && pindexRescan && pindexBest->nHeight > pindexRescan->nHeight)
|
if (pindexBest != pindexRescan && pindexBest && pindexRescan && pindexBest->nHeight > pindexRescan->nHeight)
|
||||||
{
|
{
|
||||||
uiInterface.InitMessage(_("Rescanning..."));
|
uiInterface.InitMessage(_("<font style='color: black'>Rescanning...</font>"));
|
||||||
printf("Rescanning last %i blocks (from block %i)...\n", pindexBest->nHeight - pindexRescan->nHeight, pindexRescan->nHeight);
|
printf("Rescanning last %i blocks (from block %i)...\n", pindexBest->nHeight - pindexRescan->nHeight, pindexRescan->nHeight);
|
||||||
nStart = GetTimeMillis();
|
nStart = GetTimeMillis();
|
||||||
pwalletMain->ScanForWalletTransactions(pindexRescan, true);
|
pwalletMain->ScanForWalletTransactions(pindexRescan, true);
|
||||||
@ -799,7 +799,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
if (mapArgs.count("-loadblock"))
|
if (mapArgs.count("-loadblock"))
|
||||||
{
|
{
|
||||||
uiInterface.InitMessage(_("Importing blockchain data file."));
|
uiInterface.InitMessage(_("<font style='color: black'>Importing blockchain data file.</font>"));
|
||||||
|
|
||||||
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"])
|
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"])
|
||||||
{
|
{
|
||||||
@ -811,7 +811,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat";
|
filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat";
|
||||||
if (filesystem::exists(pathBootstrap)) {
|
if (filesystem::exists(pathBootstrap)) {
|
||||||
uiInterface.InitMessage(_("Importing bootstrap blockchain data file."));
|
uiInterface.InitMessage(_("<font style='color: black'>Importing bootstrap blockchain data file.</font>"));
|
||||||
|
|
||||||
FILE *file = fopen(pathBootstrap.string().c_str(), "rb");
|
FILE *file = fopen(pathBootstrap.string().c_str(), "rb");
|
||||||
if (file) {
|
if (file) {
|
||||||
@ -823,7 +823,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
// ********************************************************* Step 10: load peers
|
// ********************************************************* Step 10: load peers
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Loading addresses..."));
|
uiInterface.InitMessage(_("<font style='color: black'>Loading addresses...</font>"));
|
||||||
printf("Loading addresses...\n");
|
printf("Loading addresses...\n");
|
||||||
nStart = GetTimeMillis();
|
nStart = GetTimeMillis();
|
||||||
|
|
||||||
@ -858,7 +858,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
// ********************************************************* Step 12: finished
|
// ********************************************************* Step 12: finished
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Done loading"));
|
uiInterface.InitMessage(_("<font style='color: black'>Done loading</font>"));
|
||||||
printf("Done loading\n");
|
printf("Done loading\n");
|
||||||
|
|
||||||
if (!strErrors.str().empty())
|
if (!strErrors.str().empty())
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// Name of client reported in the 'version' message. Report the same name
|
// Name of client reported in the 'version' message. Report the same name
|
||||||
// for both curecoind and curecoin-qt, to make it harder for attackers to
|
// for both curecoind and curecoin-qt, to make it harder for attackers to
|
||||||
// target servers or GUI users specifically.
|
// target servers or GUI users specifically.
|
||||||
const std::string CLIENT_NAME("curecoin");
|
const std::string CLIENT_NAME("Curecoin");
|
||||||
|
|
||||||
// Client version number
|
// Client version number
|
||||||
#define CLIENT_VERSION_SUFFIX "-CUR"
|
#define CLIENT_VERSION_SUFFIX "-CUR"
|
||||||
@ -41,7 +41,7 @@ const std::string CLIENT_NAME("curecoin");
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BUILD_DESC_FROM_COMMIT(maj,min,rev,build,commit) \
|
#define BUILD_DESC_FROM_COMMIT(maj,min,rev,build,commit) \
|
||||||
"v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build) "-g" commit
|
"v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build)
|
||||||
|
|
||||||
#define BUILD_DESC_FROM_UNKNOWN(maj,min,rev,build) \
|
#define BUILD_DESC_FROM_UNKNOWN(maj,min,rev,build) \
|
||||||
"v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build) "-unk"
|
"v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build) "-unk"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user