mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Qt/Intro: Move sizeWarningLabel text into C++ code
This commit is contained in:
parent
a9baa6d742
commit
9adb694b17
@ -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>
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user