0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,