From 487ae964e4e011027adf9c1d79bbbdb2f95e2ded Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 8 Aug 2013 15:58:23 -0400 Subject: [PATCH] implement PR feedback --- cms/templates/export.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cms/templates/export.html b/cms/templates/export.html index 3b5af8bf87..dd494a532b 100644 --- a/cms/templates/export.html +++ b/cms/templates/export.html @@ -12,7 +12,7 @@ $(document).ready(function() { %if unit: - dialog = new CMS.Views.Prompt({ + var dialog = new CMS.Views.Prompt({ title: gettext('There has been an error with your export.'), message: gettext("There has been a failure to export to XML at least one component. It is recommended that you go to the edit page and repair the error before attempting another export. Please check that all components on the page are valid and do not display any error messages."), intent: "error", @@ -25,7 +25,7 @@ } }, secondary: { - text: gettext('cancel'), + text: gettext('Cancel'), click: function(view) { view.hide(); } @@ -33,9 +33,9 @@ } }); % else: - var msg = gettext("

There has been a failure to export your course to XML. Unfortunately, we do not have specific enough information to assist you in identifying the failed component. It is recommended that you inspect your courseware to identify any components in error and try again.

The raw error message is:

"); + var msg = "

" + gettext("There has been a failure to export your course to XML. Unfortunately, we do not have specific enough information to assist you in identifying the failed component. It is recommended that you inspect your courseware to identify any components in error and try again.") + "

" + gettext("The raw error message is:") + "

"; msg = msg + "${raw_err_msg}"; - dialog = new CMS.Views.Prompt({ + var dialog = new CMS.Views.Prompt({ title: gettext('There has been an error with your export.'), message: msg, intent: "error", @@ -48,7 +48,7 @@ } }, secondary: { - text: gettext('cancel'), + text: gettext('Cancel'), click: function(view) { view.hide(); }