Merge branch 'master' into fs_emboss

This commit is contained in:
Filip Sykala - NTB T15p 2022-09-16 08:43:27 +02:00
commit 6e15149e7a
15 changed files with 338 additions and 121 deletions

View file

@ -2541,8 +2541,7 @@ bool GUI_App::check_and_save_current_preset_changes(const wxString& caption, con
// synchronize config.ini with the current selections.
preset_bundle->export_selections(*app_config);
MessageDialog(nullptr, _L_PLURAL("The preset modifications are successfully saved",
"The presets modifications are successfully saved", dlg.get_names_and_types().size())).ShowModal();
MessageDialog(nullptr, dlg.msg_success_saved_modifications(dlg.get_names_and_types().size())).ShowModal();
}
}
@ -2602,8 +2601,7 @@ bool GUI_App::check_and_keep_current_preset_changes(const wxString& caption, con
// synchronize config.ini with the current selections.
preset_bundle->export_selections(*app_config);
wxString text = _L_PLURAL("The preset modifications are successfully saved",
"The presets modifications are successfully saved", preset_names_and_types.size());
wxString text = dlg.msg_success_saved_modifications(preset_names_and_types.size());
if (!is_called_from_configwizard)
text += "\n\n" + _L("For new project all modifications will be reseted");