Skip to content

Commit

Permalink
Merge pull request #26 from edx/ziafazal/TNL-6400
Browse files Browse the repository at this point in the history
TNL-6400:no need to translate string coming out of database backend
  • Loading branch information
ziafazal committed Jan 30, 2017
2 parents 89b7233 + 20e73c6 commit 9ca4a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lti_consumer/lti_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,17 +843,17 @@ def _get_context_for_template(self):
'element_id': self.location.html_id(), # pylint: disable=no-member
'element_class': self.category, # pylint: disable=no-member
'launch_target': self.launch_target,
'display_name': self.ugettext(self.display_name),
'display_name': self.display_name,
'form_url': self.runtime.handler_url(self, 'lti_launch_handler').rstrip('/?'),
'hide_launch': self.hide_launch,
'has_score': self.has_score,
'weight': self.weight,
'module_score': self.module_score,
'comment': self.ugettext(sanitized_comment),
'comment': sanitized_comment,
'description': self.description,
'ask_to_send_username': self.ask_to_send_username,
'ask_to_send_email': self.ask_to_send_email,
'button_text': self.ugettext(self.button_text),
'button_text': self.button_text,
'inline_height': self.inline_height,
'modal_vertical_offset': self._get_modal_position_offset(self.modal_height),
'modal_horizontal_offset': self._get_modal_position_offset(self.modal_width),
Expand Down

0 comments on commit 9ca4a76

Please sign in to comment.