File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -126,16 +126,18 @@ Intro::Intro(QWidget *parent) :
126
126
ui->storageLabel ->setText (ui->storageLabel ->text ().arg (tr (PACKAGE_NAME)));
127
127
uint64_t pruneTarget = std::max<int64_t >(0 , GetArg (" -prune" , 0 ));
128
128
requiredSpace = BLOCK_CHAIN_SIZE;
129
+ QString storageRequiresMsg = tr (" At least %1 GB of data will be stored in this directory, and it will grow over time." );
129
130
if (pruneTarget) {
130
131
uint64_t prunedGBs = std::ceil (pruneTarget * 1024 * 1024.0 / GB_BYTES);
131
132
if (prunedGBs <= requiredSpace) {
132
133
requiredSpace = prunedGBs;
134
+ storageRequiresMsg = tr (" Approximately %1 GB of data will be stored in this directory." );
133
135
}
134
136
}
135
137
requiredSpace += CHAIN_STATE_SIZE;
136
138
ui->sizeWarningLabel ->setText (
137
139
tr (" %1 will download and store a copy of the Bitcoin block chain." ).arg (tr (PACKAGE_NAME)) + " " +
138
- tr ( " At least %1 GB of data will be stored in this directory, and it will grow over time. " ) .arg (requiredSpace) + " " +
140
+ storageRequiresMsg .arg (requiredSpace) + " " +
139
141
tr (" The wallet will also be stored in this directory." )
140
142
);
141
143
startThread ();
You can’t perform that action at this time.
0 commit comments