smile/smile-0.8.1-lang.patch

12 lines
555 B
Diff
Raw Permalink Normal View History

--- smile/mainfrm.cpp 2008-09-14 16:38:43.000000000 +0200
+++ smile/mainfrm.cpp-gil 2008-09-30 22:58:26.000000000 +0200
@@ -180,7 +180,7 @@
QString wlpack = QLocale::system().name();
qDebug() << "LOADING LANGUAGE ... smile_" + wlpack.left(2);
QTranslator *qtTranslator = new QTranslator(this);
- if (qtTranslator->load("smile_" + wlpack.left(2), qApp->applicationDirPath()) == true )
+ if (qtTranslator->load("/usr/share/smile/smile_" + wlpack.left(2), qApp->applicationDirPath()) == true )
{
qApp->installTranslator(qtTranslator);
}