Extract Tiberian Dawn campaign translations.
This commit is contained in:
committed by
Gustas
parent
b62cf7ee9a
commit
621c85059e
@@ -51,7 +51,7 @@ SendGDIReinforcements = function()
|
||||
if GDIReinforcementsLeft > 0 then
|
||||
GDIReinforcementsLeft = GDIReinforcementsLeft - 1
|
||||
Trigger.AfterDelay(DateTime.Seconds(5), function()
|
||||
Media.DisplayMessage("APC squads in reserve: " .. GDIReinforcementsLeft, "Battlefield Control")
|
||||
Media.DisplayMessage(UserInterface.Translate("apcs-left", { ["apcs"] = GDIReinforcementsLeft }), UserInterface.Translate("battlefield-control"))
|
||||
SendGDIReinforcements()
|
||||
end)
|
||||
end
|
||||
@@ -104,8 +104,9 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(GDI)
|
||||
|
||||
GDIObjective = GDI.AddObjective("Retrieve the crate with the stolen rods.")
|
||||
ReinforcementsObjective = GDI.AddObjective("Eliminate " .. KillsUntilReinforcements .. " Nod units for reinforcements.", "Secondary", false)
|
||||
GDIObjective = AddPrimaryObjective(GDI, "retrieve-rods")
|
||||
local eliminateReinforcements = UserInterface.Translate("eliminate-reinforcements", { ["kills"] = KillsUntilReinforcements })
|
||||
ReinforcementsObjective = AddSecondaryObjective(GDI, eliminateReinforcements)
|
||||
|
||||
SetupWorld()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user