diff options
author | YuSanka <yusanka@gmail.com> | 2019-04-26 11:52:38 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-04-26 11:54:18 +0300 |
commit | 7560de07040455ef0f2081d233607df965c9944a (patch) | |
tree | a2d263898a8524747b19e7c870c5cec2c244afcd /src/slic3r/GUI/MsgDialog.cpp | |
parent | afbe0d9e60bcb5bd7c4efa75585be417ee8ccb62 (diff) |
Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
Diffstat (limited to 'src/slic3r/GUI/MsgDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/MsgDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/MsgDialog.cpp b/src/slic3r/GUI/MsgDialog.cpp index 1de0baff7..ba2c5ed0c 100644 --- a/src/slic3r/GUI/MsgDialog.cpp +++ b/src/slic3r/GUI/MsgDialog.cpp @@ -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) { |