X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftex2lyx.cpp;h=c27f0c0886e8217e8b29973e441adf2d5c9147ff;hb=d9e4ced1d417f99c4cfc277fffd05ae7ebe97b3c;hp=be07d4c7ccd55a18de3aed51e11133c82477e283;hpb=2e45185cd5d43c15ba0ef7519c390850eaa7760c;p=lyx.git diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index be07d4c7cc..c27f0c0886 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -25,6 +25,7 @@ #include "support/filetools.h" #include "support/lassert.h" #include "support/lstrings.h" +#include "support/Messages.h" #include "support/os.h" #include "support/Package.h" @@ -41,6 +42,20 @@ using namespace lyx::support::os; namespace lyx { +// Dummy translation support +Messages messages_; +Messages & getMessages(std::string const &) +{ + return messages_; +} + + +Messages & getGuiMessages() +{ + return messages_; +} + + string const trim(string const & a, char const * p) { // LASSERT(p, /**/);