From: Carl Hetherington Date: Fri, 20 Jan 2017 21:23:28 +0000 (+0000) Subject: Some error message formatting tidy-ups. X-Git-Tag: v2.10.7-test~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=0d5fc564792dc7ab5dd1a9025c85bd69b7b70fba Some error message formatting tidy-ups. --- 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 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 dcp = dynamic_pointer_cast (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())); } }