boost.cpp
Context.cpp
Font.cpp
- gettext.cpp
math.cpp
Parser.cpp
preamble.cpp
Context.h \
Font.cpp \
Font.h \
- gettext.cpp \
Parser.cpp \
Parser.h \
tex2lyx.cpp \
tex2lyx_LDADD = \
$(top_builddir)/src/support/liblyxsupport.a \
- $(LIBICONV) $(BOOST_LIBS) \
+ $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
$(QT4_LIB) $(QT4_LDFLAGS) \
@LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
+++ /dev/null
-/**
- * \file tex2lyx/gettext.cpp
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Lars Gullik Bjønnes
- * \author Jean-Marc Lasgouttes
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#include <config.h>
-
-#include "support/gettext.h"
-#include "../support/docstring.h"
-
-using namespace std;
-
-namespace lyx {
-
-
-docstring const _(string const & str)
-{
- return from_ascii(str);
-}
-
-
-void locale_init()
-{}
-
-
-} // namespace lyx
#include "support/filetools.h"
#include "support/lassert.h"
#include "support/lstrings.h"
+#include "support/Messages.h"
#include "support/os.h"
#include "support/Package.h"
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, /**/);