-#if USE_BOOST_FORMAT
- Alert::alert(_("Cannot import file"),
- boost::io::str(boost::format(_("No information for importing from %1$s"))
- % formats.prettyName(format)));
-#else
- Alert::alert(_("Cannot import file"),
- _("No information for importing from ")
- + formats.prettyName(format));
-#endif
+ Alert::error(_("Couldn't import file"),
+ bformat(_("No information for importing the format %1$s."),
+ formats.prettyName(format)));