diff --git a/lms/lms/widgets/CourseCard.html b/lms/lms/widgets/CourseCard.html index 6c3b4599..a7555a65 100644 --- a/lms/lms/widgets/CourseCard.html +++ b/lms/lms/widgets/CourseCard.html @@ -94,8 +94,8 @@ {% elif ins_len == 2 %} {{ instructors[0].full_name.split(" ")[0] }} and {{ instructors[1].full_name.split(" ")[0] }} {% else %} - {% set suffix = "other" if ins_len - 2 == 1 else "others" %} - {{ instructors[0].full_name.split(" ")[0] }}, {{ instructors[1].full_name.split(" ")[0] }} and {{ ins_len - 2 }} {{ suffix }} + {% set suffix = "other" if ins_len - 1 == 1 else "others" %} + {{ instructors[0].full_name.split(" ")[0] }} and {{ ins_len - 1 }} {{ suffix }} {% endif %} diff --git a/lms/www/batch/learn.html b/lms/www/batch/learn.html index 5929946a..78896567 100644 --- a/lms/www/batch/learn.html +++ b/lms/www/batch/learn.html @@ -95,8 +95,8 @@ {% elif ins_len == 2 %} {{ instructors[0].full_name.split(" ")[0] }} and {{ instructors[1].full_name.split(" ")[0] }} {% else %} - {% set suffix = "other" if ins_len - 2 == 1 else "others" %} - {{ instructors[0].full_name.split(" ")[0] }}, {{ instructors[1].full_name.split(" ")[0] }} and {{ ins_len - 2 }} {{ suffix }} + {% set suffix = "other" if ins_len - 1 == 1 else "others" %} + {{ instructors[0].full_name.split(" ")[0] }} and {{ ins_len - 1 }} {{ suffix }} {% endif %} @@ -124,9 +124,9 @@ {% set course_link = "" + _('here') + "" %}
- {{ _("This lesson is not available for preview. + {{ _("There is no preview available for this lesson. Please join the course to access it. - Click {0} to join the course.").format(course_link) }} + Click {0} to enroll.").format(course_link) }}
{% endif %}