summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-01-20 21:23:28 +0000
committerCarl Hetherington <cth@carlh.net>2017-01-20 21:23:28 +0000
commit0d5fc564792dc7ab5dd1a9025c85bd69b7b70fba (patch)
tree1c897eb2dc67f9fa0b630ded10dacada03fb1d23 /src/lib
parent82229a2fc3b0b244ce0987aa211737ca5f96085c (diff)
Some error message formatting tidy-ups.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index b337c50de..9ffe09f6b 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -293,7 +293,7 @@ Film::make_dcp ()
}
if (content().empty()) {
- throw runtime_error (_("you must add some content to the DCP before creating it."));
+ throw runtime_error (_("you must add some content to the DCP before creating it"));
}
if (dcp_content_type() == 0) {
@@ -306,14 +306,14 @@ Film::make_dcp ()
BOOST_FOREACH (shared_ptr<const Content> i, content ()) {
if (!i->paths_valid()) {
- throw runtime_error (_("some of your content is missing."));
+ throw runtime_error (_("some of your content is missing"));
}
shared_ptr<const DCPContent> dcp = dynamic_pointer_cast<const DCPContent> (i);
if (dcp && dcp->needs_kdm()) {
- throw runtime_error (_("some of your content needs a KDM."));
+ throw runtime_error (_("some of your content needs a KDM"));
}
if (dcp && dcp->needs_assets()) {
- throw runtime_error (_("some of your content needs an OV."));
+ throw runtime_error (_("some of your content needs an OV"));
}
}