Skip to content
Snippets Groups Projects
Commit 168ba70d authored by ayub-khan's avatar ayub-khan
Browse files

fix-i18n-issues

parent 1555d4cb
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<h1>{% trans "You have signed out." %}</h1> <h1>{% trans "You have signed out." %}</h1>
<p style="text-align: center; margin-bottom: 20px;"> <p style="text-align: center; margin-bottom: 20px;">
{% blocktrans %} {% blocktrans trimmed %}
If you are not redirected within 5 seconds, <a href="{{ target }}">click here to go to the home page</a>. If you are not redirected within 5 seconds, <a href="{{ target }}">click here to go to the home page</a>.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% url 'wiki:signup' as signup_url %} {% url 'wiki:signup' as signup_url %}
{% url 'wiki:login' as login_url %} {% url 'wiki:login' as login_url %}
{% if login_url and signup_url %} {% if login_url and signup_url %}
{% blocktrans %} {% blocktrans trimmed %}
You need to <a href="{{ login_url }}">log in</a> or <a href="{{ signup_url }}">sign up</a> to use this function. You need to <a href="{{ login_url }}">log in</a> or <a href="{{ signup_url }}">sign up</a> to use this function.
{% endblocktrans %} {% endblocktrans %}
{% else %} {% else %}
......
{% load i18n %} {% load i18n %}
<p id="hint_id_content" class="help-block"> <p id="hint_id_content" class="help-block">
{% blocktrans with start_link="<a id='cheatsheetLink' href='#cheatsheetModal' rel='leanModal'>" end_link="</a>" %} {% blocktrans with start_link="<a id='cheatsheetLink' href='#cheatsheetModal' rel='leanModal'>" end_link="</a>" trimmed %}
Markdown syntax is allowed. See the {{ start_link }}cheatsheet{{ end_link }} for help. Markdown syntax is allowed. See the {{ start_link }}cheatsheet{{ end_link }} for help.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
......
{% autoescape off %} {% autoescape off %}
{% load i18n %} {% load i18n %}
{% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %} {% blocktrans trimmed %}Welcome to week {{ week_num }} {% endblocktrans %}
{% endautoescape %} {% endautoescape %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment