summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-21 14:52:30 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-21 14:52:30 +0100
commitdd2685423e9a2800a9ea6821c361a6b851ff759e (patch)
treea180a7bbc61ec90ec1bb97fac3b3781a50d80ac3 /src/wx/screen_dialog.cc
parent7dd06cc89e018bfec3cbe802495bf7dee137a71f (diff)
Some missing i18n markup. Add S_ macro to allow contextual translations. Add updates to de_DE from Carsten Kurz. Merge pot files.
Diffstat (limited to 'src/wx/screen_dialog.cc')
-rw-r--r--src/wx/screen_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc
index b702ae0ad..7d795ec44 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 libdcp::Certificate (file));
_certificate_text->SetValue (_certificate->certificate ());
} catch (libdcp::MiscError& e) {
- error_dialog (this, String::compose ("Could not read certificate file (%1)", e.what()));
+ error_dialog (this, String::compose (_("Could not read certificate file (%1)"), e.what()));
}
}