mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 05:04:45 +00:00
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.
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user