Switch tabs to use ugettext_noop for titles.

This commit is contained in:
Diana Huang
2015-06-22 10:54:41 -04:00
parent 473c688655
commit e6cbff47b7
9 changed files with 23 additions and 22 deletions

View File

@@ -28,7 +28,8 @@ class CourseTab(object):
# subclass, shared by all instances of the subclass.
type = ''
# The title of the tab, which should be internationalized
# The title of the tab, which should be internationalized using
# ugettext_noop since the user won't be available in this context.
title = None
# Class property that specifies whether the tab can be hidden for a particular course