From 517ca9329b3fc46a287d948960f42b97022ae5f0 Mon Sep 17 00:00:00 2001 From: Adam Palay Date: Mon, 23 Dec 2013 16:28:00 -0500 Subject: [PATCH] removes references to specific edx email addresses (STUD-1069) --- cms/templates/settings.html | 5 ++++- .../open_ended_grading/staff_grading_service.py | 10 +++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/cms/templates/settings.html b/cms/templates/settings.html index 744f9cb112..2c27c2562d 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -105,7 +105,10 @@ require(["domReady!", "jquery", "js/models/settings/course_details", "js/views/s

${_("Promoting Your Course with edX")}

-

${_('Your course summary page will not be viewable until your course has been announced. To provide content for the page and preview it, follow the instructions provided by your PM or Conrad Warre (conrad@edx.org).')}

+

${_('Your course summary page will not be viewable until your ' + 'course has been announced. To provide content for the ' + 'page and preview it, follow the instructions provided ' + 'by your PM.')}

% endif diff --git a/lms/djangoapps/open_ended_grading/staff_grading_service.py b/lms/djangoapps/open_ended_grading/staff_grading_service.py index ba8009ece3..55ab87a8f0 100644 --- a/lms/djangoapps/open_ended_grading/staff_grading_service.py +++ b/lms/djangoapps/open_ended_grading/staff_grading_service.py @@ -7,6 +7,7 @@ import logging from django.conf import settings from django.http import HttpResponse, Http404 +from django.utils.translation import ugettext as _ from xmodule.course_module import CourseDescriptor from xmodule.open_ended_grading_classes.grading_service_module import GradingService, GradingServiceError @@ -21,7 +22,14 @@ from open_ended_grading.utils import does_location_exist log = logging.getLogger(__name__) -STAFF_ERROR_MESSAGE = 'Could not contact the external grading server. Please contact the development team. If you do not have a point of contact, you can contact Vik at vik@edx.org.' +STAFF_ERROR_MESSAGE = _( + u'Could not contact the external grading server. Please contact the ' + u'development team at {email}.' +).format( + email=u'