--- a/QTfrontend/model/MapModel.cpp Thu Nov 17 03:35:58 2016 +0100
+++ b/QTfrontend/model/MapModel.cpp Thu Nov 17 03:36:45 2016 +0100
@@ -128,6 +128,12 @@
QSettings descSettings(QString("physfs://Maps/%1/desc.txt").arg(map), QSettings::IniFormat);
descSettings.setIniCodec("UTF-8");
desc = descSettings.value(locale, QString()).toString().replace("|", "\n").replace("\\,", ",");
+ // If not found, try with lanague-only code
+ if (desc.isEmpty())
+ {
+ QString localeSimple = locale.remove(QRegExp("_.*$"));
+ desc = descSettings.value(localeSimple, QString()).toString().replace("|", "\n").replace("\\,", ",");
+ }
}
// detect if map is dlc