Skip to content
Snippets Groups Projects
Unverified Commit 1fc881b9 authored by Ned Batchelder's avatar Ned Batchelder Committed by GitHub
Browse files

Merge pull request #23911 from shadinaif/shadinaif/fix-untranslated-text

Missing translation function call
parents 7db6e929 7142d55b
No related merge requests found
......@@ -725,6 +725,7 @@ class CapaMixin(ScorableXBlockMixin, CapaFields):
html = self.handle_problem_html_error(err)
html = self.remove_tags_from_html(html)
_ = self.runtime.service(self, "i18n").ugettext
# Enable/Disable Submit button if should_enable_submit_button returns True/False.
submit_button = self.submit_button_name()
......@@ -821,6 +822,7 @@ class CapaMixin(ScorableXBlockMixin, CapaFields):
# Build the notification message based on the notification type and translate it.
ungettext = self.runtime.service(self, "i18n").ungettext
_ = self.runtime.service(self, "i18n").ugettext
if answer_notification_type == 'incorrect':
if progress is not None:
answer_notification_message = ungettext(
......
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