Update to support different locales
<form method="post" action="{% url 'password_change' %}">
{% csrf_token %}
{{ password_form | crispy }}
- <button class="btn btn-default" type="submit">Change password</button>
+ <button class="btn btn-default" type="submit">
+ {% trans "Change password" %}
+ </button>
</form>
</div>
</div>
<div class="row clearfix">
<div class="col-xs-12 col-sm-3">
{% comment %} Translators: This is the heading of the section of a user's
- profile where they can change their ToU. {% endcomment %}
- <strong>Terms of use</strong>
+ profile where they disagree their terms of use. {% endcomment %}
+ <strong>{% trans "Terms of use" %}</strong>
</div>
<div class="col-xs-12 col-sm-9">
<form method="post" action="{% url 'terms' %}">
{% trans "Update" %}
</button>
</br>
- </br> Last updated at : {{ user.userprofile.terms_of_use_date }} {{ user.userprofile.terms_of_use_date | time:"H:i" }}
- </br> <a href="{% url 'terms' %}">View Terms of Use</a>
+ </br> <a href="{% url 'terms' %}"> {% trans "View Terms of Use" %}</a>
</form>
</div>
</div>
