#include "support/debug.h"
#include "support/docstring.h"
#include "support/environment.h"
+#include "support/lstrings.h"
#include "support/Package.h"
#include "support/unicode.h"
}
+bool Messages::available() const
+{
+ string const test = languageTestString();
+ string const trans = to_utf8(get(test));
+ return !trans.empty() && trans != test;
+}
+
+
docstring const Messages::get(string const & m) const
{
if (m.empty())
namespace lyx {
-Messages::Messages(string const & l) {}
+Messages::Messages(string const & /* l */) {}
void Messages::init()
{
return trans;
}
+
+bool Messages::available() const
+{
+ return false;
+}
+
} // namespace lyx
#endif