[Psi-Devel] DataDir stopped working as container for the langfiles
Ephraim Talrock
ephraim at thefungamer.de
Tue Sep 25 14:27:07 PDT 2007
Hey,
as I mention in the forums [1] the DataDir, as a folder where the
lang files can be placed, stopped working.
Here HUGE ;) patch which fixes that behaviour:
------------------
Index: src/translationmanager.cpp
===================================================================
--- src/translationmanager.cpp (Revision 781)
+++ src/translationmanager.cpp (Arbeitskopie)
@@ -99,6 +99,7 @@
if (currentLanguage_ == "en") {
QCoreApplication::instance()-
>installTranslator(translator_);
QCoreApplication::instance()-
>installTranslator(qt_translator_);
+ break;
}
currentLanguage_ = language;
}
------------------
I think another call, after installing a found translator, to
translator_->load or the qt_translator_->load disturbes something
there, but that is just a guess.
Ciao Ephraim
[1] http://forum.psi-im.org/post/31967
More information about the Psi-Devel
mailing list