- _dcp_content_types.push_back (new DCPContentType ("Feature", libdcp::FEATURE, "FTR"));
- _dcp_content_types.push_back (new DCPContentType ("Short", libdcp::SHORT, "SHR"));
- _dcp_content_types.push_back (new DCPContentType ("Trailer", libdcp::TRAILER, "TLR"));
- _dcp_content_types.push_back (new DCPContentType ("Test", libdcp::TEST, "TST"));
- _dcp_content_types.push_back (new DCPContentType ("Transitional", libdcp::TRANSITIONAL, "XSN"));
- _dcp_content_types.push_back (new DCPContentType ("Rating", libdcp::RATING, "RTG"));
- _dcp_content_types.push_back (new DCPContentType ("Teaser", libdcp::TEASER, "TSR"));
- _dcp_content_types.push_back (new DCPContentType ("Policy", libdcp::POLICY, "POL"));
- _dcp_content_types.push_back (new DCPContentType ("Public Service Announcement", libdcp::PUBLIC_SERVICE_ANNOUNCEMENT, "PSA"));
- _dcp_content_types.push_back (new DCPContentType ("Advertisement", libdcp::ADVERTISEMENT, "ADV"));
+ _dcp_content_types = {
+ new DCPContentType(_("Feature"), dcp::ContentKind::FEATURE, N_("FTR")),
+ new DCPContentType(_("Short"), dcp::ContentKind::SHORT, N_("SHR")),
+ new DCPContentType(_("Trailer"), dcp::ContentKind::TRAILER, N_("TLR")),
+ new DCPContentType(_("Test"), dcp::ContentKind::TEST, N_("TST")),
+ new DCPContentType(_("Transitional"), dcp::ContentKind::TRANSITIONAL, N_("XSN")),
+ new DCPContentType(_("Rating"), dcp::ContentKind::RATING, N_("RTG")),
+ new DCPContentType(_("Teaser"), dcp::ContentKind::TEASER, N_("TSR")),
+ new DCPContentType(_("Policy"), dcp::ContentKind::POLICY, N_("POL")),
+ new DCPContentType(_("Public Service Announcement"), dcp::ContentKind::PUBLIC_SERVICE_ANNOUNCEMENT, N_("PSA")),
+ new DCPContentType(_("Advertisement"), dcp::ContentKind::ADVERTISEMENT, N_("ADV")),
+ new DCPContentType(_("Episode"), dcp::ContentKind::EPISODE, N_("EPS")),
+ new DCPContentType(_("Promo"), dcp::ContentKind::PROMO, N_("PRO"))
+ };