Skip to content

Commit

Permalink
qt: fix numerusform in English translation
Browse files Browse the repository at this point in the history
  • Loading branch information
laanwj committed May 4, 2015
1 parent 7f5d7e9 commit 59305ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate)
QDateTime currentDate = QDateTime::currentDateTime();
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
if(secs < 90*60)
Expand Down
24 changes: 12 additions & 12 deletions src/qt/locale/bitcoin_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,15 @@
<translation>No block source available...</translation>
</message>
<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>
<translation>
<numerusform>%n hour</numerusform>
Expand Down Expand Up @@ -621,16 +629,8 @@
<source>Up to date</source>
<translation>Up to date</translation>
</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>
<location line="+49"/>
<location line="+44"/>
<source>Catching up...</source>
<translation>Catching up...</translation>
</message>
Expand Down Expand Up @@ -2595,8 +2595,8 @@
<location line="+110"/>
<source>Estimated to begin confirmation within %n block(s).</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform>Estimated to begin confirmation within %n block.</numerusform>
<numerusform>Estimated to begin confirmation within %n blocks.</numerusform>
</translation>
</message>
<message>
Expand Down

0 comments on commit 59305ce

Please sign in to comment.