Replaced "Need offset" with "Needs Offset" as the text of the badge.

This commit is contained in:
2023-03-20 22:43:53 +08:00
parent 9a4531b26c
commit 50dd6078c7
4 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ def get_account_query() -> list[Account]:
Account.title_l10n.contains(k),
code.contains(k),
Account.id.in_(l10n_matches)]
if k in gettext("Need offset"):
if k in gettext("Needs Offset"):
sub_conditions.append(Account.is_need_offset)
conditions.append(sa.or_(*sub_conditions))