From 2c75b5d725132e4af9f548132470b86ac498edd8 Mon Sep 17 00:00:00 2001 From: louyihua Date: Tue, 31 Mar 2015 02:40:17 +0800 Subject: [PATCH] Fix two missing replacements of {studio_name} Located in ```howitworks.html``` and ```import.html```. --- cms/templates/howitworks.html | 3 +-- cms/templates/import.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cms/templates/howitworks.html b/cms/templates/howitworks.html index 34f77329d0..03a223449d 100644 --- a/cms/templates/howitworks.html +++ b/cms/templates/howitworks.html @@ -14,7 +14,6 @@
- ## "edX Studio" should not be translated

${_("Welcome to {studio_name}").format( studio_name=u''.format( studio_name=settings.STUDIO_NAME @@ -96,7 +95,7 @@
  • ${_("A Broad Library of Problem Types")}

    -

    ${_("It's more than just multiple choice. Studio supports more than a dozen types of problems to challenge your learners.")}

    +

    ${_("It's more than just multiple choice. {studio_name} supports more than a dozen types of problems to challenge your learners.").format(studio_name=settings.STUDIO_SHORT_NAME)}

  • diff --git a/cms/templates/import.html b/cms/templates/import.html index b7a356461c..ad0bf457f2 100644 --- a/cms/templates/import.html +++ b/cms/templates/import.html @@ -198,7 +198,7 @@ else: