Wording improvmenet of some error message.

This commit is contained in:
bubnikv 2019-08-05 14:54:29 +02:00
parent c91df2c769
commit 219521f6ad

View file

@ -1767,7 +1767,7 @@ void ObjectList::del_subobject_item(wxDataViewItem& item)
m_objects_model->Delete(item); m_objects_model->Delete(item);
if (show_msg) if (show_msg)
Slic3r::GUI::show_error(nullptr, _(L("From Object List You can't delete the last intance from object."))); Slic3r::GUI::show_error(nullptr, _(L("Last instance of an object cannot be deleted.")));
} }
void ObjectList::del_settings_from_config(const wxDataViewItem& parent_item) void ObjectList::del_settings_from_config(const wxDataViewItem& parent_item)
@ -1869,7 +1869,7 @@ bool ObjectList::del_subobject_from_object(const int obj_idx, const int idx, con
} }
else if (type == itInstance) { else if (type == itInstance) {
if (object->instances.size() == 1) { if (object->instances.size() == 1) {
Slic3r::GUI::show_error(nullptr, _(L("From Object List You can't delete the last intance from object."))); Slic3r::GUI::show_error(nullptr, _(L("Last instance of an object cannot be deleted.")));
return false; return false;
} }