summaryrefslogtreecommitdiff
path: root/src/lib/analytics.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-11 00:39:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-11 00:39:14 +0100
commitf5c60a80f3b79c8dfa918fbbcdc4b865b0d8344a (patch)
tree568a8911b5d5bccb69fa7129249656f936dcbe5d /src/lib/analytics.cc
parenta9af5945fa5379d8abd1be4818211373c61148ba (diff)
Replace compose with fmt.
Diffstat (limited to 'src/lib/analytics.cc')
-rw-r--r--src/lib/analytics.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/analytics.cc b/src/lib/analytics.cc
index 7468ebffc..ad5a1ad03 100644
--- a/src/lib/analytics.cc
+++ b/src/lib/analytics.cc
@@ -20,7 +20,6 @@
#include "analytics.h"
-#include "compose.hpp"
#include "exceptions.h"
#include "variant.h"
#include <dcp/filesystem.h>
@@ -55,18 +54,18 @@ Analytics::successful_dcp_encode ()
boost::bind(
boost::ref(Message),
_("Congratulations!"),
- String::compose(_(
- "<h2>You have made %1 DCPs with %2!</h2>"
+ fmt::format(_(
+ "<h2>You have made {} DCPs with {}!</h2>"
"<img width=\"20%%\" src=\"memory:me.jpg\" align=\"center\">"
"<font size=\"+1\">"
"<p>Hello. I'm Carl and I'm the "
- "developer of %3. I work on it in my spare time (with the help "
+ "developer of {}. I work on it in my spare time (with the help "
"of a volunteer team of testers and translators) and I release it "
"as free software."
- "<p>If you find %4 useful, please consider a donation to the "
+ "<p>If you find {} useful, please consider a donation to the "
"project. Financial support will help me to spend more "
- "time developing %5 and making it better!"
+ "time developing {} and making it better!"
"<p><ul>"
"<li><a href=\"https://dcpomatic.com/donate_amount?amount=40\">Go to Paypal to donate €40</a>"