Add some clarifying translator comments.
This commit is contained in:
@@ -729,6 +729,8 @@ class CourseFields(object):
|
||||
catalog_visibility = String(
|
||||
display_name=_("Course Visibility In Catalog"),
|
||||
help=_(
|
||||
# Translators: the quoted words 'both', 'about', and 'none' must be
|
||||
# left untranslated. Leave them as English words.
|
||||
"Defines the access permissions for showing the course in the course catalog. This can be set to one "
|
||||
"of three values: 'both' (show in catalog and allow access to about page), 'about' (only allow access "
|
||||
"to about page), 'none' (do not show in catalog and do not allow access to an about page)."
|
||||
@@ -736,9 +738,10 @@ class CourseFields(object):
|
||||
default=DEFAULT_COURSE_VISIBILITY_IN_CATALOG,
|
||||
scope=Scope.settings,
|
||||
values=[
|
||||
{"display_name": _("Both"), "value": CATALOG_VISIBILITY_CATALOG_AND_ABOUT},
|
||||
{"display_name": _("About"), "value": CATALOG_VISIBILITY_ABOUT},
|
||||
{"display_name": _("None"), "value": CATALOG_VISIBILITY_NONE}]
|
||||
{"display_name": "Both", "value": CATALOG_VISIBILITY_CATALOG_AND_ABOUT},
|
||||
{"display_name": "About", "value": CATALOG_VISIBILITY_ABOUT},
|
||||
{"display_name": "None", "value": CATALOG_VISIBILITY_NONE},
|
||||
],
|
||||
)
|
||||
|
||||
entrance_exam_enabled = Boolean(
|
||||
@@ -919,6 +922,8 @@ class CourseFields(object):
|
||||
course_visibility = String(
|
||||
display_name=_("Course Visibility For Unenrolled Learners"),
|
||||
help=_(
|
||||
# Translators: the quoted words 'private', 'public_outline', and 'public'
|
||||
# must be left untranslated. Leave them as English words.
|
||||
"Defines the access permissions for unenrolled learners. This can be set to one of three values: "
|
||||
"'private' (default visibility, only allowed for enrolled students), 'public_outline' "
|
||||
"(allow access to course outline) and 'public' (allow access to both outline and course content)."
|
||||
@@ -926,9 +931,10 @@ class CourseFields(object):
|
||||
default=COURSE_VISIBILITY_PRIVATE,
|
||||
scope=Scope.settings,
|
||||
values=[
|
||||
{"display_name": _("private"), "value": COURSE_VISIBILITY_PRIVATE},
|
||||
{"display_name": _("public_outline"), "value": COURSE_VISIBILITY_PUBLIC_OUTLINE},
|
||||
{"display_name": _("public"), "value": COURSE_VISIBILITY_PUBLIC}]
|
||||
{"display_name": "private", "value": COURSE_VISIBILITY_PRIVATE},
|
||||
{"display_name": "public_outline", "value": COURSE_VISIBILITY_PUBLIC_OUTLINE},
|
||||
{"display_name": "public", "value": COURSE_VISIBILITY_PUBLIC},
|
||||
],
|
||||
)
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user