X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_output_panel.cc;h=8763291234a8d9787c17f9b379c1c62ea7bc4f8f;hb=0d7766eb71b7419492431cb59a13195e1c50b94f;hp=1e222591d7c9f234d06786ec77a0a1674a52961f;hpb=9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94;p=dcpomatic.git diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index 1e222591d..876329123 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -29,6 +29,7 @@ #include "kdm_advanced_dialog.h" #include "name_format_editor.h" #include "check_box.h" +#include "dcpomatic_button.h" #include #include #ifdef DCPOMATIC_USE_OWN_PICKER @@ -66,7 +67,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop) } type->Add (_type, 1, wxEXPAND); _type->SetSelection (0); - wxButton* advanced = new wxButton (this, wxID_ANY, _("Advanced...")); + wxButton* advanced = new Button (this, _("Advanced...")); type->Add (advanced, 0, wxALIGN_CENTER_VERTICAL); table->Add (type, 1, wxEXPAND); @@ -76,11 +77,11 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop) add_label_to_sizer (table, this, _("Filename format"), true, 0, wxALIGN_TOP | wxTOP | wxLEFT | wxRIGHT); dcp::NameFormat::Map titles; - titles['f'] = "film name"; - titles['c'] = "cinema"; - titles['s'] = "screen"; - titles['b'] = "from date/time"; - titles['e'] = "to date/time"; + titles['f'] = wx_to_std (_("film name")); + titles['c'] = wx_to_std (_("cinema")); + titles['s'] = wx_to_std (_("screen")); + titles['b'] = wx_to_std (_("from date/time")); + titles['e'] = wx_to_std (_("to date/time")); dcp::NameFormat::Map ex; ex['f'] = "Bambi"; ex['c'] = "Lumière";