]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.cpp
tiger support on mac snow leopard, include Qt4 frameworks, smart build script with...
[lyx.git] / src / support / Messages.cpp
index b578c53dc53131ab4d5ce3e5b2e7901d896b3d57..fc6ca0aaf051a3557d4adf4e7c276d9ff7a46063 100644 (file)
@@ -159,9 +159,10 @@ docstring const Messages::get(string const & m) const
        char const * m_c = m.c_str();
        char const * trans_c = gettext(m_c);
        docstring trans;
-       if (!trans_c)
-               LYXERR(Debug::LOCALE, "Undefined result from gettext");
-       else if (trans_c == m_c) {
+       if (!trans_c) {
+               LYXERR(Debug::LOCALE, "Undefined result from gettext for `" << m << "'.");
+               trans = from_ascii(m);
+       } else if (trans_c == m_c) {
                //LYXERR(Debug::LOCALE, "Same as entered returned");
                trans = from_ascii(m);
        } else {