Skip to content

Commit 59305ce

Browse files
committed
qt: fix numerusform in English translation
Ref: transifex issue https://www.transifex.com/projects/p/bitcoin/translate/#da/qt-translation-011x/c/47723791
1 parent 7f5d7e9 commit 59305ce

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/qt/bitcoingui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate)
684684
QDateTime currentDate = QDateTime::currentDateTime();
685685
qint64 secs = blockDate.secsTo(currentDate);
686686

687-
tooltip = tr("Processed %n blocks of transaction history.", "", count);
687+
tooltip = tr("Processed %n block(s) of transaction history.", "", count);
688688

689689
// Set icon state: spinning if catching up, tick otherwise
690690
if(secs < 90*60)

src/qt/locale/bitcoin_en.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,15 @@
549549
<translation>No block source available...</translation>
550550
</message>
551551
<message numerus="yes">
552-
<location line="+35"/>
552+
<location line="+9"/>
553+
<source>Processed %n block(s) of transaction history.</source>
554+
<translation>
555+
<numerusform>Processed %n block of transaction history.</numerusform>
556+
<numerusform>Processed %n blocks of transaction history.</numerusform>
557+
</translation>
558+
</message>
559+
<message numerus="yes">
560+
<location line="+26"/>
553561
<source>%n hour(s)</source>
554562
<translation>
555563
<numerusform>%n hour</numerusform>
@@ -621,16 +629,8 @@
621629
<source>Up to date</source>
622630
<translation>Up to date</translation>
623631
</message>
624-
<message numerus="yes">
625-
<location line="-5"/>
626-
<source>Processed %n blocks of transaction history.</source>
627-
<translation type="unfinished">
628-
<numerusform></numerusform>
629-
<numerusform></numerusform>
630-
</translation>
631-
</message>
632632
<message>
633-
<location line="+49"/>
633+
<location line="+44"/>
634634
<source>Catching up...</source>
635635
<translation>Catching up...</translation>
636636
</message>
@@ -2595,8 +2595,8 @@
25952595
<location line="+110"/>
25962596
<source>Estimated to begin confirmation within %n block(s).</source>
25972597
<translation type="unfinished">
2598-
<numerusform></numerusform>
2599-
<numerusform></numerusform>
2598+
<numerusform>Estimated to begin confirmation within %n block.</numerusform>
2599+
<numerusform>Estimated to begin confirmation within %n blocks.</numerusform>
26002600
</translation>
26012601
</message>
26022602
<message>

0 commit comments

Comments
 (0)