Follow-up 88d5f40b7c - Small fix for text formatting

This commit is contained in:
YuSanka 2021-06-30 14:32:39 +02:00 committed by Vojtech Bubnik
parent ca530717e0
commit e199dd5b20

View File

@ -333,9 +333,9 @@ void show_substitutions_info(const ConfigSubstitutions& config_substitutions, co
if (!changes.IsEmpty()) if (!changes.IsEmpty())
changes += "\n\n"; changes += "\n\n";
wxString message = format(_L("Loading <b>%1%</b> file found incompatibilities.\n" wxString message = format(_L("Loading %1% file found incompatibilities.\n"
"To recover this file, incompatible values were changed to default values:%2%" "To recover this file, incompatible values were changed to default values:%2%"
"But data in files won't be changed until you save them in PrusaSlicer."), from_u8(filename), changes); "But data in files won't be changed until you save them in PrusaSlicer."), bold(from_u8(filename)), changes);
InfoDialog msg(nullptr, message); InfoDialog msg(nullptr, message);
msg.ShowModal(); msg.ShowModal();