This commit is contained in:
David Kocik 2024-12-10 15:21:21 +01:00 committed by Lukas Matena
parent 66e362e2dd
commit 42c39dd232

View File

@ -1327,12 +1327,10 @@ void GUI_App::remove_desktop_files_dialog()
return; return;
} }
// Inform about fails. // Inform about fails.
std::string fails_serialized; std::string text = "Failed to remove desktop files:";
std::string text = _"Failed to remove desktop files:";
text += "\n"; text += "\n";
for (const boost::filesystem::path& entry : fails) { for (const boost::filesystem::path& entry : fails) {
text += GUI::format_wxstr("%1%\n",entry.string()); text += GUI::format("%1%\n",entry.string());
fails_serialized += entry.string() + ";";
} }
BOOST_LOG_TRIVIAL(error) << text; BOOST_LOG_TRIVIAL(error) << text;
} }