Extract translation strings.

This commit is contained in:
Matthias Mailänder
2022-07-03 18:54:50 +02:00
committed by abcdefg30
parent 867efcc6e8
commit 9b2e291a46
110 changed files with 899 additions and 331 deletions

View File

@@ -587,3 +587,5 @@ Actors:
Owner: Neutral
Rules: ra|rules/campaign-rules.yaml, ra|rules/campaign-tooltips.yaml, ra|rules/campaign-palettes.yaml, rules.yaml
Translations: ra|languages/lua/en.ftl

View File

@@ -82,7 +82,7 @@ Expand = function()
ExpansionCheck = true
Trigger.ClearAll(mcvGG)
Trigger.ClearAll(mcvtransport)
Media.DisplayMessage("Allied MCV detected moving to the island.")
Media.DisplayMessage(UserInterface.Translate("allied-mcv-island"))
Reinforcements.Reinforce(GoodGuy, { "dd", "dd" }, ShipArrivePath, 0, function(ddsquad)
ddsquad.AttackMove(NearExpPoint.Location) end)
@@ -188,9 +188,9 @@ WorldLoaded = function()
InitObjectives(player)
CaptureObjective = player.AddObjective("Capture the Radar Dome.")
KillAll = player.AddObjective("Defeat the Allied forces.")
BeatUSSR = GoodGuy.AddObjective("Defeat the Soviet forces.")
CaptureObjective = AddPrimaryObjective(player, "capture-radar-dome")
KillAll = AddPrimaryObjective(player, "defeat-allied-forces")
BeatUSSR = AddPrimaryObjective(Greece, "")
RunInitialActivities()
@@ -214,15 +214,15 @@ WorldLoaded = function()
return
end
HoldObjective = player.AddObjective("Defend the Radar Dome.")
HoldObjective = AddPrimaryObjective(player, "defend-radar-dome")
player.MarkCompletedObjective(CaptureObjective)
Beacon.New(player, MCVDeploy.CenterPosition)
if Difficulty == "easy" then
Actor.Create("camera", true, { Owner = player, Location = MCVDeploy.Location })
Media.DisplayMessage("Movement of an Allied expansion base discovered.")
Media.DisplayMessage(UserInterface.Translate("allied-expansion-movement-detected"))
else
Actor.Create("MCV.CAM", true, { Owner = player, Location = MCVDeploy.Location })
Media.DisplayMessage("Coordinates of an Allied expansion base discovered.")
Media.DisplayMessage(UserInterface.Translate("coordinates-allied-expansion-discovered"))
end
if not ExpansionCheck then