mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-27 16:05:39 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user