wallet: Remove trailing whitespace from potential translation strings

If the potential translation strings are translated in the future,
trailing whitespace is going to make translation effort harder.
This commit is contained in:
MarcoFalke
2020-04-21 07:53:24 -04:00
parent fa59cc1c97
commit fa2cce4391
4 changed files with 8 additions and 8 deletions

View File

@@ -154,13 +154,13 @@ std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const WalletLocati
{
try {
if (!CWallet::Verify(chain, location, false, error, warnings)) {
error = Untranslated("Wallet file verification failed: ") + error;
error = Untranslated("Wallet file verification failed.") + Untranslated(" ") + error;
return nullptr;
}
std::shared_ptr<CWallet> wallet = CWallet::CreateWalletFromFile(chain, location, error, warnings);
if (!wallet) {
error = Untranslated("Wallet loading failed: ") + error;
error = Untranslated("Wallet loading failed.") + Untranslated(" ") + error;
return nullptr;
}
AddWallet(wallet);