Commit ac8d6fc1 by louyihua

Make the strings in "Advanced Settings" page localizable

The fields should be translated before render into html templates.
parent 19527439
......@@ -45,8 +45,8 @@ class CourseMetadata(object):
result[field.name] = {
'value': field.read_json(descriptor),
'display_name': field.display_name,
'help': field.help,
'display_name': _(field.display_name),
'help': _(field.help),
'deprecated': field.runtime_options.get('deprecated', False)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment