aboutsummaryrefslogtreecommitdiff
path: root/src/qt/intro.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-02-08 04:21:04 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-02-09 05:07:19 +0000
commitf6d18f5b3397df0152243ed81dcc9d0c18a55e04 (patch)
treebb30f4f714638c02f1e26574341630a138c02e5e /src/qt/intro.cpp
parent50c56570b23c4ecbbf2a22f3b8b18d0a24050b93 (diff)
downloadbitcoin-f6d18f5b3397df0152243ed81dcc9d0c18a55e04.tar.xz
Qt/Intro: Explain a bit more what will happen first time
Diffstat (limited to 'src/qt/intro.cpp')
-rw-r--r--src/qt/intro.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp
index e39c39bb0c..0ecdf76dfa 100644
--- a/src/qt/intro.cpp
+++ b/src/qt/intro.cpp
@@ -124,6 +124,15 @@ Intro::Intro(QWidget *parent) :
ui->setupUi(this);
ui->welcomeLabel->setText(ui->welcomeLabel->text().arg(tr(PACKAGE_NAME)));
ui->storageLabel->setText(ui->storageLabel->text().arg(tr(PACKAGE_NAME)));
+
+ ui->lblExplanation1->setText(ui->lblExplanation1->text()
+ .arg(tr(PACKAGE_NAME))
+ .arg(BLOCK_CHAIN_SIZE)
+ .arg(2009)
+ .arg(tr("Bitcoin"))
+ );
+ ui->lblExplanation2->setText(ui->lblExplanation2->text().arg(tr(PACKAGE_NAME)));
+
uint64_t pruneTarget = std::max<int64_t>(0, GetArg("-prune", 0));
requiredSpace = BLOCK_CHAIN_SIZE;
QString storageRequiresMsg = tr("At least %1 GB of data will be stored in this directory, and it will grow over time.");
@@ -133,6 +142,9 @@ Intro::Intro(QWidget *parent) :
requiredSpace = prunedGBs;
storageRequiresMsg = tr("Approximately %1 GB of data will be stored in this directory.");
}
+ ui->lblExplanation3->setVisible(true);
+ } else {
+ ui->lblExplanation3->setVisible(false);
}
requiredSpace += CHAIN_STATE_SIZE;
ui->sizeWarningLabel->setText(