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

@ -70,7 +70,8 @@ MsgDialog::~MsgDialog() {}
// ErrorDialog
ErrorDialog::ErrorDialog(wxWindow *parent, const wxString &msg)
: MsgDialog(parent, _(L("Slic3r error")), _(L("Slic3r has encountered an error")),
: MsgDialog(parent, wxString::Format(_(L("%s error")), SLIC3R_APP_NAME),
wxString::Format(_(L("%s has encountered an error")), SLIC3R_APP_NAME),
wxID_NONE)
, msg(msg)
{