Dialog text

This commit is contained in:
David Kocik 2023-11-06 13:33:32 +01:00
parent c0f5a3803e
commit da55cc13f6

View File

@ -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;