mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 20:32:01 +08:00
Dialog text
This commit is contained in:
parent
c0f5a3803e
commit
da55cc13f6
@ -234,7 +234,8 @@ void WifiConfigDialog::on_ok(wxCommandEvent& e)
|
||||
}
|
||||
|
||||
if (boost::filesystem::exists(file_path)) {
|
||||
wxString msg_text = GUI::format_wxstr("%1% already exists. Do you want to rewrite it?", file_path.string());
|
||||
// TRN placeholder 1 is path to file
|
||||
wxString msg_text = GUI::format_wxstr(_L("%1% already exists. Do you want to rewrite it?\n(Other items than Wi-Fi credentials will stay unchanged)"), file_path.string());
|
||||
WarningDialog dialog(m_parent, msg_text, _L("Warning"), wxYES | wxNO);
|
||||
if (dialog.ShowModal() == wxID_NO) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user