Extract translation strings.
This commit is contained in:
committed by
abcdefg30
parent
867efcc6e8
commit
9b2e291a46
@@ -50,7 +50,7 @@ SendSpy = function()
|
||||
Trigger.OnKilled(Spy, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
||||
Media.DisplayMessage("Commander! You have to disguise me in order to get through the enemy patrols.", "Spy")
|
||||
Media.DisplayMessage(UserInterface.Translate("disguise-spy"), "Spy")
|
||||
if SpecialCameras then
|
||||
SpyCameraA = Actor.Create("camera", true, { Owner = Greece, Location = SpyCamera1.Location })
|
||||
SpyCameraB = Actor.Create("camera", true, { Owner = Greece, Location = SpyCamera2.Location })
|
||||
@@ -239,7 +239,7 @@ FreeTanya = function()
|
||||
|
||||
if TanyaType == "e7.noautotarget" then
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), 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
|
||||
|
||||
@@ -254,7 +254,7 @@ FreeTanya = function()
|
||||
end)
|
||||
end)
|
||||
|
||||
KillSams = Greece.AddObjective("Destroy all four SAM sites that block\nthe extraction helicopter.")
|
||||
KillSams = AddPrimaryObjective(Greece, "destroy-sam-sites-blocker")
|
||||
Trigger.OnKilled(Tanya, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
|
||||
if not SpecialCameras and PrisonCamera and PrisonCamera.IsInWorld then
|
||||
@@ -318,7 +318,7 @@ InitTriggers = function()
|
||||
end
|
||||
|
||||
if not Greece.IsObjectiveCompleted(InfWarfactory) then
|
||||
Media.DisplayMessage("Good work! But next time skip the heroics!", "Battlefield Control")
|
||||
Media.DisplayMessage(UserInterface.Translate("skip-heroics"), UserInterface.Translate("battlefield-control"))
|
||||
Greece.MarkCompletedObjective(InfWarfactory)
|
||||
end
|
||||
|
||||
@@ -388,10 +388,10 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(Greece)
|
||||
|
||||
USSRObj = USSR.AddObjective("Deny the Allies.")
|
||||
MainObj = Greece.AddObjective("Rescue Tanya.")
|
||||
KillAll = Greece.AddObjective("Eliminate all Soviet units in this area.")
|
||||
InfWarfactory = Greece.AddObjective("Infiltrate the Soviet warfactory.", "Secondary", false)
|
||||
USSRObj = AddPrimaryObjective(USSR, "")
|
||||
MainObj = AddPrimaryObjective(Greece, "rescue-tanya")
|
||||
KillAll = AddPrimaryObjective(Greece, "elminate-soviet-units")
|
||||
InfWarfactory = AddSecondaryObjective(Greece, "infiltrate-warfactory")
|
||||
|
||||
InitTriggers()
|
||||
SendSpy()
|
||||
|
||||
@@ -1194,3 +1194,5 @@ Rules: ra|rules/campaign-rules.yaml, ra|rules/campaign-tooltips.yaml, ra|rules/c
|
||||
Weapons: weapons.yaml
|
||||
|
||||
Notifications: notifications.yaml
|
||||
|
||||
Translations: ra|languages/lua/en.ftl
|
||||
|
||||
Reference in New Issue
Block a user