@@ -971,7 +971,7 @@ bool AppInitParameterInteraction()
971971
972972 // Warn if unrecognized section name are present in the config file.
973973 for (const auto & section : gArgs .GetUnrecognizedSections ()) {
974- InitWarning (strprintf (" %s:%i " + _ (" Section [%s] is not recognized." ). translated , section.m_file , section.m_line , section.m_name ));
974+ InitWarning (strprintf (Untranslated ( " %s:%i " ) + _ (" Section [%s] is not recognized." ), section.m_file , section.m_line , section.m_name ));
975975 }
976976
977977 if (!fs::is_directory (GetBlocksDir ())) {
@@ -1027,7 +1027,7 @@ bool AppInitParameterInteraction()
10271027 nMaxConnections = std::min (nFD - MIN_CORE_FILEDESCRIPTORS - MAX_ADDNODE_CONNECTIONS, nMaxConnections);
10281028
10291029 if (nMaxConnections < nUserMaxConnections)
1030- InitWarning (strprintf (_ (" Reducing -maxconnections from %d to %d, because of system limitations." ). translated , nUserMaxConnections, nMaxConnections));
1030+ InitWarning (strprintf (_ (" Reducing -maxconnections from %d to %d, because of system limitations." ), nUserMaxConnections, nMaxConnections));
10311031
10321032 // ********************************************************* Step 3: parameter-to-internal-flags
10331033 if (gArgs .IsArgSet (" -debug" )) {
@@ -1038,7 +1038,7 @@ bool AppInitParameterInteraction()
10381038 [](std::string cat){return cat == " 0" || cat == " none" ;})) {
10391039 for (const auto & cat : categories) {
10401040 if (!LogInstance ().EnableCategory (cat)) {
1041- InitWarning (strprintf (_ (" Unsupported logging category %s=%s." ). translated , " -debug" , cat));
1041+ InitWarning (strprintf (_ (" Unsupported logging category %s=%s." ), " -debug" , cat));
10421042 }
10431043 }
10441044 }
@@ -1047,7 +1047,7 @@ bool AppInitParameterInteraction()
10471047 // Now remove the logging categories which were explicitly excluded
10481048 for (const std::string& cat : gArgs .GetArgs (" -debugexclude" )) {
10491049 if (!LogInstance ().DisableCategory (cat)) {
1050- InitWarning (strprintf (_ (" Unsupported logging category %s=%s." ). translated , " -debugexclude" , cat));
1050+ InitWarning (strprintf (_ (" Unsupported logging category %s=%s." ), " -debugexclude" , cat));
10511051 }
10521052 }
10531053
@@ -1260,7 +1260,7 @@ bool AppInitMain(NodeContext& node)
12601260 LogPrintf (" Config file: %s\n " , config_file_path.string ());
12611261 } else if (gArgs .IsArgSet (" -conf" )) {
12621262 // Warn if no conf file exists at path provided by user
1263- InitWarning (strprintf (_ (" The specified config file %s does not exist\n " ). translated , config_file_path.string ()));
1263+ InitWarning (strprintf (_ (" The specified config file %s does not exist\n " ), config_file_path.string ()));
12641264 } else {
12651265 // Not categorizing as "Warning" because it's the default behavior
12661266 LogPrintf (" Config file: %s (not found, skipping)\n " , config_file_path.string ());
0 commit comments