Browse Source

Merge #8805: Trivial: Grammar and capitalization

c9ce17b Trivial: Grammar and capitalization (Derek Miller)
0.14
MarcoFalke 8 years ago
parent
commit
2f71490d21
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 8
      src/qt/forms/modaloverlay.ui
  2. 4
      src/qt/modaloverlay.cpp

8
src/qt/forms/modaloverlay.ui

@ -204,7 +204,7 @@ QLabel { color: rgb(40,40,40); }</string>
<number>10</number> <number>10</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="labelAmoutOfBlocksLeft"> <widget class="QLabel" name="labelNumberOfBlocksLeft">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>75</weight>
@ -212,12 +212,12 @@ QLabel { color: rgb(40,40,40); }</string>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Amount of blocks left</string> <string>Number of blocks left</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="amountOfBlocksLeft"> <widget class="QLabel" name="numberOfBlocksLeft">
<property name="text"> <property name="text">
<string>unknown...</string> <string>unknown...</string>
</property> </property>
@ -289,7 +289,7 @@ QLabel { color: rgb(40,40,40); }</string>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Progress increase per Hour</string> <string>Progress increase per hour</string>
</property> </property>
</widget> </widget>
</item> </item>

4
src/qt/modaloverlay.cpp

@ -125,9 +125,9 @@ void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVeri
ui->percentageProgress->setText(QString::number(nVerificationProgress*100, 'f', 2)+"%"); ui->percentageProgress->setText(QString::number(nVerificationProgress*100, 'f', 2)+"%");
ui->progressBar->setValue(nVerificationProgress*100); ui->progressBar->setValue(nVerificationProgress*100);
// show remaining amount of blocks // show remaining number of blocks
if (bestBlockHeight > 0) if (bestBlockHeight > 0)
ui->amountOfBlocksLeft->setText(QString::number(bestBlockHeight-count)); ui->numberOfBlocksLeft->setText(QString::number(bestBlockHeight-count));
else else
ui->expectedTimeLeft->setText(tr("Unknown. Syncing Headers...")); ui->expectedTimeLeft->setText(tr("Unknown. Syncing Headers..."));
} }

Loading…
Cancel
Save