From 9731bccf22a0ac4b36fef56b76f4eea76e33ced9 Mon Sep 17 00:00:00 2001 From: Arne Weber Date: Wed, 5 Jun 2024 18:20:51 +0200 Subject: [PATCH] Fixed progress reporting not being translated --- gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 9afb401b..13d93b38 100644 --- a/gui.py +++ b/gui.py @@ -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,