feat: added new edit reason code (#30984)

This commit is contained in:
Ahtisham Shahid
2022-09-15 11:17:28 +05:00
committed by GitHub
parent 0e6b1a334a
commit 889c16533e

View File

@@ -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