From 541b61ef47cdb1c3cfe9a121a7bb0952f54af7c7 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Fri, 8 Mar 2019 11:51:49 +0100 Subject: [PATCH] Updated Lockked unit text --- source/game/gui/gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/game/gui/gui.cpp b/source/game/gui/gui.cpp index 1c0b77977..b8ec7c29a 100644 --- a/source/game/gui/gui.cpp +++ b/source/game/gui/gui.cpp @@ -843,12 +843,12 @@ namespace Game { string text = ""; const ProduceCommandType *pct = static_cast(ct); if (unit->getFaction()->isUnitLocked(pct->getProducedUnit())) { - display.setInfoText(lang.getString("LockedByScenario") + "\n\n" + ct->getReqDesc(game->showTranslatedTechTree())); + display.setInfoText(lang.getString("Locked") + "\n\n" + ct->getReqDesc(game->showTranslatedTechTree())); } } else if (ct->getClass() == ccMorph) { const MorphCommandType *mct = static_cast(ct); if (unit->getFaction()->isUnitLocked(mct->getMorphUnit())) { - display.setInfoText(lang.getString("LockedByScenario") + "\n\n" + ct->getReqDesc(game->showTranslatedTechTree())); + display.setInfoText(lang.getString("Locked") + "\n\n" + ct->getReqDesc(game->showTranslatedTechTree())); } } } @@ -873,7 +873,7 @@ namespace Game { const BuildCommandType *bct = static_cast(activeCommandType); const Unit *unit = selection.getFrontUnit(); if (unit->getFaction()->isUnitLocked(bct->getBuilding(posDisplay))) { - display.setInfoText(lang.getString("LockedByScenario") + "\n\n" + bct->getBuilding(posDisplay)->getReqDesc(game->showTranslatedTechTree())); + display.setInfoText(lang.getString("Locked") + "\n\n" + bct->getBuilding(posDisplay)->getReqDesc(game->showTranslatedTechTree())); } else { bool translatedValue = game->showTranslatedTechTree(); const UnitType *building = bct->getBuilding(posDisplay);