Skip to content

Commit a9d6151

Browse files
committed
qt,wallet: Fix a few typos in messages
As reported by [yahoe.001](https://www.transifex.com/user/profile/yahoe.001/).
1 parent 03e1d6c commit a9d6151

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/qt/bitcoinstrings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
191191
"included in share/rpcuser. This option can be specified multiple times"),
192192
QT_TRANSLATE_NOOP("bitcoin-core", ""
193193
"Wallet will not create transactions that violate mempool chain limits "
194-
"(default: %u"),
194+
"(default: %u)"),
195195
QT_TRANSLATE_NOOP("bitcoin-core", ""
196196
"Warning: Unknown block versions being mined! It's possible unknown rules are "
197197
"in effect"),

src/qt/guiutil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,11 +961,11 @@ QString formateNiceTimeOffset(qint64 secs)
961961
const int YEAR_IN_SECONDS = 31556952; // Average length of year in Gregorian calendar
962962
if(secs < 60)
963963
{
964-
timeBehindText = QObject::tr("%n seconds(s)","",secs);
964+
timeBehindText = QObject::tr("%n second(s)","",secs);
965965
}
966966
else if(secs < 2*HOUR_IN_SECONDS)
967967
{
968-
timeBehindText = QObject::tr("%n minutes(s)","",secs/60);
968+
timeBehindText = QObject::tr("%n minute(s)","",secs/60);
969969
}
970970
else if(secs < 2*DAY_IN_SECONDS)
971971
{

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3399,7 +3399,7 @@ std::string CWallet::GetWalletHelpString(bool showDebug)
33993399
strUsage += HelpMessageOpt("-dblogsize=<n>", strprintf("Flush wallet database activity from memory to disk log every <n> megabytes (default: %u)", DEFAULT_WALLET_DBLOGSIZE));
34003400
strUsage += HelpMessageOpt("-flushwallet", strprintf("Run a thread to flush wallet periodically (default: %u)", DEFAULT_FLUSHWALLET));
34013401
strUsage += HelpMessageOpt("-privdb", strprintf("Sets the DB_PRIVATE flag in the wallet db environment (default: %u)", DEFAULT_WALLET_PRIVDB));
3402-
strUsage += HelpMessageOpt("-walletrejectlongchains", strprintf(_("Wallet will not create transactions that violate mempool chain limits (default: %u"), DEFAULT_WALLET_REJECT_LONG_CHAINS));
3402+
strUsage += HelpMessageOpt("-walletrejectlongchains", strprintf(_("Wallet will not create transactions that violate mempool chain limits (default: %u)"), DEFAULT_WALLET_REJECT_LONG_CHAINS));
34033403
}
34043404

34053405
return strUsage;

0 commit comments

Comments
 (0)