Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/common/gamedescription.js
Show First 20 Lines • Show All 388 Lines • ▼ Show 20 Lines | function getGameDescription(initAttributes, mapCache) | ||||
titles.push({ | titles.push({ | ||||
"label": translate("Treasures"), | "label": translate("Treasures"), | ||||
"value": initAttributes.settings.DisableTreasures ? | "value": initAttributes.settings.DisableTreasures ? | ||||
translateWithContext("treasures", "Disabled") : | translateWithContext("treasures", "Disabled") : | ||||
translateWithContext("treasures", "As defined by the map.") | translateWithContext("treasures", "As defined by the map.") | ||||
}); | }); | ||||
titles.push({ | titles.push({ | ||||
"label": translate("Revealed Map"), | "label": translate("Explored Map"), | ||||
"value": initAttributes.settings.RevealMap | "value": initAttributes.settings.ExploreMap | ||||
}); | }); | ||||
titles.push({ | titles.push({ | ||||
"label": translate("Explored Map"), | "label": translate("Revealed Map"), | ||||
"value": initAttributes.settings.ExploreMap | "value": initAttributes.settings.RevealMap | ||||
}); | }); | ||||
titles.push({ | titles.push({ | ||||
"label": translate("Cheats"), | "label": translate("Cheats"), | ||||
"value": initAttributes.settings.CheatsEnabled | "value": initAttributes.settings.CheatsEnabled | ||||
}); | }); | ||||
return titles.map(title => sprintf(translate("%(label)s %(details)s"), { | return titles.map(title => sprintf(translate("%(label)s %(details)s"), { | ||||
Show All 35 Lines |
Wildfire Games · Phabricator