Extract translation strings.
This commit is contained in:
committed by
abcdefg30
parent
867efcc6e8
commit
9b2e291a46
@@ -25,7 +25,7 @@ SendInsertionHelicopter = function()
|
||||
local tanya = passengers[1]
|
||||
Trigger.OnKilled(tanya, TanyaKilledInAction)
|
||||
Trigger.AfterDelay(DateTime.Seconds(4), function()
|
||||
Media.DisplayMessage("According to the rules of engagement I need your explicit orders to fire, Commander!", "Tanya")
|
||||
Media.DisplayMessage(UserInterface.Translate("tanya-rules-of-engagement"), UserInterface.Translate("tanya"))
|
||||
end)
|
||||
end
|
||||
|
||||
@@ -151,7 +151,7 @@ CreateEinstein = function()
|
||||
einstein = Actor.Create(EinsteinType, true, { Location = EinsteinSpawnPoint.Location, Owner = Greece })
|
||||
einstein.Scatter()
|
||||
Trigger.OnKilled(einstein, RescueFailed)
|
||||
ExtractObjective = Greece.AddObjective("Wait for the helicopter and extract Einstein.")
|
||||
ExtractObjective = AddPrimaryObjective(Greece, "extract-einstein-helicopter")
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlaySpeechNotification(Greece, "TargetFreed") end)
|
||||
end
|
||||
|
||||
@@ -190,10 +190,10 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(Greece)
|
||||
|
||||
FindEinsteinObjective = Greece.AddObjective("Find Einstein.")
|
||||
TanyaSurviveObjective = Greece.AddObjective("Tanya must survive.")
|
||||
EinsteinSurviveObjective = Greece.AddObjective("Einstein must survive.")
|
||||
CivilProtectionObjective = Greece.AddObjective("Protect all civilians.", "Secondary", false)
|
||||
FindEinsteinObjective = AddPrimaryObjective(Greece, "find-einstein")
|
||||
TanyaSurviveObjective = AddPrimaryObjective(Greece, "tanya-survive")
|
||||
EinsteinSurviveObjective = AddPrimaryObjective(Greece, "einstein-survive")
|
||||
CivilProtectionObjective = AddSecondaryObjective(Greece, "protect-civilians")
|
||||
|
||||
RunInitialActivities()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user