summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-22 22:01:17 +0000
committerCarl Hetherington <cth@carlh.net>2018-03-22 22:01:17 +0000
commit9e7fa70994ce4064555d0793fb8d1124b8c0e19a (patch)
treef18f61751bec1b17c35f6590629335ad7db6c9eb /src/lib
parentc0ffeee7cade9bf7e238e388da288a21aa885961 (diff)
Improve the appearance of a few error messages (#1187).
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exceptions.cc2
-rw-r--r--src/lib/film.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index 4e1e1ade3..43a8f3b86 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -52,7 +52,7 @@ WriteFileError::WriteFileError (boost::filesystem::path f, int e)
}
MissingSettingError::MissingSettingError (string s)
- : SettingError (s, String::compose (_("missing required setting %1"), s))
+ : SettingError (s, String::compose (_("Missing required setting %1"), s))
{
}
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 1d2123e5d..df4a5586e 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -293,7 +293,7 @@ void
Film::make_dcp ()
{
if (dcp_name().find ("/") != string::npos) {
- throw BadSettingError (_("name"), _("cannot contain slashes"));
+ throw BadSettingError (_("name"), _("Cannot contain slashes"));
}
if (container() == 0) {
@@ -301,7 +301,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) {
@@ -318,10 +318,10 @@ Film::make_dcp ()
}
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"));
}
}