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) :
126126 ui->storageLabel ->setText (ui->storageLabel ->text ().arg (tr (PACKAGE_NAME)));
127127 uint64_t pruneTarget = std::max<int64_t >(0 , GetArg (" -prune" , 0 ));
128128 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." );
129130 if (pruneTarget) {
130131 uint64_t prunedGBs = std::ceil (pruneTarget * 1024 * 1024.0 / GB_BYTES);
131132 if (prunedGBs <= requiredSpace) {
132133 requiredSpace = prunedGBs;
134+ storageRequiresMsg = tr (" Approximately %1 GB of data will be stored in this directory." );
133135 }
134136 }
135137 requiredSpace += CHAIN_STATE_SIZE;
136138 ui->sizeWarningLabel ->setText (
137139 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) + " " +
139141 tr (" The wallet will also be stored in this directory." )
140142 );
141143 startThread ();
You can’t perform that action at this time.
0 commit comments