diff options
Diffstat (limited to 'src/wx/job_wrapper.cc')
| -rw-r--r-- | src/wx/job_wrapper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/job_wrapper.cc b/src/wx/job_wrapper.cc index ede11762c..f0b506ba5 100644 --- a/src/wx/job_wrapper.cc +++ b/src/wx/job_wrapper.cc @@ -35,8 +35,8 @@ JobWrapper::make_dcp (wxWindow* parent, shared_ptr<Film> film) try { film->make_dcp (); } catch (BadSettingError& e) { - error_dialog (parent, wxString::Format (_("Bad setting for %s (%s)"), std_to_wx (e.setting().c_str()), std_to_wx (e.what()))); + error_dialog (parent, std_to_wx (String::compose (wx_to_std (_("Bad setting for %1 (%2)")), e.setting(), e.what()))); } catch (std::exception& e) { - error_dialog (parent, wxString::Format (_("Could not make DCP: %s"), std_to_wx (e.what ()))); + error_dialog (parent, std_to_wx (String::compose (wx_to_std (_("Could not make DCP: %1")), e.what()))); } } |
