Revert 8684e06ce0 / D1083 since the translated strings are only accessible while the public mod is enabled.

Reported By: leper
Reviewed By: Vladislav
Alternatively one might consider mod label and description translations
contained in the mod.json.

This was SVN commit r21341.
This commit is contained in:
elexis 2018-02-24 00:33:30 +00:00
parent 1d0700c3cb
commit c69b5688bc
2 changed files with 0 additions and 13 deletions

View file

@ -64,7 +64,6 @@ function init(data)
function loadMods()
{
g_Mods = Engine.GetAvailableMods();
translateObjectKeys(g_Mods, ["label", "description"]);
deepfreeze(g_Mods);
}

View file

@ -295,18 +295,6 @@
}
}
},
{
"extractor": "json",
"filemasks": [
"mod.json"
],
"options": {
"keywords": [
"label",
"description"
]
}
},
{
"extractor": "json",
"filemasks": [