Add missing report category translation (#25400)

This commit is contained in:
Renaud Chaput
2023-06-13 15:05:40 +02:00
committed by GitHub
parent 10746af82f
commit 1cb4514d0e
3 changed files with 4 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ class Report < ApplicationRecord
validate :validate_rule_ids
# entries here needs to be kept in sync with app/javascript/mastodon/features/notifications/components/report.jsx
enum category: {
other: 0,
spam: 1_000,