QTfrontend/main.cpp
changeset 5300 3d1a27042dda
parent 5289 9d18b61bd3eb
child 5307 dd53755e0fca
--- a/QTfrontend/main.cpp	Fri Jun 24 13:24:41 2011 +0200
+++ b/QTfrontend/main.cpp	Fri Jun 24 14:40:44 2011 -0400
@@ -465,8 +465,8 @@
         if(cc.isEmpty())
             cc = QLocale::system().name();
         QFile tmpfile;
-        tmpfile.setFileName(cfgdir->absolutePath() + "Data/Locale/hedgewars_" + cc);
-        if (!tmpfile.exists()) tmpfile.setFileName(datadir->absolutePath() + "Locale/hedgewars_" + cc);
+        tmpfile.setFileName(cfgdir->absolutePath() + "/Data/Locale/hedgewars_" + cc);
+        if (!tmpfile.exists()) tmpfile.setFileName(datadir->absolutePath() + "/Locale/hedgewars_" + cc);
         Translator.load(QFileInfo(tmpfile).absoluteFilePath());
         app.installTranslator(&Translator);
     }