Turn an error message into a Debug::LOCALE warning

This commit is contained in:
Jean-Marc Lasgouttes 2014-05-06 14:29:42 +02:00
parent b14e5925a9
commit bd206ff5f5
2 changed files with 4 additions and 1 deletions

View File

@ -250,7 +250,7 @@ bool Messages::readMoFile()
string const code = realCode(lang_);
if (code.empty()) {
LYXERR0("Cannot find translation for language " << lang_);
LYXERR(Debug::LOCALE, "Cannot find translation for language " << lang_);
return false;
}

View File

@ -118,6 +118,9 @@ What's new
- Reduce memory use with large documents.
- Disable a console message when loading a document in a language for
which the UI is not translated.
* DOCUMENTATION AND LOCALIZATION