aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.cpp
diff options
context:
space:
mode:
authorSjors Provoost <[email protected]>2019-10-12 12:27:56 +0200
committerSjors Provoost <[email protected]>2020-02-04 11:18:02 +0100
commit5efc25f9638866941028454cfa9bae27f1519cb4 (patch)
treed5f78d3301b31d40eca2e60a2c2877d5ddf33a37 /src/wallet/scriptpubkeyman.cpp
parentMerge #18060: gui: Drop PeerTableModel dependency to ClientModel (diff)
downloaddiscoin-5efc25f9638866941028454cfa9bae27f1519cb4.tar.xz
discoin-5efc25f9638866941028454cfa9bae27f1519cb4.zip
[wallet] translate "Keypool ran out" message
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
-rw-r--r--src/wallet/scriptpubkeyman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp
index 4c9d88973..1a9f0fe0c 100644
--- a/src/wallet/scriptpubkeyman.cpp
+++ b/src/wallet/scriptpubkeyman.cpp
@@ -18,7 +18,7 @@ bool LegacyScriptPubKeyMan::GetNewDestination(const OutputType type, CTxDestinat
// Generate a new key that is added to wallet
CPubKey new_key;
if (!GetKeyFromPool(new_key, type)) {
- error = "Error: Keypool ran out, please call keypoolrefill first";
+ error = _("Error: Keypool ran out, please call keypoolrefill first").translated;
return false;
}
LearnRelatedScripts(new_key, type);