summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-12 22:30:43 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-12 22:30:43 +0000
commitf1dbcec7552052856369631e77c5eb160badd619 (patch)
tree6fa9d8f36fe525fc32e8e88e8ae703d756fc1b43 /src/tools/dcpomatic_player.cc
parent49281333410c321e616c5d3cfd4308e21d0c9cb4 (diff)
Separate readable error from technical detail in some places.
Diffstat (limited to 'src/tools/dcpomatic_player.cc')
-rw-r--r--src/tools/dcpomatic_player.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index 0464ce96e..a75f6b9f4 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -291,7 +291,7 @@ private:
dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ()), MAX_KDM_SIZE)));
dcp->examine (shared_ptr<Job>());
} catch (exception& e) {
- error_dialog (this, wxString::Format (_("Could not load KDM (%s)"), std_to_wx(e.what())));
+ error_dialog (this, wxString::Format (_("Could not load KDM.")), std_to_wx(e.what()));
d->Destroy ();
return;
}
@@ -482,7 +482,7 @@ private:
try {
_frame->load_dcp (_dcp_to_load);
} catch (exception& e) {
- error_dialog (0, std_to_wx (String::compose (wx_to_std (_("Could not load DCP %1 (%2)")), _dcp_to_load, e.what())));
+ error_dialog (0, std_to_wx (String::compose (wx_to_std (_("Could not load DCP %1.")), _dcp_to_load)), std_to_wx(e.what()));
}
}
@@ -496,7 +496,7 @@ private:
}
catch (exception& e)
{
- error_dialog (0, wxString::Format ("DCP-o-matic Player could not start: %s", std_to_wx(e.what())));
+ error_dialog (0, _("DCP-o-matic Player could not start."), std_to_wx(e.what()));
return true;
}