From bd206ff5f5b2902ef87baa27c359f7a1b58f418d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 6 May 2014 14:29:42 +0200 Subject: [PATCH] Turn an error message into a Debug::LOCALE warning --- src/support/Messages.cpp | 2 +- status.21x | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp index ef6bb2d022..fd5d22823d 100644 --- a/src/support/Messages.cpp +++ b/src/support/Messages.cpp @@ -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; } diff --git a/status.21x b/status.21x index 7a6b79394d..87cac02523 100644 --- a/status.21x +++ b/status.21x @@ -117,6 +117,9 @@ What's new - Fix a problem when PATH changes and python command is relative (bug 8950). - 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