From b87e2660d0776f3d1380532ff0d2f3a28ed9d764 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Apr 2024 22:19:39 +0200 Subject: Extract all uses of DCP-o-matic name to allow branding. --- src/wx/update_dialog.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wx/update_dialog.cc') diff --git a/src/wx/update_dialog.cc b/src/wx/update_dialog.cc index 0a7319704..7c687aa60 100644 --- a/src/wx/update_dialog.cc +++ b/src/wx/update_dialog.cc @@ -22,6 +22,7 @@ #include "static_text.h" #include "update_dialog.h" #include "wx_util.h" +#include "wx_variant.h" #include LIBDCP_DISABLE_WARNINGS #include @@ -40,9 +41,9 @@ UpdateDialog::UpdateDialog (wxWindow* parent, optional stable, optional< wxStaticText* message; if ((stable || test) && !(stable && test)) { - message = new StaticText (this, _("A new version of DCP-o-matic is available.")); + message = new StaticText(this, variant::wx::insert_dcpomatic(_("A new version of %s is available."))); } else { - message = new StaticText (this, _("New versions of DCP-o-matic are available.")); + message = new StaticText(this, variant::wx::insert_dcpomatic(_("New versions of %s are available."))); } overall_sizer->Add (message, 0, wxTOP | wxLEFT | wxRIGHT, DCPOMATIC_DIALOG_BORDER); -- cgit v1.2.3