]> git.lyx.org Git - lyx.git/commitdiff
Fix debug message.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 29 Jul 2008 07:06:57 +0000 (07:06 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 29 Jul 2008 07:06:57 +0000 (07:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25953 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index ebebce3b7886dcd54df183a7eceba743838716f5..2557117baa50e7ef444ac87f867a85e9dc33eabd 100644 (file)
@@ -1044,11 +1044,11 @@ void GuiApplication::setGuiLanguage()
                        QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
                LYXERR(Debug::LOCALE, "Could not find  Qt translations for locale "
                        << language_name);
+       } else {
+               LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
+                       << language_name);
        }
 
-       LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
-               << language_name);
-
        switch (default_locale.language()) {
        case QLocale::Arabic :
        case QLocale::Hebrew :