Add "Outdated/invalid review" report category

This commit is contained in:
rubenwardy
2025-08-26 20:26:56 +01:00
parent b8e25f8565
commit 8631425ff7
2 changed files with 27 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ class ReportCategory(enum.Enum):
COPYRIGHT = "copyright"
USER_CONDUCT = "user_conduct"
ILLEGAL_HARMFUL = "illegal_harmful"
REVIEW = "review"
APPEAL = "appeal"
OTHER = "other"
@@ -150,6 +151,8 @@ class ReportCategory(enum.Enum):
return lazy_gettext("User behaviour, bullying, or abuse")
elif self == ReportCategory.ILLEGAL_HARMFUL:
return lazy_gettext("Illegal or harmful content")
elif self == ReportCategory.REVIEW:
return lazy_gettext("Outdated/invalid review")
elif self == ReportCategory.APPEAL:
return lazy_gettext("Appeal")
elif self == ReportCategory.OTHER: