Skip to content

Commit

Permalink
templates/module_detail_phase_*.html: reword trans to translate
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Dec 28, 2022
1 parent 4289767 commit 4b50f02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<div class="offset-lg-3 col-lg-6 u-spacer-bottom-double">
{% if project.is_private %}
<div>
<i class="fas fa-lock u-spacer-right" aria-hidden="true"></i>{% trans 'This project is not publicly visible. Only invited users can see content and actively participate.' %}
<i class="fas fa-lock u-spacer-right" aria-hidden="true"></i>{% translate 'This project is not publicly visible. Only invited users can see content and actively participate.' %}
</div>
{% elif project.is_semipublic %}
<div>
<i class="fas fa-eye u-spacer-right" aria-hidden="true"></i>{% trans 'This project is publicly visible. Invited users can actively participate.' %}
<i class="fas fa-eye u-spacer-right" aria-hidden="true"></i>{% translate 'This project is publicly visible. Invited users can actively participate.' %}
</div>
{% endif %}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
class="lr-bar__right phase-info__highlight"
id="active-phase"
>
{% trans 'active' %}
{% translate 'active' %}
</span>
{% elif phase in module.future_phases %}
<span
class="lr-bar__right phase-info__highlight"
id="upcoming-phase"
>
{% trans 'upcoming' %}
{% translate 'upcoming' %}
</span>
{% else %}
<span
class="lr-bar__right phase-info__highlight"
>
{% trans 'finished' %}
{% translate 'finished' %}
</span>
{% endif %}
</div>
Expand Down

0 comments on commit 4b50f02

Please sign in to comment.