From 1efe74383425add5171ea614637a727f1d6a2b75 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 9 May 2019 15:24:08 +0200 Subject: [PATCH] Modified texts of the "Change language" dialog. --- src/slic3r/GUI/GUI_App.cpp | 8 ++++---- src/slic3r/Utils/OctoPrint.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index c8e411ee4..bd40e2016 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -749,10 +749,10 @@ void GUI_App::add_config_menu(wxMenuBar *menu) * and draw user's attention to the application restarting after a language change */ wxMessageDialog dialog(nullptr, - _(L("Application will be restarted after language change.")) + "\n" + - _(L("3D-Scene will be cleaned.")) + "\n\n" + - _(L("Please, check your changes before.")), - _(L("Attention!")), + _(L("Switching the language will trigger application restart.\n" + "You will lose all your unsaved data (content of the plater, modified presets).")) + "\n\n" + + _(L("Do you want to proceed?")), + wxString(SLIC3R_APP_NAME) + " - " + _(L("Language selection")), wxICON_QUESTION | wxOK | wxCANCEL); if ( dialog.ShowModal() == wxID_CANCEL) return; diff --git a/src/slic3r/Utils/OctoPrint.cpp b/src/slic3r/Utils/OctoPrint.cpp index 7cea198bf..cafa69c55 100644 --- a/src/slic3r/Utils/OctoPrint.cpp +++ b/src/slic3r/Utils/OctoPrint.cpp @@ -192,7 +192,7 @@ const char* SL1Host::get_name() const { return "SL1Host"; } wxString SL1Host::get_test_ok_msg () const { - return _(L("Connection to Prusa SLA works correctly.")); + return _(L("Connection to Prusa SL1 works correctly.")); } wxString SL1Host::get_test_failed_msg (wxString &msg) const