You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message="You have failed the quiz twice. Unfortunatly you can not continue the course on this enrollment. But you can enroll again to retake the course."
95
+
message=_(
96
+
"You have failed the quiz twice. Unfortunatly you can not continue the course on this enrollment. But you can enroll again to retake the course."
97
+
)
95
98
logger.info(
96
99
f"Learner ID {enrolment.learner.id} has failed the quiz twice for Course {enrolment.course.title}. "
97
100
f"Marking enrollment as failed."
98
101
)
99
102
enrolment.fail()
100
103
else:
101
-
message="You have failed the quiz. You will receive another chance to retake it tomorrow."
104
+
message=_(
105
+
"You have failed the quiz. You will receive another chance to retake it tomorrow."
106
+
)
102
107
logger.info(
103
108
f"Learner ID {enrolment.learner.id} has failed the quiz for Course {enrolment.course.title}. "
<p><strong>Congratulations!</strong> Your enrollment for "<strongstyle="color: {{ brand_color }};">{{ course_title }}</strong>" has been successfully verified and confirmed.</p>
7
+
<p>{% blocktranslate %}Congratulations! Your enrollment for <strongstyle="color: {{ brand_color }}">{{ course_title }}</strong> has been successfully verified and confirmed.{% endblocktranslate %}</p>
7
8
8
-
<p>We're excited to have you join our learning community. Here's what you can expect:</p>
9
+
<p>{% translate "We're excited to have you join our learning community. Here's what you can expect:" %}</p>
9
10
10
11
<ul>
11
-
<li>Course materials will be delivered directly to this email address</li>
12
-
<li>You'll receive structured lessons and assignments on a regular schedule</li>
13
-
<li>Interactive content and assessments will help track your progress</li>
12
+
<li>{% translate "Course materials will be delivered directly to this email address" %}</li>
13
+
<li>{% translate "You'll receive structured lessons and assignments on a regular schedule" %}</li>
14
+
<li>{% translate "Interactive content and assessments will help track your progress" %}</li>
14
15
</ul>
15
16
16
-
<p>Your learning adventure begins soon! Keep an eye on your inbox for the first lesson and welcome materials.</p>
17
+
<p>{% translate "Your learning adventure begins soon! Keep an eye on your inbox for the first lesson and welcome materials." %}</p>
17
18
18
-
<h3>Welcome aboard!</h3>
19
+
<h3>{% translate "Welcome aboard!" %}</h3>
19
20
20
-
<p>Best regards,<br>
21
-
The <strong>{{ organization_name }}</strong> Team</p>
0 commit comments