From 885ff11d4c79e5b5868a773768a21d14411ab80c Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 29 Aug 2019 11:16:14 +0200 Subject: [PATCH] Update of "Volumes in Objects reordered" undo / redo message --- resources/localization/PrusaSlicer.pot | 8 ++++++-- src/slic3r/GUI/GUI_ObjectList.cpp | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/localization/PrusaSlicer.pot b/resources/localization/PrusaSlicer.pot index e6b420291..87a7fe3c0 100644 --- a/resources/localization/PrusaSlicer.pot +++ b/resources/localization/PrusaSlicer.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-29 10:44+0200\n" +"POT-Creation-Date: 2019-08-29 11:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1586,7 +1586,11 @@ msgid "Instances to Separated Objects" msgstr "" #: src/slic3r/GUI/GUI_ObjectList.cpp:1010 -msgid "Remove Volume(s)" +msgid "Volumes in Object reordered" +msgstr "" + +#: src/slic3r/GUI/GUI_ObjectList.cpp:1010 +msgid "Object reordered" msgstr "" #: src/slic3r/GUI/GUI_ObjectList.cpp:1065 diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index d07ed6847..eb014798d 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -1007,7 +1007,7 @@ void ObjectList::OnDrop(wxDataViewEvent &event) // if (to_volume_id > from_volume_id) to_volume_id--; // #endif // __WXGTK__ - take_snapshot(_(L("Remove Volume(s)"))); + take_snapshot(_((m_dragged_data.type() == itVolume) ? L("Volumes in Object reordered") : L("Object reordered"))); auto& volumes = (*m_objects)[m_dragged_data.obj_idx()]->volumes; auto delta = to_volume_id < from_volume_id ? -1 : 1;