]> git.lyx.org Git - features.git/commitdiff
Turn an error message into a Debug::LOCALE warning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 6 May 2014 12:29:42 +0000 (14:29 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 6 May 2014 12:29:42 +0000 (14:29 +0200)
src/support/Messages.cpp

index ef6bb2d022ffc9328b706b6000478a393ecb5b21..fd5d22823dc9b1eec0df95abce29d226daf922d0 100644 (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;
        }