Add translation error category to feedback form.

Lets users report i18n issues via the feedback dropdown in all supported locales.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-31 16:33:28 +02:00
parent 13cb03646b
commit eb1f87f57e
8 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { analyzeFeedbackSpam, feedbackLimiter } from '../middleware/feedbackProt
const router = Router()
const VALID_CATEGORIES = new Set(['bug', 'feature', 'general'])
const VALID_CATEGORIES = new Set(['bug', 'feature', 'general', 'translation'])
const MAX_MESSAGE_LENGTH = 2000
const MAX_EMAIL_LENGTH = 254
const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/