}
if (!encrypted) {
- /* XXX: this needs to be marked translatable after 2.14.0 */
- error_dialog (this, wxT("This CPL contains no encrypted assets."));
+ error_dialog (this, _("This CPL contains no encrypted assets."));
return;
}
+ /* We're ignoring the CPLSummary timestamp stuff here and just putting the new one in at the end
+ of the list, then selecting it.
+ */
+
try {
_cpls.push_back (
CPLSummary (
cpl_document.string_child("Id").substr (9),
cpl_document.string_child("ContentTitleText"),
cpl_file,
- encrypted
+ encrypted,
+ 0
)
);
- } catch (cxml::Error) {
+ } catch (cxml::Error &) {
error_dialog (this, _("This is not a valid CPL file"));
return;
}