summaryrefslogtreecommitdiff
path: root/src/lib/transcode_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-16 22:19:39 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-21 22:07:15 +0200
commitb87e2660d0776f3d1380532ff0d2f3a28ed9d764 (patch)
treeebddcef5b9a22b4e4e7475e20abf484f8aabd671 /src/lib/transcode_job.cc
parent748b182f27eedb006cb8493e12a389fa1c5883e7 (diff)
Extract all uses of DCP-o-matic name to allow branding.
Diffstat (limited to 'src/lib/transcode_job.cc')
-rw-r--r--src/lib/transcode_job.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc
index b260bc44b..ba420ab94 100644
--- a/src/lib/transcode_job.cc
+++ b/src/lib/transcode_job.cc
@@ -37,6 +37,7 @@
#include "log.h"
#include "transcode_job.h"
#include "upload_job.h"
+#include "variant.h"
#include <iomanip>
#include <iostream>
@@ -110,7 +111,10 @@ TranscodeJob::run ()
return;
case ChangedBehaviour::STOP:
set_progress (1);
- set_error (_("Files have changed since they were added to the project."), _("Open the project in DCP-o-matic, check the settings, then save it before trying again."));
+ set_error(
+ _("Files have changed since they were added to the project."),
+ variant::insert_dcpomatic(_("Open the project in %1, check the settings, then save it before trying again."))
+ );
set_state (FINISHED_ERROR);
return;
default: