From 7578daa794061eb78aefe6023b24a010b6ca9746 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Sun, 18 Aug 2024 18:04:12 -0700 Subject: [PATCH] Fix licensetierrow broken by localization --- ui/src/licensetierrow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/licensetierrow.py b/ui/src/licensetierrow.py index b3d1958..0b0d1a1 100644 --- a/ui/src/licensetierrow.py +++ b/ui/src/licensetierrow.py @@ -24,7 +24,7 @@ class LicenseTierRow(Adw.ExpanderRow): status = _('Active') if active_period else _('Inactive') details = '' if active_period: - details += f" {self._period_description[active_period]}" + details += f" {self._period_description(active_period)}" if funds_needed_in_seconds is not None and funds_needed_in_seconds > 0: time_remaining = time_remaining_text(funds_needed_in_seconds) if time_remaining: details += _(" ({time_remaining} remaining)").format(time_remaining=time_remaining)