From 889c16533e758227c38c2b1af6f5c0ba871f3cbf Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Thu, 15 Sep 2022 11:17:28 +0500 Subject: [PATCH] feat: added new edit reason code (#30984) --- lms/envs/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 0e38ed6ece..0e2a5ae3a8 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -5162,6 +5162,7 @@ DISCUSSION_MODERATION_EDIT_REASON_CODES = { "format-change": _("Formatting changes needed"), "post-type-change": _("Post type needs change"), "contains-pii": _("Contains personally identifiable information"), + "violates-guidelines": _("Violates community guidelines"), } # Provide a list of reason codes for moderators to close posts, as a mapping # from the internal reason code representation, to an internationalizable label