From: Carl Hetherington Date: Sat, 17 Oct 2020 22:16:25 +0000 (+0200) Subject: Clarify some error messages on macOS (#1837). X-Git-Tag: v2.15.104~15 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=d0be7e3154fccdf3f2de330d9cf200e01a9f4270 Clarify some error messages on macOS (#1837). When we say we can't start a particular tool, it may be because it has not even been downloaded/installed. --- 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 } }