Fix licensetierrow broken by localization

This commit is contained in:
wheaney 2024-08-18 18:04:12 -07:00
parent ad4bd5053c
commit 7578daa794
1 changed files with 1 additions and 1 deletions

View File

@ -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)