summaryrefslogtreecommitdiff
path: root/src/lib/release_notes.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/release_notes.cc
parent748b182f27eedb006cb8493e12a389fa1c5883e7 (diff)
Extract all uses of DCP-o-matic name to allow branding.
Diffstat (limited to 'src/lib/release_notes.cc')
-rw-r--r--src/lib/release_notes.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/release_notes.cc b/src/lib/release_notes.cc
index d69738427..b12ebc030 100644
--- a/src/lib/release_notes.cc
+++ b/src/lib/release_notes.cc
@@ -21,6 +21,7 @@
#include "config.h"
#include "release_notes.h"
+#include "variant.h"
#include "version.h"
#include "i18n.h"
@@ -46,7 +47,7 @@ find_release_notes(bool dark, optional<string> current)
string const colour = dark ? "white" : "black";
auto const span = String::compose("<span style=\"color: %1\">", colour);
- const string header = String::compose("<h1>%1DCP-o-matic %2 release notes</span></h1>", span, *current);
+ const string header = String::compose("<h1>%1%2 %3 release notes</span></h1>", span, variant::dcpomatic(), *current);
if (!last) {
return header + span +