Merge pull request #19165 from EDUlib/cert-translate-2
Message related to certificate on courseware progress page are translated to platform language only. Part 2 of 2.
This commit is contained in:
@@ -21,7 +21,8 @@ from django.urls import reverse
|
||||
from django.utils.decorators import method_decorator
|
||||
from django.utils.http import urlquote_plus
|
||||
from django.utils.text import slugify
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import ugettext
|
||||
from django.views.decorators.cache import cache_control
|
||||
from django.views.decorators.clickjacking import xframe_options_exempt
|
||||
from django.views.decorators.csrf import ensure_csrf_cookie
|
||||
@@ -1692,7 +1693,7 @@ def financial_assistance_form(request):
|
||||
'defaultValue': '',
|
||||
'required': True,
|
||||
'options': enrolled_courses,
|
||||
'instructions': _(
|
||||
'instructions': ugettext(
|
||||
'Select the course for which you want to earn a verified certificate. If'
|
||||
' the course does not appear in the list, make sure that you have enrolled'
|
||||
' in the audit track for the course.'
|
||||
|
||||
Reference in New Issue
Block a user