Fix translations path for the meta cache

This commit is contained in:
Petr Mrázek 2014-10-01 00:24:56 +02:00
parent bbdf5c1395
commit 43b9706b5c

View File

@ -543,7 +543,7 @@ void MultiMC::initHttpMetaCache()
m_metacache->addBase("liteloader", QDir("mods/liteloader").absolutePath()); m_metacache->addBase("liteloader", QDir("mods/liteloader").absolutePath());
m_metacache->addBase("skins", QDir("accounts/skins").absolutePath()); m_metacache->addBase("skins", QDir("accounts/skins").absolutePath());
m_metacache->addBase("root", QDir(root()).absolutePath()); m_metacache->addBase("root", QDir(root()).absolutePath());
m_metacache->addBase("translations", QDir("translations").absolutePath()); m_metacache->addBase("translations", QDir(staticData() + "/translations").absolutePath());
m_metacache->Load(); m_metacache->Load();
} }