diff --git a/openedx/features/content_type_gating/partitions.py b/openedx/features/content_type_gating/partitions.py index 7be8236ad5..ded80e3088 100644 --- a/openedx/features/content_type_gating/partitions.py +++ b/openedx/features/content_type_gating/partitions.py @@ -100,7 +100,7 @@ class ContentTypeGatingPartition(UserPartition): def access_denied_message(self, block, user, user_group, allowed_groups): if self._is_audit_enrollment(user, block): - return "Graded assessments are available to Verified Track learners. Upgrade to Unlock." + return _(u"Graded assessments are available to Verified Track learners. Upgrade to Unlock.") return None def _is_audit_enrollment(self, user, block):