@@ -4407,11 +4407,11 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44074407 if (gArgs .IsArgSet (" -mintxfee" )) {
44084408 CAmount n = 0 ;
44094409 if (!ParseMoney (gArgs .GetArg (" -mintxfee" , " " ), n) || 0 == n) {
4410- chain.initError (AmountErrMsg (" mintxfee" , gArgs .GetArg (" -mintxfee" , " " )));
4410+ chain.initError (AmountErrMsg (" mintxfee" , gArgs .GetArg (" -mintxfee" , " " )). translated );
44114411 return nullptr ;
44124412 }
44134413 if (n > HIGH_TX_FEE_PER_KB) {
4414- chain.initWarning (AmountHighWarn (" -mintxfee" ) + " " +
4414+ chain.initWarning (AmountHighWarn (" -mintxfee" ). translated + " " +
44154415 _ (" This is the minimum transaction fee you pay on every transaction." ).translated );
44164416 }
44174417 walletInstance->m_min_fee = CFeeRate (n);
@@ -4425,7 +4425,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44254425 return nullptr ;
44264426 }
44274427 if (nFeePerK > HIGH_TX_FEE_PER_KB) {
4428- chain.initWarning (AmountHighWarn (" -fallbackfee" ) + " " +
4428+ chain.initWarning (AmountHighWarn (" -fallbackfee" ). translated + " " +
44294429 _ (" This is the transaction fee you may pay when fee estimates are not available." ).translated );
44304430 }
44314431 walletInstance->m_fallback_fee = CFeeRate (nFeePerK);
@@ -4438,19 +4438,19 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44384438 return nullptr ;
44394439 }
44404440 if (nFeePerK > HIGH_TX_FEE_PER_KB) {
4441- chain.initWarning (AmountHighWarn (" -discardfee" ) + " " +
4441+ chain.initWarning (AmountHighWarn (" -discardfee" ). translated + " " +
44424442 _ (" This is the transaction fee you may discard if change is smaller than dust at this level" ).translated );
44434443 }
44444444 walletInstance->m_discard_rate = CFeeRate (nFeePerK);
44454445 }
44464446 if (gArgs .IsArgSet (" -paytxfee" )) {
44474447 CAmount nFeePerK = 0 ;
44484448 if (!ParseMoney (gArgs .GetArg (" -paytxfee" , " " ), nFeePerK)) {
4449- chain.initError (AmountErrMsg (" paytxfee" , gArgs .GetArg (" -paytxfee" , " " )));
4449+ chain.initError (AmountErrMsg (" paytxfee" , gArgs .GetArg (" -paytxfee" , " " )). translated );
44504450 return nullptr ;
44514451 }
44524452 if (nFeePerK > HIGH_TX_FEE_PER_KB) {
4453- chain.initWarning (AmountHighWarn (" -paytxfee" ) + " " +
4453+ chain.initWarning (AmountHighWarn (" -paytxfee" ). translated + " " +
44544454 _ (" This is the transaction fee you will pay if you send a transaction." ).translated );
44554455 }
44564456 walletInstance->m_pay_tx_fee = CFeeRate (nFeePerK, 1000 );
@@ -4465,7 +4465,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44654465 {
44664466 CAmount nMaxFee = 0 ;
44674467 if (!ParseMoney (gArgs .GetArg (" -maxtxfee" , " " ), nMaxFee)) {
4468- chain.initError (AmountErrMsg (" maxtxfee" , gArgs .GetArg (" -maxtxfee" , " " )));
4468+ chain.initError (AmountErrMsg (" maxtxfee" , gArgs .GetArg (" -maxtxfee" , " " )). translated );
44694469 return nullptr ;
44704470 }
44714471 if (nMaxFee > HIGH_MAX_TX_FEE) {
@@ -4480,7 +4480,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
44804480 }
44814481
44824482 if (chain.relayMinFee ().GetFeePerK () > HIGH_TX_FEE_PER_KB)
4483- chain.initWarning (AmountHighWarn (" -minrelaytxfee" ) + " " +
4483+ chain.initWarning (AmountHighWarn (" -minrelaytxfee" ). translated + " " +
44844484 _ (" The wallet will avoid paying less than the minimum relay fee." ).translated );
44854485
44864486 walletInstance->m_confirm_target = gArgs .GetArg (" -txconfirmtarget" , DEFAULT_TX_CONFIRM_TARGET);
0 commit comments