@@ -4395,12 +4395,12 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
43954395 }
43964396
43974397 if (!gArgs .GetArg (" -addresstype" , " " ).empty () && !ParseOutputType (gArgs .GetArg (" -addresstype" , " " ), walletInstance->m_default_address_type )) {
4398- chain.initError (strprintf (" Unknown address type '%s'" , gArgs .GetArg (" -addresstype" , " " )));
4398+ chain.initError (strprintf (_ ( " Unknown address type '%s'" ). translated , gArgs .GetArg (" -addresstype" , " " )));
43994399 return nullptr ;
44004400 }
44014401
44024402 if (!gArgs .GetArg (" -changetype" , " " ).empty () && !ParseOutputType (gArgs .GetArg (" -changetype" , " " ), walletInstance->m_default_change_type )) {
4403- chain.initError (strprintf (" Unknown change type '%s'" , gArgs .GetArg (" -changetype" , " " )));
4403+ chain.initError (strprintf (_ ( " Unknown change type '%s'" ). translated , gArgs .GetArg (" -changetype" , " " )));
44044404 return nullptr ;
44054405 }
44064406
@@ -4479,9 +4479,10 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44794479 walletInstance->m_default_max_tx_fee = nMaxFee;
44804480 }
44814481
4482- if (chain.relayMinFee ().GetFeePerK () > HIGH_TX_FEE_PER_KB)
4482+ if (chain.relayMinFee ().GetFeePerK () > HIGH_TX_FEE_PER_KB) {
44834483 chain.initWarning (AmountHighWarn (" -minrelaytxfee" ).translated + " " +
44844484 _ (" The wallet will avoid paying less than the minimum relay fee." ).translated );
4485+ }
44854486
44864487 walletInstance->m_confirm_target = gArgs .GetArg (" -txconfirmtarget" , DEFAULT_TX_CONFIRM_TARGET);
44874488 walletInstance->m_spend_zero_conf_change = gArgs .GetBoolArg (" -spendzeroconfchange" , DEFAULT_SPEND_ZEROCONF_CHANGE);
0 commit comments