mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Happy new year!
The best and no more typos wished for 2010! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32726 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
316af4a90b
commit
b9a507932f
@ -1421,7 +1421,7 @@ void GuiApplication::setGuiLanguage()
|
|||||||
setRcGuiLanguage();
|
setRcGuiLanguage();
|
||||||
|
|
||||||
QString const default_language = toqstr(Messages::defaultLanguage());
|
QString const default_language = toqstr(Messages::defaultLanguage());
|
||||||
LYXERR(Debug::LOCALE, "Tring to set default locale to: " << default_language);
|
LYXERR(Debug::LOCALE, "Trying to set default locale to: " << default_language);
|
||||||
QLocale const default_locale(default_language);
|
QLocale const default_locale(default_language);
|
||||||
QLocale::setDefault(default_locale);
|
QLocale::setDefault(default_locale);
|
||||||
|
|
||||||
@ -1434,7 +1434,7 @@ void GuiApplication::setGuiLanguage()
|
|||||||
// c.f. http://doc.trolltech.com/4.1/qtranslator.html#load
|
// c.f. http://doc.trolltech.com/4.1/qtranslator.html#load
|
||||||
if (!d->qt_trans_.load(language_name,
|
if (!d->qt_trans_.load(language_name,
|
||||||
QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
|
QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
|
||||||
LYXERR(Debug::LOCALE, "Could not find Qt translations for locale "
|
LYXERR(Debug::LOCALE, "Could not find Qt translations for locale "
|
||||||
<< language_name);
|
<< language_name);
|
||||||
} else {
|
} else {
|
||||||
LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
|
LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
|
||||||
|
Loading…
Reference in New Issue
Block a user