Discussion:
[LyX/master] Turn an error message into a Debug::LOCALE warning
Richard Heck
2014-05-06 13:43:01 UTC
Permalink
commit ac9a2fa9f8eea4afc9d5afee48328b900838aa34
Date: Tue May 6 14:29:42 2014 +0200
Turn an error message into a Debug::LOCALE warning
Richard, for branch? This triggers when loading the Farsi
fa/splash.lyx,for example. And it is not really an error in this case
(contrary to the other error messages nearby).
OK.

rh
Jean-Marc Lasgouttes
2014-05-06 12:46:37 UTC
Permalink
commit ac9a2fa9f8eea4afc9d5afee48328b900838aa34
Date: Tue May 6 14:29:42 2014 +0200
Turn an error message into a Debug::LOCALE warning
Richard, for branch? This triggers when loading the Farsi
fa/splash.lyx,for example. And it is not really an error in this case
(contrary to the other error messages nearby).

JMarc
diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp
index ef6bb2d..fd5d228 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;
}
Loading...