From 2385c0c2e88002a1722a909e76701dfa466b7512 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Mon, 12 Oct 2020 11:34:19 +0200 Subject: [PATCH] Changed wording of "Revert from imperial units" --- src/slic3r/GUI/GUI_ObjectList.cpp | 4 ++-- src/slic3r/GUI/Plater.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 1925401b8..b13e1d290 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -1855,10 +1855,10 @@ void ObjectList::append_menu_item_scale_selection_to_fit_print_volume(wxMenu* me void ObjectList::append_menu_items_convert_unit(wxMenu* menu) { - append_menu_item(menu, wxID_ANY, _L("Convert from imperial unit"), _L("Convert from imperial unit"), + append_menu_item(menu, wxID_ANY, _L("Convert from imperial units"), _L("Convert from imperial units"), [](wxCommandEvent&) { wxGetApp().plater()->convert_unit(true); }, "", menu); - append_menu_item(menu, wxID_ANY, _L("Convert to imperial unit"), _L("Convert to imperial unit"), + append_menu_item(menu, wxID_ANY, _L("Revert conversion from imperial units"), _L("Revert conversion from imperial units"), [](wxCommandEvent&) { wxGetApp().plater()->convert_unit(false); }, "", menu); } diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 9a6334459..32c5aa7cb 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -4848,7 +4848,7 @@ void Plater::convert_unit(bool from_imperial_unit) if (obj_idxs.empty() && volume_idxs.empty()) return; - TakeSnapshot snapshot(this, from_imperial_unit ? _L("Convert from imperial units") : _L("Convert to imperial units")); + TakeSnapshot snapshot(this, from_imperial_unit ? _L("Convert from imperial units") : _L("Revert conversion from imperial units")); wxBusyCursor wait; ModelObjectPtrs objects;