diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-22 21:11:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-22 21:11:18 +0100 |
| commit | f0edd6ab35c3c2b7800a26ec8206adab75e5f633 (patch) | |
| tree | aad6fc8ca2d932bcc630254e339fd648d8a10f50 /src/wx/screen_dialog.cc | |
| parent | 6d26c4afe1e2b63d346d311ceffe41bf8cb62572 (diff) | |
| parent | 14b1f672dc92ae8e1385c75e30420a4dcb4e32c9 (diff) | |
Merge master.
Diffstat (limited to 'src/wx/screen_dialog.cc')
| -rw-r--r-- | src/wx/screen_dialog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 0d46a46ec..6b58145eb 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -35,10 +35,10 @@ ScreenDialog::ScreenDialog (wxWindow* parent, string title, string name, shared_ : TableDialog (parent, std_to_wx (title), 2, true) , _certificate (certificate) { - add ("Name", true); + add (_("Name"), true); _name = add (new wxTextCtrl (this, wxID_ANY, std_to_wx (name), wxDefaultPosition, wxSize (320, -1))); - add ("Server manufacturer", true); + add (_("Server manufacturer"), true); _manufacturer = add (new wxChoice (this, wxID_ANY)); add (_("Certificate"), true); @@ -92,7 +92,7 @@ ScreenDialog::load_certificate (boost::filesystem::path file) _certificate.reset (new dcp::Certificate (file)); _certificate_text->SetValue (_certificate->certificate ()); } catch (dcp::MiscError& e) { - error_dialog (this, String::compose ("Could not read certificate file (%1)", e.what())); + error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), e.what())); } } |
