#include "debug.h"
#include "support/filetools.h"
+using namespace lyx::support;
+
#ifdef ENABLE_NLS
string const get(string const & m) const
{
+ if (m.empty())
+ return m;
+
char * old = strdup(setlocale(LC_ALL, 0));
char * n = setlocale(LC_ALL, lang_.c_str());
const char* msg = gettext(m.c_str());
private:
///
string lang_;
- ///
- string localedir_;
};
#endif