diff --git a/src/frontends/qt2/Alert_pimpl.C b/src/frontends/qt2/Alert_pimpl.C index 4c4b933da8..283da5a8b3 100644 --- a/src/frontends/qt2/Alert_pimpl.C +++ b/src/frontends/qt2/Alert_pimpl.C @@ -19,6 +19,7 @@ #include #include "ui/QAskForTextDialog.h" #include "qt_helpers.h" +#include "gettext.h" #include @@ -57,7 +58,7 @@ pair const askForText_pimpl(string const & msg, string const & dflt) { #if USE_BOOST_FORMAT - boost::format fmt(qt_("LyX: %1$s")); + boost::format fmt(_("LyX: %1$s")); fmt % msg; string const title = fmt.str(); #else