Skip to content
Snippets Groups Projects
Commit 9ca4a769 authored by Zia Fazal's avatar Zia Fazal Committed by GitHub
Browse files

Merge pull request #26 from edx/ziafazal/TNL-6400

TNL-6400:no need to translate string coming out of database backend
parents 89b72336 20e73c67
No related branches found
No related tags found
No related merge requests found
......@@ -843,17 +843,17 @@ class LtiConsumerXBlock(StudioEditableXBlockMixin, XBlock):
'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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment