Skip to content

Commit

Permalink
Add i18n to two lines of text (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 committed Mar 22, 2022
1 parent b9a8075 commit c74956a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
{% endif %}
<li><a href="{{ url('user_edit_profile') }}">{{ _('Edit profile') }}</a></li>
{% if request.user.is_impersonate %}
<li><a href="{{ url('impersonate-stop') }}">Stop impersonating</a></li>
<li><a href="{{ url('impersonate-stop') }}">{{ _('Stop impersonating') }}</a></li>
{% else %}
<li>
<form action="{{ url('auth_logout') }}" method="POST">
Expand Down Expand Up @@ -287,7 +287,7 @@ <h2 style="color:#393630; display:inline">
<footer>
<span id="footer-content">
<br>
<a style="color: #808080" href="https://dmoj.ca">proudly powered by <b>DMOJ</b></a> |
<a style="color: #808080" href="https://dmoj.ca">{{ _('proudly powered by **DMOJ**')|markdown('default', strip_paragraphs=True) }}</a> |
{% if i18n_config.footer %}
{{ i18n_config.footer|safe }} |
{% endif %}
Expand Down

0 comments on commit c74956a

Please sign in to comment.