diff --git a/resources/localization/PrusaSlicer.pot b/resources/localization/PrusaSlicer.pot index dcaace9e0..78028a691 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-28 15:11+0200\n" +"POT-Creation-Date: 2019-08-28 15:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -880,11 +880,12 @@ msgstr "" msgid "Paste" msgstr "" -#: src/slic3r/GUI/GLCanvas3D.cpp:3603 +#: src/slic3r/GUI/GLCanvas3D.cpp:3603 src/slic3r/GUI/Plater.cpp:3390 +#: src/slic3r/GUI/Plater.cpp:3402 src/slic3r/GUI/Plater.cpp:3516 msgid "Add instance" msgstr "" -#: src/slic3r/GUI/GLCanvas3D.cpp:3614 +#: src/slic3r/GUI/GLCanvas3D.cpp:3614 src/slic3r/GUI/Plater.cpp:3518 msgid "Remove instance" msgstr "" @@ -3370,33 +3371,24 @@ msgstr "" msgid "Cancelled" msgstr "" -#: src/slic3r/GUI/Plater.cpp:3390 src/slic3r/GUI/Plater.cpp:3402 -#: src/slic3r/GUI/Plater.cpp:3516 -msgid "Increase copies" -msgstr "" - #: src/slic3r/GUI/Plater.cpp:3510 src/slic3r/GUI/Plater.cpp:3529 msgid "Remove the selected object" msgstr "" #: src/slic3r/GUI/Plater.cpp:3516 -msgid "Place one more copy of the selected object" +msgid "Add one more instance of the selected object" msgstr "" #: src/slic3r/GUI/Plater.cpp:3518 -msgid "Decrease copies" -msgstr "" - -#: src/slic3r/GUI/Plater.cpp:3518 -msgid "Remove one copy of the selected object" +msgid "Remove one instance of the selected object" msgstr "" #: src/slic3r/GUI/Plater.cpp:3520 -msgid "Set number of copies" +msgid "Set number of instances" msgstr "" #: src/slic3r/GUI/Plater.cpp:3520 -msgid "Change the number of copies of the selected object" +msgid "Change the number of instances of the selected object" msgstr "" #: src/slic3r/GUI/Plater.cpp:3539 diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index af6bef8b1..c311472c7 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -3387,7 +3387,7 @@ void Plater::priv::on_right_click(Vec2dEvent& evt) */ const MenuIdentifier id = printer_technology == ptSLA ? miObjectSLA : miObjectFFF; if (wxGetApp().get_mode() == comSimple) { - if (menu->FindItem(_(L("Increase copies"))) != wxNOT_FOUND) + if (menu->FindItem(_(L("Add instance"))) != wxNOT_FOUND) { /* Detach an items from the menu, but don't delete them * so that they can be added back later @@ -3399,7 +3399,7 @@ void Plater::priv::on_right_click(Vec2dEvent& evt) } } else { - if (menu->FindItem(_(L("Increase copies"))) == wxNOT_FOUND) + if (menu->FindItem(_(L("Add instance"))) == wxNOT_FOUND) { // Prepend items to the menu, if those aren't not there menu->Prepend(items_set_number_of_copies[id]); @@ -3513,11 +3513,11 @@ bool Plater::priv::init_common_menu(wxMenu* menu, const bool is_part/* = false*/ sidebar->obj_list()->append_menu_item_export_stl(menu); } else { - wxMenuItem* item_increase = append_menu_item(menu, wxID_ANY, _(L("Increase copies")) + "\t+", _(L("Place one more copy of the selected object")), + wxMenuItem* item_increase = append_menu_item(menu, wxID_ANY, _(L("Add instance")) + "\t+", _(L("Add one more instance of the selected object")), [this](wxCommandEvent&) { q->increase_instances(); }, "add_copies", nullptr, [this]() { return can_increase_instances(); }, q); - wxMenuItem* item_decrease = append_menu_item(menu, wxID_ANY, _(L("Decrease copies")) + "\t-", _(L("Remove one copy of the selected object")), + wxMenuItem* item_decrease = append_menu_item(menu, wxID_ANY, _(L("Remove instance")) + "\t-", _(L("Remove one instance of the selected object")), [this](wxCommandEvent&) { q->decrease_instances(); }, "remove_copies", nullptr, [this]() { return can_decrease_instances(); }, q); - wxMenuItem* item_set_number_of_copies = append_menu_item(menu, wxID_ANY, _(L("Set number of copies")) + dots, _(L("Change the number of copies of the selected object")), + wxMenuItem* item_set_number_of_copies = append_menu_item(menu, wxID_ANY, _(L("Set number of instances")) + dots, _(L("Change the number of instances of the selected object")), [this](wxCommandEvent&) { q->set_number_of_copies(); }, "number_of_copies", nullptr, [this]() { return can_increase_instances(); }, q);