Skip to content

Commit

Permalink
fixup! qt: remove util/translation.h
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Jan 29, 2024
1 parent b701a8a commit 008d125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/bdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool BerkeleyEnvironment::Open(std::string& err)
TryCreateDirectories(pathIn);
if (util::LockDirectory(pathIn, ".walletlock") != util::LockResult::Success) {
LogPrintf("Cannot obtain a lock on wallet directory %s. Another instance may be using it.\n", strPath);
err = strprintf(_("Error initializing wallet database environment %s!"), fs::quoted(fs::PathToString(Directory())));
err = strprintf("Error initializing wallet database environment %s!", fs::quoted(fs::PathToString(Directory())));
return false;
}

Expand Down Expand Up @@ -325,7 +325,7 @@ bool BerkeleyDatabase::Verify(std::string& errorStr)
const std::string strFile = fs::PathToString(m_filename);
int result = db.verify(strFile.c_str(), nullptr, nullptr, 0);
if (result != 0) {
errorStr = strprintf(_("%s corrupt. Try using the wallet tool bitcoin-wallet to salvage or restoring a backup."), fs::quoted(fs::PathToString(file_path)));
errorStr = strprintf("%s corrupt. Try using the wallet tool bitcoin-wallet to salvage or restoring a backup.", fs::quoted(fs::PathToString(file_path)));
return false;
}
}
Expand Down

0 comments on commit 008d125

Please sign in to comment.