summaryrefslogtreecommitdiff
path: root/src
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
parent82229a2fc3b0b244ce0987aa211737ca5f96085c (diff)
Some error message formatting tidy-ups.
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc8
-rw-r--r--src/tools/dcpomatic.cc2
2 files changed, 5 insertions, 5 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"));
}
}
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 972436c47..2b6a62f11 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -507,7 +507,7 @@ private:
} catch (BadSettingError& e) {
error_dialog (this, wxString::Format (_("Bad setting for %s (%s)"), std_to_wx(e.setting()).data(), std_to_wx(e.what()).data()));
} catch (std::exception& e) {
- error_dialog (this, wxString::Format (_("Could not make DCP: %s"), std_to_wx(e.what()).data()));
+ error_dialog (this, wxString::Format (_("Could not make DCP: %s."), std_to_wx(e.what()).data()));
}
}