Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs

+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
This commit is contained in:
YuSanka 2019-04-26 10:52:38 +02:00
parent afbe0d9e60
commit 7560de0704
11 changed files with 33 additions and 17 deletions

View file

@ -100,6 +100,7 @@ wxString Field::get_tooltip_text(const wxString& default_string)
{
wxString tooltip_text("");
wxString tooltip = _(m_opt.tooltip);
edit_tooltip(tooltip);
if (tooltip.length() > 0)
tooltip_text = tooltip + "\n" + _(L("default value")) + "\t: " +
(boost::iends_with(m_opt_id, "_gcode") ? "\n" : "") + default_string +