qt: fix numerusform in English translation

Ref: transifex issue https://www.transifex.com/projects/p/bitcoin/translate/#da/qt-translation-011x/c/47723791
This commit is contained in:
Wladimir J. van der Laan 2015-05-04 12:25:22 +02:00
parent 7f5d7e9d6d
commit 59305cebee
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
2 changed files with 13 additions and 13 deletions

View File

@ -684,7 +684,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate)
QDateTime currentDate = QDateTime::currentDateTime(); QDateTime currentDate = QDateTime::currentDateTime();
qint64 secs = blockDate.secsTo(currentDate); qint64 secs = blockDate.secsTo(currentDate);
tooltip = tr("Processed %n blocks of transaction history.", "", count); tooltip = tr("Processed %n block(s) of transaction history.", "", count);
// Set icon state: spinning if catching up, tick otherwise // Set icon state: spinning if catching up, tick otherwise
if(secs < 90*60) if(secs < 90*60)

View File

@ -549,7 +549,15 @@
<translation>No block source available...</translation> <translation>No block source available...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location line="+35"/> <location line="+9"/>
<source>Processed %n block(s) of transaction history.</source>
<translation>
<numerusform>Processed %n block of transaction history.</numerusform>
<numerusform>Processed %n blocks of transaction history.</numerusform>
</translation>
</message>
<message numerus="yes">
<location line="+26"/>
<source>%n hour(s)</source> <source>%n hour(s)</source>
<translation> <translation>
<numerusform>%n hour</numerusform> <numerusform>%n hour</numerusform>
@ -621,16 +629,8 @@
<source>Up to date</source> <source>Up to date</source>
<translation>Up to date</translation> <translation>Up to date</translation>
</message> </message>
<message numerus="yes">
<location line="-5"/>
<source>Processed %n blocks of transaction history.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message> <message>
<location line="+49"/> <location line="+44"/>
<source>Catching up...</source> <source>Catching up...</source>
<translation>Catching up...</translation> <translation>Catching up...</translation>
</message> </message>
@ -2595,8 +2595,8 @@
<location line="+110"/> <location line="+110"/>
<source>Estimated to begin confirmation within %n block(s).</source> <source>Estimated to begin confirmation within %n block(s).</source>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform>Estimated to begin confirmation within %n block.</numerusform>
<numerusform></numerusform> <numerusform>Estimated to begin confirmation within %n blocks.</numerusform>
</translation> </translation>
</message> </message>
<message> <message>