# HG changeset patch
# User unc0rr
# Date 1170797599 0
# Node ID 450ff6326084a5d4b80558d6a45eb683daad35c6
# Parent  c7da1bd32b4ef92ecd47184c5bfd759e9ee45fba
Ooops, forgot this :)

diff -r c7da1bd32b4e -r 450ff6326084 QTfrontend/main.cpp.in
--- a/QTfrontend/main.cpp.in	Tue Feb 06 19:34:21 2007 +0000
+++ b/QTfrontend/main.cpp.in	Tue Feb 06 21:33:19 2007 +0000
@@ -56,10 +56,6 @@
 
 	Q_INIT_RESOURCE(hedgewars);
 
-	QTranslator Translator;
-	Translator.load(":/translations/hedgewars_" + QLocale::system().name());
-	app.installTranslator(&Translator);
-
 	QDir mydir("${HEDGEWARS_BINDIR}");
 	mydir.cd("bin");
 
@@ -82,6 +78,10 @@
 		return 1;
 	}
 
+	QTranslator Translator;
+	Translator.load(datadir->absolutePath() + "/Locale/hedgewars_" + QLocale::system().name());
+	app.installTranslator(&Translator);
+
 	Themes = new QStringList();
 	QFile themesfile(datadir->absolutePath() + "/Themes/themes.cfg");
 	if (themesfile.open(QIODevice::ReadOnly)) {