#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "importer.h"
#include "converter.h"
+#include "format.h"
#include "frontends/LyXView.h"
#include "funcrequest.h"
{
string const displaypath = MakeDisplayPath(filename);
ostringstream s1;
+#if USE_BOOST_FORMAT
s1 << boost::format(_("Importing %1$s...")) % displaypath;
+#else
+ s1 << _("Importing ") << displaypath << _("...");
+#endif
lv->message(STRCONV(s1.str()));
string const lyxfile = ChangeExtension(filename, ".lyx");
}
}
if (loader_format.empty()) {
+#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
return false;
}
} else