aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMisbakh-Soloviev Vadim A <mva@mva.name>2011-08-28 14:12:26 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-28 14:14:29 +0200
commit3f0816e3d926e0ea78ac7b6cd43efe62355885c8 (patch)
treed16baa1f94a7a88cd0d5d1675816dbf6797162cd /src/init.cpp
parentae8adeb90abb334b8e5712124e62461eca77c12f (diff)
add russian translation and add unicode compatibility (merges pull request #20)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp
index c565a92e0b..7d2a14fb97 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -372,21 +372,21 @@ bool AppInit2(int argc, char* argv[])
strErrors = "";
int64 nStart;
- InitMessage("Loading addresses...");
+ InitMessage(_("Loading addresses..."));
printf("Loading addresses...\n");
nStart = GetTimeMillis();
if (!LoadAddresses())
strErrors += _("Error loading addr.dat \n");
printf(" addresses %15"PRI64d"ms\n", GetTimeMillis() - nStart);
- InitMessage("Loading block index...");
+ InitMessage(_("Loading block index..."));
printf("Loading block index...\n");
nStart = GetTimeMillis();
if (!LoadBlockIndex())
strErrors += _("Error loading blkindex.dat \n");
printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart);
- InitMessage("Loading wallet...");
+ InitMessage(_("Loading wallet..."));
printf("Loading wallet...\n");
nStart = GetTimeMillis();
bool fFirstRun;
@@ -417,14 +417,14 @@ bool AppInit2(int argc, char* argv[])
}
if (pindexBest != pindexRescan)
{
- InitMessage("Rescanning...");
+ InitMessage(_("Rescanning..."));
printf("Rescanning last %i blocks (from block %i)...\n", pindexBest->nHeight - pindexRescan->nHeight, pindexRescan->nHeight);
nStart = GetTimeMillis();
pwalletMain->ScanForWalletTransactions(pindexRescan, true);
printf(" rescan %15"PRI64d"ms\n", GetTimeMillis() - nStart);
}
- InitMessage("Done loading");
+ InitMessage(_("Done loading"));
printf("Done loading\n");
//// debug print
@@ -547,7 +547,7 @@ bool AppInit2(int argc, char* argv[])
RandAddSeedPerfmon();
if (!CreateThread(StartNode, NULL))
- wxMessageBox("Error: CreateThread(StartNode) failed", "Bitcoin");
+ wxMessageBox(_("Error: CreateThread(StartNode) failed"), "Bitcoin");
if (fServer)
CreateThread(ThreadRPCServer, NULL);