From 6b743e30b382f3f79c5583c26287c41b8e02dced Mon Sep 17 00:00:00 2001 From: elexis Date: Wed, 24 May 2017 16:53:36 +0000 Subject: [PATCH] Fix typo that prevented the Disable Treasures label of the objectives dialog from showing the correct value. Remove the double negation "Disable Treasure: Disabled". Differential Revision: https://code.wildfiregames.com/D523 String accepted by: Sandarac This was SVN commit r19652. --- binaries/data/mods/public/gui/common/gamedescription.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/binaries/data/mods/public/gui/common/gamedescription.js b/binaries/data/mods/public/gui/common/gamedescription.js index d8cde1f59b..3707241472 100644 --- a/binaries/data/mods/public/gui/common/gamedescription.js +++ b/binaries/data/mods/public/gui/common/gamedescription.js @@ -370,8 +370,10 @@ function getGameDescription(extended = false) }); titles.push({ - "label": translate("Disable Treasure"), - "value": g_GameAttributes.settings.DisableTreasure + "label": translate("Treasure"), + "value": g_GameAttributes.settings.DisableTreasures ? + translateWithContext("treasure", "Disabled") : + translateWithContext("treasure", "If the map places it.") }); titles.push({