From cde166a0a2ca22af0ab0071291a13d94f4119dae Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Thu, 28 May 2015 10:23:34 -0400 Subject: [PATCH] Revert "i18n lon-capa problem explanation title" This reverts commit 3e0342cbb3fdc8b13200b2b784175a4e7d30ca55. --- common/lib/xmodule/xmodule/js/src/problem/edit.coffee | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/common/lib/xmodule/xmodule/js/src/problem/edit.coffee b/common/lib/xmodule/xmodule/js/src/problem/edit.coffee index 805466817f..30bac81dc0 100644 --- a/common/lib/xmodule/xmodule/js/src/problem/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/problem/edit.coffee @@ -201,8 +201,6 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor # @markdownToXml: (markdown)-> toXml = `function (markdown) { - // Translators: This is the title of the text explaining a problem - var explanation_title = gettext("Explanation"); var xml = markdown, i, splits, scriptFlag; @@ -350,15 +348,14 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor }); // replace explanations - xml = xml.replace(/\[explanation\]\n?([^\]]*)\[\/?explanation\]/gmi, function(match, p1) { - var selectString = '\n
\n' + explanation_title + '\n\n' + p1 + '\n
\n
'; + var selectString = '\n
\nExplanation\n\n' + p1 + '\n
\n
'; return selectString; }); - + // replace labels - // looks for >>arbitrary text<< and inserts it into the label attribute of the input type directly below the text. + // looks for >>arbitrary text<< and inserts it into the label attribute of the input type directly below the text. var split = xml.split('\n'); var new_xml = []; var line, i, curlabel, prevlabel = '';