Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-04-26 11:52:38 +0300
committerYuSanka <yusanka@gmail.com>2019-04-26 11:54:18 +0300
commit7560de07040455ef0f2081d233607df965c9944a (patch)
treea2d263898a8524747b19e7c870c5cec2c244afcd /src/slic3r/GUI/MsgDialog.cpp
parentafbe0d9e60bcb5bd7c4efa75585be417ee8ccb62 (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.cpp3
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)
{