Merge pull request #18546 from edx/fix-i18n-issues

fix-i18n-issues
This commit is contained in:
Ayub-khan
2018-07-10 11:40:39 +05:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
<h1>{% trans "You have signed out." %}</h1>
<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>.
{% endblocktrans %}
</p>

View File

@@ -3,7 +3,7 @@
{% url 'wiki:signup' as signup_url %}
{% url 'wiki:login' as login_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.
{% endblocktrans %}
{% else %}

View File

@@ -1,6 +1,6 @@
{% load i18n %}
<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.
{% endblocktrans %}
</p>

View File

@@ -1,5 +1,5 @@
{% autoescape off %}
{% load i18n %}
{% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %}
{% blocktrans trimmed %}Welcome to week {{ week_num }} {% endblocktrans %}
{% endautoescape %}