This commit is contained in:
bubnikv 2020-04-30 12:04:03 +02:00
commit 18d08cc5cb
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ inline wxString format_wxstr(const wxString& fmt, TArgs&&... args) {
}
template<typename... TArgs>
inline std::string format(const wxString& fmt, TArgs&&... args) {
return format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
return Slic3r::format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
}
} // namespace GUI

View File

@ -74,11 +74,11 @@ struct CurlGlobalInit
"PrusaSlicer will be unable to establish secure "
"network connections.");
else
message = Slic3r::format(
message = Slic3r::GUI::format(
_L("PrusaSlicer detected system SSL certificate store in: %1%"),
bundle);
message += "\n" + Slic3r::format(
message += "\n" + Slic3r::GUI::format(
_L("To specify the system certificate store manually, please "
"set the %1% environment variable to the correct CA bundle "
"and restart the application."),