From 1a25b15bce9dc556ce5ef501bdbc818e6ffe3643 Mon Sep 17 00:00:00 2001 From: Steve Pole Date: Fri, 21 Aug 2020 17:05:50 +1000 Subject: [PATCH 1/2] Update QWaitingForMissionResultWindow.py corrected spelling of aircrafts to aircraft --- qt_ui/windows/QWaitingForMissionResultWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt_ui/windows/QWaitingForMissionResultWindow.py b/qt_ui/windows/QWaitingForMissionResultWindow.py index 22fdc152..be56c99c 100644 --- a/qt_ui/windows/QWaitingForMissionResultWindow.py +++ b/qt_ui/windows/QWaitingForMissionResultWindow.py @@ -121,7 +121,7 @@ class QWaitingForMissionResultWindow(QDialog): updateBox.setLayout(updateLayout) self.debriefing = debriefing - updateLayout.addWidget(QLabel("Aircrafts destroyed"), 0, 0) + updateLayout.addWidget(QLabel("Aircraft destroyed"), 0, 0) updateLayout.addWidget(QLabel(str(len(debriefing.killed_aircrafts))), 0, 1) updateLayout.addWidget(QLabel("Ground units destroyed"), 1, 0) From d2a34488190ff0e0c2bcc1ad661d7365053a02da Mon Sep 17 00:00:00 2001 From: Steve Pole Date: Fri, 21 Aug 2020 17:07:10 +1000 Subject: [PATCH 2/2] Update aircraft.py corrected spelling of aircrafts to aircraft --- gen/aircraft.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/aircraft.py b/gen/aircraft.py index 62196edb..70826ea5 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -316,10 +316,10 @@ class AircraftConflictGenerator: detection_zone = self.m.triggers.add_triggerzone(flight.from_cp.position, radius=25000, hidden=False, name="ITZ") if flight.from_cp.captured: activation_trigger.add_condition(PartOfCoalitionInZone(self.game.get_enemy_color(), detection_zone.id)) # TODO : support unit type in part of coalition - activation_trigger.add_action(MessageToAll(String("WARNING : Enemy aircrafts have been detected in the vicinity of " + flight.from_cp.name + ". Interceptors are taking off."), 20)) + activation_trigger.add_action(MessageToAll(String("WARNING : Enemy aircraft have been detected in the vicinity of " + flight.from_cp.name + ". Interceptors are taking off."), 20)) else: activation_trigger.add_condition(PartOfCoalitionInZone(self.game.get_player_color(), detection_zone.id)) - activation_trigger.add_action(MessageToAll(String("WARNING : We have detected that enemy aircrafts are scrambling for an interception on " + flight.from_cp.name + " airbase."), 20)) + activation_trigger.add_action(MessageToAll(String("WARNING : We have detected that enemy aircraft are scrambling for an interception on " + flight.from_cp.name + " airbase."), 20)) def generate_planned_flight(self, cp, country, flight:Flight): try: