fix: translations

This commit is contained in:
Francisco Roldan
2022-05-26 09:43:11 -03:00
parent 227ca0ed41
commit 0609174a14
12 changed files with 28 additions and 29 deletions

View File

@@ -30,7 +30,7 @@
<div class="slider-controls">
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
<span class="sr-only">{{ _("Previous") }}</span>
</a>
<ol class="carousel-indicators">
@@ -42,7 +42,7 @@
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
<span class="sr-only">{{ _("Next") }}</span>
</a>
</div>
{% endif %}

View File

@@ -1,6 +1,6 @@
<div class="breadcrumb">
{% if course %}
<a class="dark-links" href="/courses">All Courses</a>
<a class="dark-links" href="/courses">{{ _("All Courses") }}</a>
<img class="ml-1 mr-1" src="/assets/lms/icons/chevron-right.svg">
{% if lesson %}
<a class="dark-links" href="/courses/{{ course.name }}">{{ course.title }}</a>

View File

@@ -10,5 +10,5 @@
#}
<div class="hello">
Hello, <em>{{ name }}</em>!
{{ _("Hello"), <em>{{ name }}</em>!
</div>

View File

@@ -4,8 +4,7 @@
<input class="form-control w-100 mr-5 mb-5 mt-2" id="invite_email" type="email" placeholder="Email Address">
</div>
<div class="col-md">
<a type="submit" id="submit-invite-request" class="btn btn-primary btn-lg" role="button">Request
Invite</a>
<a type="submit" id="submit-invite-request" class="btn btn-primary btn-lg" role="button">{{ _("Request Invite") }}</a>
</div>
</div>
</form>

View File

@@ -1,10 +1,10 @@
<div class="form-group">
<div class="d-flex">
<input class="btn btn-default btn-sm mr-3 attach-file" type="file" id="{{ id }}" accept="{{ accept }}" />
<div class="button is-secondary submit-work">Submit Work</div>
<div class="button is-secondary submit-work">{{ _("Submit Work") }}</div>
<div class="preview-work button is-default hide">
<a target="_blank"></a>
<div class="button is-secondary clear-work">Change</div>
<div class="button is-secondary clear-work">{{ _("Change") }}</div>
</div>
</div>
</div>

View File

@@ -14,6 +14,6 @@
<a href="{{ course_link }}">{{ site_url }}{{ course_link }}</a>
</p>
<br>
<p>Thanks and Regards,</p>
<p>{{ _("Thanks and Regards") }},</p>
<p>{{ app_name }}</p>
</div>

View File

@@ -12,6 +12,6 @@
<a href="{{ signup_form_link }}">{{ site_url }}{{ signup_form_link }}</a>
</p>
<br>
<p>Thanks and Regards,</p>
<p>{{ _("Thanks and Regards") }},</p>
<p>{{site_name}}</p>
</div>

View File

@@ -8,6 +8,6 @@
</div> -->
<p> {{ message }} </p>
<p class="text-right">By {{author}}</p>
<p class="text-right">{{ _("By") }} {{author}}</p>
<div class="small text-muted text-right">{{ creation }}</div>
<a href="courses/course?course={{course}}">Open Course</a>
<a href="courses/course?course={{course}}">{{ _("Open Course") }}</a>

View File

@@ -1,9 +1,9 @@
<div>
<p>Dear {{ member_name }},</p>
<p>{{ _("Dear") }} {{ member_name }},</p>
<br>
<p>You've applied to become a mentor for this course. Your request is currently under review.</p>
<p>If you are not any more interested to mentor the course {{ course }}, you can <a href="{{ course_url }}">cancel your application</a>.</p>
<p>{{ _("You've applied to become a mentor for this course. Your request is currently under review.") }}</p>
<p>{{ _("If you are not any more interested to mentor the course") }} {{ course }}, {{ _("you can") }} <a href="{{ course_url }}">{{ _("cancel your application") }}</a>.</p>
<br>
<p>Thanks and Regards,</p>
<p>Team School.</p>
<p>{{ _("Thanks and Regards") }},</p>
<p>{{ _("Team School") }}.</p>
</div>

View File

@@ -1,8 +1,8 @@
<div>
<p>Dear {{ member_name }},</p>
<p>{{ _("Dear") }} {{ member_name }},</p>
<br>
<p>Your request to join us as a mentor for the course {{ course }} has been {{ status }}.</p>
<p>{{ _("Your request to join us as a mentor for the course") }} {{ course }} {{ _("has been") }} {{ status }}.</p>
<br>
<p>Thanks and Regards,</p>
<p>Team School.</p>
<p>{{ _("Thanks and Regards") }},</p>
<p>{{ _("Team School") }}.</p>
</div>

View File

@@ -18,11 +18,11 @@
<div class="row">
<div class="col-lg-8 col-md-6">
<div class="controls">
<button class="run">Run</button>
<button class="run">{{ _("Run") }}</button>
<div class="exercise-controls pull-right">
<span style="padding-right: 10px;"><span class="last-submitted human-time" data-timestamp=""></span></span>
<button class="submit btn-primary">Submit</button>
<button class="submit btn-primary">{{ _("Submit") }}</button>
</div>
</div>
</div>

View File

@@ -11,9 +11,9 @@
<div class="page-card">
<div class='page-card-head'>
<span class='indicator blue password-box'>Login Required</span>
<span class='indicator blue password-box'>{{ _("Login Required") }}</span>
</div>
<div class=''>Please log in to confirm joining the course {{ batch.course_title }}.</div>
<div class=''>{{ _("Please log in to confirm joining the course" )}} {{ batch.course_title }}.</div>
<a type="submit" id="login" class="btn btn-primary w-100"
href="/login?redirect-to=/courses/{{ batch.course }}/join?batch={{ batch.name }}">{{_("Login")}}</a>
</div>
@@ -22,9 +22,9 @@
<div class="page-card">
<div class='page-card-head'>
<span class='indicator blue password-box'>Already a member</span>
<span class='indicator blue password-box'>{{ _("Already a member") }}</span>
</div>
<div class=''>You are already a member of the batch {{ batch.title }} for the course {{ batch.course_title }}.
<div class=''>{{ _("You are already a member of the batch") }} {{ batch.title }} {{ _("for the course") }} {{ batch.course_title }}.
</div>
<a type="submit" id="batch-home" class="btn btn-primary w-100" href="">{{_("Go to Batch Home")}}</a>
</div>
@@ -33,9 +33,9 @@
<div class="page-card">
<div class='page-card-head'>
<span class='indicator blue password-box'>Confirm your membership</span>
<span class='indicator blue password-box'>{{ _("Confirm your membership") }}</span>
</div>
<div>Please provide your confirmation to be a part of the batch {{ batch.title }} for the course
<div>{{ _("Please provide your confirmation to be a part of the batch") }} {{ batch.title }} {{ _("for the course") }}
{{ batch.course_title }}.
</div>
<a type="submit" id="confirm" class="btn btn-primary w-100">{{_("Confirm")}}</a>