From f5c60a80f3b79c8dfa918fbbcdc4b865b0d8344a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 Feb 2025 00:39:14 +0100 Subject: Replace compose with fmt. --- src/lib/analytics.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/lib/analytics.cc') 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 @@ -55,18 +54,18 @@ Analytics::successful_dcp_encode () boost::bind( boost::ref(Message), _("Congratulations!"), - String::compose(_( - "

You have made %1 DCPs with %2!

" + fmt::format(_( + "

You have made {} DCPs with {}!

" "" "" "

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." - "

If you find %4 useful, please consider a donation to the " + "

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!" "