diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-27 14:49:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-27 14:49:13 +0000 |
| commit | 58723875416b5d285426b6355792f4607d00804c (patch) | |
| tree | e4a3a996ec7239f4f157764d1d11eafc0f9a223f /src | |
| parent | b0ee9cbda4595cb5a63dfc5a598f0e322eddc085 (diff) | |
Fix a few format strings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/audio_dialog.cc | 2 | ||||
| -rw-r--r-- | src/wx/film_editor.cc | 2 | ||||
| -rw-r--r-- | src/wx/job_wrapper.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc index 3e43d484f..3d17988b6 100644 --- a/src/wx/audio_dialog.cc +++ b/src/wx/audio_dialog.cc @@ -98,7 +98,7 @@ AudioDialog::set_film (boost::shared_ptr<Film> f) _film_changed_connection = _film->Changed.connect (bind (&AudioDialog::film_changed, this, _1)); _film_audio_analysis_succeeded_connection = _film->AudioAnalysisSucceeded.connect (bind (&AudioDialog::try_to_load_analysis, this)); - SetTitle (wxString::Format (_("DVD-o-matic audio - %1"), std_to_wx(_film->name()).data())); + SetTitle (wxString::Format (_("DVD-o-matic audio - %s"), std_to_wx(_film->name()).data())); } void diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index a94ed7b2d..c1d679665 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -501,7 +501,7 @@ FilmEditor::content_changed (wxCommandEvent &) _film->set_content (wx_to_std (_content->GetPath ())); } catch (std::exception& e) { _content->SetPath (std_to_wx (_film->directory ())); - error_dialog (this, wxString::Format (_("Could not set content: %1"), std_to_wx (e.what()).data())); + error_dialog (this, wxString::Format (_("Could not set content: %s"), std_to_wx (e.what()).data())); } } diff --git a/src/wx/job_wrapper.cc b/src/wx/job_wrapper.cc index d6ae828b4..df4aa7d2e 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 %1 (%2)"), std_to_wx(e.setting()).data(), std_to_wx(e.what()).data())); + error_dialog (parent, wxString::Format (_("Bad setting for %s (%s)"), std_to_wx(e.setting()).data(), std_to_wx(e.what()).data())); } catch (std::exception& e) { - error_dialog (parent, wxString::Format (_("Could not make DCP: %1"), std_to_wx(e.what()).data())); + error_dialog (parent, wxString::Format (_("Could not make DCP: %s"), std_to_wx(e.what()).data())); } } |
