From f9dbd88259c36a9f4d208f2bfbfb2dda057ff644 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Sat, 4 Nov 2023 02:10:50 +0500 Subject: [PATCH] fix effort translations --- lms/djangoapps/certificates/views/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/certificates/views/webview.py b/lms/djangoapps/certificates/views/webview.py index 26ea2b104f9c..e4585b98d5f4 100644 --- a/lms/djangoapps/certificates/views/webview.py +++ b/lms/djangoapps/certificates/views/webview.py @@ -249,7 +249,7 @@ def _update_course_context(request, context, course, platform_name, course_overv Updates context dictionary with course info. """ effort = course_overview and course_overview.effort or '8' - context['course_duration'] = convert_number_to_arabic(effort) + context['course_duration'] = convert_date_to_arabic(effort) context['full_course_image_url'] = request.build_absolute_uri(course_image_url(course)) course_title_from_cert = context['certificate_data'].get('course_title', '') accomplishment_copy_course_name = course_title_from_cert if course_title_from_cert else course.display_name