diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-16 22:19:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-21 22:07:15 +0200 |
| commit | b87e2660d0776f3d1380532ff0d2f3a28ed9d764 (patch) | |
| tree | ebddcef5b9a22b4e4e7475e20abf484f8aabd671 /src/lib/release_notes.cc | |
| parent | 748b182f27eedb006cb8493e12a389fa1c5883e7 (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.cc | 3 |
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 + |
