diff options
author | YuSanka <yusanka@gmail.com> | 2020-02-19 12:23:52 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-02-19 12:59:05 +0300 |
commit | ae197ddd94904f0807b0da00b1927075c80155d6 (patch) | |
tree | dbdaccd777163fb4bb0fb7ca8444c66e5857bb36 /src/slic3r/GUI | |
parent | ab72d5135b6e7eaf53a312d8ff08fdc611619b79 (diff) |
Added a shortcut to the tooltip for a "Send to printer" button (related to #3667)
+ Localization: fixed some phrases
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r-- | src/slic3r/GUI/DoubleSlider.cpp | 4 | ||||
-rw-r--r-- | src/slic3r/GUI/KBShortcutsDialog.cpp | 4 | ||||
-rw-r--r-- | src/slic3r/GUI/Plater.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/slic3r/GUI/DoubleSlider.cpp b/src/slic3r/GUI/DoubleSlider.cpp index 907fae377..357c143c4 100644 --- a/src/slic3r/GUI/DoubleSlider.cpp +++ b/src/slic3r/GUI/DoubleSlider.cpp @@ -981,7 +981,7 @@ wxString Control::get_tooltip(int tick/*=-1*/) tooltip += ( m_mode == t_mode::MultiAsSingle ? _(L("Add extruder change - Left click")) : m_mode == t_mode::SingleExtruder ? - _(L("Add color change - Left click for predefined color or" + _(L("Add color change - Left click for predefined color or " "Shift + Left click for custom color selection")) : _(L("Add color change - Left click")) ) + " " + _(L("or press \"+\" key")) + "\n" + ( @@ -1645,7 +1645,7 @@ static std::string get_pause_print_msg(const std::string& msg_in, double height) static double get_print_z_to_jump(double active_print_z, double min_z, double max_z) { - wxString msg_text = _(L("Enter the height you want to jump to")) + " :"; + wxString msg_text = _(L("Enter the height you want to jump to")) + ":"; wxString msg_header = _(L("Jump to height")); wxString msg_in = GUI::double_to_string(active_print_z); diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp index 7d4211b24..b6e55a7c9 100644 --- a/src/slic3r/GUI/KBShortcutsDialog.cpp +++ b/src/slic3r/GUI/KBShortcutsDialog.cpp @@ -158,7 +158,7 @@ void KBShortcutsDialog::fill_shortcuts() { "Shift+A", L("Arrange selection") }, { "+", L("Add Instance of the selected object") }, { "-", L("Remove Instance of the selected object") }, - { ctrl, L("Press to select multiple object\nor move multiple object with mouse") }, + { ctrl, L("Press to select multiple objects\nor move multiple objects with mouse") }, { "Shift+", L("Press to activate selection rectangle") }, { alt, L("Press to activate deselection rectangle") }, { L("Arrow Up"), L("Move selection 10 mm in positive Y direction") }, @@ -192,7 +192,7 @@ void KBShortcutsDialog::fill_shortcuts() m_full_shortcuts.push_back(std::make_pair(_(L("Plater")), plater_shortcuts)); Shortcuts gizmos_shortcuts = { - { "Shift+", L("Press to to snap by 5% in Gizmo scale\nor to snap by 1mm in Gizmo move") }, + { "Shift+", L("Press to snap by 5% in Gizmo scale\nor to snap by 1mm in Gizmo move") }, { "F", L("Scale selection to fit print volume\nin Gizmo scale") }, { ctrl, L("Press to activate one direction scaling in Gizmo scale") }, { alt, L("Press to scale (in Gizmo scale) or rotate (in Gizmo rotate)\nselected objects around their own center") }, diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index d8cb77f33..bc28b62e0 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -870,7 +870,7 @@ Sidebar::Sidebar(Plater *parent) (*btn)->Hide(); }; - init_scalable_btn(&p->btn_send_gcode , "export_gcode", _(L("Send to printer"))); + init_scalable_btn(&p->btn_send_gcode , "export_gcode", _(L("Send to printer")) + "\tCtrl+Shift+G"); init_scalable_btn(&p->btn_remove_device, "cross" , _(L("Remove device"))); init_scalable_btn(&p->btn_export_gcode_removable, "export_to_sd", _(L("Export to SD card / Flash drive"))); |