From 8090f2f3970084061c72297edc93ea0e968cf9a5 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 18 Oct 2021 12:43:34 +0530 Subject: [PATCH] fix: made strings translatable --- community/lms/widgets/CourseCard.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/community/lms/widgets/CourseCard.html b/community/lms/widgets/CourseCard.html index 4de60d41..9ba8f5d2 100644 --- a/community/lms/widgets/CourseCard.html +++ b/community/lms/widgets/CourseCard.html @@ -10,9 +10,9 @@ {% endfor %} {% if membership and not read_only %} {% if progress < 100 %} -  
{{ frappe.utils.rounded(progress) }}% Completed
+  
{{ frappe.utils.rounded(progress) }}% _("Completed")
{% else %} -
Completed
+
_("Completed")
{% endif %} {% endif %} @@ -25,7 +25,7 @@
{% if course.get_chapters() | length %} - {{ course.get_chapters() | length }} Chapters + {{ course.get_chapters() | length }} _("Chapters") {% endif %} {% if course.get_chapters() | length and course.get_upcoming_batches() | length %} @@ -33,7 +33,7 @@ {% endif %} {% if course.get_upcoming_batches() | length %} - {{ course.get_upcoming_batches() | length }} Open Batches + {{ course.get_upcoming_batches() | length }} _("Open Batches") {% endif %}
@@ -75,36 +75,36 @@ {% if certificate %} {% elif course.enable_certification and progress == 100 %} {% elif progress == 100 %} {% elif course.upcoming %} {% elif membership %} {% else %}