Merge pull request #22772 from edx/ziafazal/ENT-2524

ENT-2524: Unmarked name field of content gating partition for translation
This commit is contained in:
Zia Fazal
2020-01-10 12:26:17 +05:00
committed by GitHub

View File

@@ -65,7 +65,9 @@ def create_content_gating_partition(course):
partition = content_gate_scheme.create_user_partition(
id=CONTENT_GATING_PARTITION_ID,
name=_(u"Feature-based Enrollments"),
# Content gating partition name should not be marked for translations
# edX mobile apps expect it in english
name=u"Feature-based Enrollments",
description=_(u"Partition for segmenting users by access to gated content types"),
parameters={"course_id": six.text_type(course.id)}
)