From 59305cebee4e2140ff21962cc83c0499d1c5d748 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 4 May 2015 12:25:22 +0200 Subject: [PATCH] qt: fix numerusform in English translation Ref: transifex issue https://www.transifex.com/projects/p/bitcoin/translate/#da/qt-translation-011x/c/47723791 --- src/qt/bitcoingui.cpp | 2 +- src/qt/locale/bitcoin_en.ts | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 670d54c7e..70bf89459 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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) diff --git a/src/qt/locale/bitcoin_en.ts b/src/qt/locale/bitcoin_en.ts index ae6f60f6e..c581197dc 100644 --- a/src/qt/locale/bitcoin_en.ts +++ b/src/qt/locale/bitcoin_en.ts @@ -549,7 +549,15 @@ No block source available... - + + Processed %n block(s) of transaction history. + + Processed %n block of transaction history. + Processed %n blocks of transaction history. + + + + %n hour(s) %n hour @@ -621,16 +629,8 @@ Up to date Up to date - - - Processed %n blocks of transaction history. - - - - - - + Catching up... Catching up... @@ -2595,8 +2595,8 @@ Estimated to begin confirmation within %n block(s). - - + Estimated to begin confirmation within %n block. + Estimated to begin confirmation within %n blocks.