diff options
Diffstat (limited to 'src/wx/download_certificate_panel.cc')
| -rw-r--r-- | src/wx/download_certificate_panel.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/download_certificate_panel.cc b/src/wx/download_certificate_panel.cc index 8f826315d..5995b0385 100644 --- a/src/wx/download_certificate_panel.cc +++ b/src/wx/download_certificate_panel.cc @@ -22,7 +22,6 @@ #include "download_certificate_dialog.h" #include "download_certificate_panel.h" #include "wx_util.h" -#include "lib/compose.hpp" #include "lib/signal_manager.h" #include <dcp/certificate_chain.h> #include <dcp/exceptions.h> @@ -64,7 +63,7 @@ DownloadCertificatePanel::load_certificate (boost::filesystem::path file, string _certificate = dcp::Certificate (dcp::file_to_string(file)); _url = url; } catch (dcp::MiscError& e) { - return String::compose(wx_to_std(_("Could not read certificate file (%1)")), e.what()); + return fmt::format(wx_to_std(_("Could not read certificate file ({})")), e.what()); } return {}; } @@ -77,7 +76,7 @@ DownloadCertificatePanel::load_certificate_from_chain (boost::filesystem::path f _certificate = dcp::CertificateChain(dcp::file_to_string(file)).leaf(); _url = url; } catch (dcp::MiscError& e) { - return String::compose(wx_to_std(_("Could not read certificate file (%1)")), e.what()); + return fmt::format(wx_to_std(_("Could not read certificate file ({})")), e.what()); } return {}; } |
