summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-18 00:16:25 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-18 00:16:25 +0200
commitd0be7e3154fccdf3f2de330d9cf200e01a9f4270 (patch)
tree8eb2378c8e939c6b4a713648977e538d01b5caaf
parentcddddde3d434656588b37c8b10b366659611f352 (diff)
Clarify some error messages on macOS (#1837).jenkins
When we say we can't start a particular tool, it may be because it has not even been downloaded/installed.
-rw-r--r--src/tools/dcpomatic.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 60f11752e..f3daae30a 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -881,7 +881,11 @@ private:
_film->write_metadata ();
if (send_to_other_tool (BATCH_JOB_PORT, &start_batch_converter, _film->directory()->string())) {
+#ifdef DCPOMATIC_OSX
+ error_dialog (this, _("Could not start the batch converter. You may need to download it from dcpomatic.com.");
+#else
error_dialog (this, _("Could not find batch converter."));
+#endif
}
}
@@ -892,7 +896,11 @@ private:
}
if (send_to_other_tool (PLAYER_PLAY_PORT, &start_player, _film->dir(_film->dcp_name(false)).string())) {
+#ifdef DCPOMATIC_OSX
+ error_dialog (this, _("Could not start the player. You may need to download it from dcpomatic.com.");
+#else
error_dialog (this, _("Could not find player."));
+#endif
}
}