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 %}