diff options
| author | Luke Dashjr <[email protected]> | 2017-02-08 03:56:52 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2017-02-08 19:23:31 +0000 |
| commit | 9adb694b171efd6c0f87f96436de92526f920383 (patch) | |
| tree | 00741bf7323275ca303abaaf1879660364836132 /src | |
| parent | Bugfix: Qt/Intro: Pruned nodes never require *more* space (diff) | |
| download | discoin-9adb694b171efd6c0f87f96436de92526f920383.tar.xz discoin-9adb694b171efd6c0f87f96436de92526f920383.zip | |
Qt/Intro: Move sizeWarningLabel text into C++ code
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/forms/intro.ui | 3 | ||||
| -rw-r--r-- | src/qt/intro.cpp | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/qt/forms/intro.ui b/src/qt/forms/intro.ui index e4ff3da1a..1ec0333a9 100644 --- a/src/qt/forms/intro.ui +++ b/src/qt/forms/intro.ui @@ -55,9 +55,6 @@ </item> <item> <widget class="QLabel" name="sizeWarningLabel"> - <property name="text"> - <string>%1 will download and store a copy of the Bitcoin block chain. At least %2GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.</string> - </property> <property name="wordWrap"> <bool>true</bool> </property> diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 96bddb81e..aec9a97cf 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -133,7 +133,11 @@ Intro::Intro(QWidget *parent) : } } requiredSpace += CHAIN_STATE_SIZE; - ui->sizeWarningLabel->setText(ui->sizeWarningLabel->text().arg(tr(PACKAGE_NAME)).arg(requiredSpace)); + ui->sizeWarningLabel->setText( + tr("%1 will download and store a copy of the Bitcoin block chain.").arg(tr(PACKAGE_NAME)) + " " + + tr("At least %1 GB of data will be stored in this directory, and it will grow over time.").arg(requiredSpace) + " " + + tr("The wallet will also be stored in this directory.") + ); startThread(); } |