Skip to content

Commit

Permalink
Fixed progress reporting not being translated
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne-Weber committed Jun 5, 2024
1 parent f91a75d commit 9731bcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,9 @@ async def _timer_loop(self):
self._timer_task = None

def start_timer(self):
self._manager.print(f"Progress: {self._drop.current_minutes}/{self._drop.required_minutes} - {self._drop.campaign}")
self._manager.print(
f'{_("gui", "progress", "campaign_progress")} {self._drop.current_minutes}/{self._drop.required_minutes} - {self._drop.campaign.game.name}, {self._drop.campaign.name}'
)
if self._timer_task is None:
if self._drop is None or self._drop.remaining_minutes <= 0:
# if we're starting the timer at 0 drop minutes,
Expand Down

0 comments on commit 9731bcc

Please sign in to comment.