Fix spelling errors and add naming consistency to translation keys
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com>
This commit is contained in:
committed by
Matthias Mailänder
parent
c124684197
commit
536ffb3f31
@@ -374,7 +374,7 @@ end
|
||||
AddObjectives = function()
|
||||
USSRobjective = AddPrimaryObjective(USSR, "")
|
||||
RescueTanyaObjective = AddPrimaryObjective(Greece, "rescue-tanya")
|
||||
KillAll = AddPrimaryObjective(Greece, "elminate-soviet-units")
|
||||
KillAll = AddPrimaryObjective(Greece, "eliminate-soviet-units")
|
||||
InfiltrateWarfactoryObjective = AddSecondaryObjective(Greece, "infiltrate-warfactory")
|
||||
end
|
||||
|
||||
|
||||
@@ -390,7 +390,7 @@ WorldLoaded = function()
|
||||
|
||||
USSRObj = AddPrimaryObjective(USSR, "")
|
||||
MainObj = AddPrimaryObjective(Greece, "rescue-tanya")
|
||||
KillAll = AddPrimaryObjective(Greece, "elminate-soviet-units")
|
||||
KillAll = AddPrimaryObjective(Greece, "eliminate-soviet-units")
|
||||
InfWarfactory = AddSecondaryObjective(Greece, "infiltrate-warfactory")
|
||||
|
||||
InitTriggers()
|
||||
|
||||
@@ -348,7 +348,7 @@ WorldLoaded = function()
|
||||
|
||||
USSRObj = AddPrimaryObjective(USSR, "")
|
||||
MainObj = AddPrimaryObjective(Greece, "rescue-tanya")
|
||||
KillAll = AddPrimaryObjective(Greece, "elminate-soviet-units")
|
||||
KillAll = AddPrimaryObjective(Greece, "eliminate-soviet-units")
|
||||
InfWarfactory = AddSecondaryObjective(Greece, "infiltrate-warfactory")
|
||||
|
||||
InitTriggers()
|
||||
|
||||
@@ -169,7 +169,7 @@ InfiltrateTechCenter = function()
|
||||
Trigger.OnCapture(a, function()
|
||||
if not infiltrated then
|
||||
Media.PlaySoundNotification(Greece, "AlertBleep")
|
||||
Media.DisplayMessage(UserInterface.Translate("dont-capture-tech-centers"))
|
||||
Media.DisplayMessage(UserInterface.Translate("do-not-capture-tech-centers"))
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
@@ -157,7 +157,7 @@ InfiltrateTechCenter = function()
|
||||
|
||||
Trigger.OnCapture(a, function()
|
||||
if not Infiltrated then
|
||||
Media.DisplayMessage(UserInterface.Translate("dont-capture-tech-centers"))
|
||||
Media.DisplayMessage(UserInterface.Translate("do-not-capture-tech-centers"))
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
@@ -105,7 +105,7 @@ Tick = function()
|
||||
|
||||
if Ticked > 0 then
|
||||
if (Ticked % DateTime.Seconds(1)) == 0 then
|
||||
Timer = UserInterface.Translate("chronosphere-experiments-completes-in", { ["time"] = Utils.FormatTime(Ticked) })
|
||||
Timer = UserInterface.Translate("chronosphere-experiment-complete-in", { ["time"] = Utils.FormatTime(Ticked) })
|
||||
UserInterface.SetMissionText(Timer, TimerColor)
|
||||
end
|
||||
Ticked = Ticked - 1
|
||||
|
||||
@@ -105,7 +105,7 @@ Tick = function()
|
||||
|
||||
if Ticked > 0 then
|
||||
if (Ticked % DateTime.Seconds(1)) == 0 then
|
||||
Timer = UserInterface.Translate("chronosphere-experiments-completes-in", { ["time"] = Utils.FormatTime(Ticked) })
|
||||
Timer = UserInterface.Translate("chronosphere-experiment-complete-in", { ["time"] = Utils.FormatTime(Ticked) })
|
||||
UserInterface.SetMissionText(Timer, TimerColor)
|
||||
end
|
||||
Ticked = Ticked - 1
|
||||
|
||||
@@ -79,7 +79,7 @@ MissionStart = function()
|
||||
end)
|
||||
end)
|
||||
Trigger.AfterDelay(DateTime.Seconds(6), function()
|
||||
Media.DisplayMessage(UserInterface.Translate("civilians-manual-targetting"), UserInterface.Translate("tanya"))
|
||||
Media.DisplayMessage(UserInterface.Translate("civilians-manual-targeting"), UserInterface.Translate("tanya"))
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -242,11 +242,11 @@ WorldLoaded = function()
|
||||
InitObjectives(Allies)
|
||||
|
||||
if Difficulty == "easy" then
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civlians-island-shelter-easy")
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civilians-island-shelter-easy")
|
||||
elseif Difficulty == "normal" then
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civlians-island-shelter-normal")
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civilians-island-shelter-normal")
|
||||
else
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civlians-island-shelter-hard")
|
||||
RescueCivilians = AddPrimaryObjective(Allies, "rescue-civilians-island-shelter-hard")
|
||||
end
|
||||
|
||||
ClearWaterway = AddSecondaryObjective(Allies, "clear-enemy-submarines")
|
||||
|
||||
@@ -24,7 +24,7 @@ MissionStart = function()
|
||||
end)
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(45), function()
|
||||
Media.DisplayMessage(UserInterface.Translate("trucks-stopped-near-allied-base"))
|
||||
Media.DisplayMessage(UserInterface.Translate("truck-stopped-near-allied-base"))
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(StolenTruck, function()
|
||||
|
||||
@@ -304,7 +304,7 @@ AddObjectives = function()
|
||||
InitObjectives(Allies)
|
||||
|
||||
SurviveObj = AddPrimaryObjective(Allies, "enforce-position-hold-until-reinforcements")
|
||||
KillSams = AddSecondaryObjective(Allies, "destroy-two-sames-before-reinforcements")
|
||||
KillSams = AddSecondaryObjective(Allies, "destroy-two-sams-before-reinforcements")
|
||||
Media.DisplayMessage(UserInterface.Translate("soviets-blocking-gps"))
|
||||
CaptureAirfields = AddSecondaryObjective(Allies, "capture-hold-soviet-airbase-northeast")
|
||||
SovietObj = AddPrimaryObjective(Soviets, "")
|
||||
|
||||
@@ -60,7 +60,7 @@ powerproxy.spyplane:
|
||||
SelectTargetSpeechNotification: SelectTarget
|
||||
EndChargeSpeechNotification: SpyPlaneReady
|
||||
SelectTargetTextNotification: notification-select-target
|
||||
EndChargeTextNotification: notifcation-spy-plane-ready
|
||||
EndChargeTextNotification: notification-spy-plane-ready
|
||||
CameraActor: camera.spyplane
|
||||
CameraRemoveDelay: 150
|
||||
UnitType: u2
|
||||
|
||||
@@ -104,7 +104,7 @@ WorldLoaded = function()
|
||||
|
||||
BringSupplyTruck = AddPrimaryObjective(USSR, "supply-truck-waystation")
|
||||
ProtectWaystation = AddPrimaryObjective(USSR, "waystation-must-not-be-destroyed")
|
||||
DestroyAAGuns = AddSecondaryObjective(USSR, "destory-aa-guns-enable-air-support")
|
||||
DestroyAAGuns = AddSecondaryObjective(USSR, "destroy-aa-guns-enable-air-support")
|
||||
PreventAlliedIncursions = AddSecondaryObjective(USSR, "find-destroy-bridge-stop-allied-reinforcements")
|
||||
|
||||
Trigger.OnKilled(USSRTechCenter01, function()
|
||||
|
||||
Reference in New Issue
Block a user