diff --git a/resources/localization/PrusaSlicer.pot b/resources/localization/PrusaSlicer.pot index c5bcaa3bd..77539a7a3 100644 --- a/resources/localization/PrusaSlicer.pot +++ b/resources/localization/PrusaSlicer.pot @@ -4914,7 +4914,7 @@ msgid "Cannot overwrite an external profile." msgstr "" #: src/slic3r/GUI/Tab.cpp:3038 -msgid "Preset with name \"%1%\" already exist." +msgid "Preset with name \"%1%\" already exists." msgstr "" #: src/slic3r/GUI/Tab.cpp:3039 diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index bd0d7b81f..e2f33f6db 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3033,9 +3033,9 @@ void Tab::save_preset(std::string name /*= ""*/) show_error(this, _(L("Cannot overwrite an external profile."))); return; } - if (existing/* && name != preset.name*/) + if (existing && name != preset.name) { - wxString msg_text = GUI::from_u8((boost::format(_utf8(L("Preset with name \"%1%\" already exist."))) % name).str()); + wxString msg_text = GUI::from_u8((boost::format(_utf8(L("Preset with name \"%1%\" already exists."))) % name).str()); msg_text += "\n" + _(L("Replace?")); wxMessageDialog dialog(nullptr, msg_text, _(L("Warning")), wxICON_WARNING | wxYES | wxNO);