diff --git a/avatar/templates/avatar/add.html b/avatar/templates/avatar/add.html index f84f12d..a476dd9 100644 --- a/avatar/templates/avatar/add.html +++ b/avatar/templates/avatar/add.html @@ -1,14 +1,14 @@ {% extends "avatar/base.html" %} -{% load avatar_tags %} +{% load i18n avatar_tags %} {% block content %} -

Your current avatar:

+

{% trans "Your current avatar: " %}

{% avatar user %} {% if not avatars %} -

You haven't uploaded an avatar yet. Please upload one now.

+

{% trans "You haven't uploaded an avatar yet. Please upload one now." %}

{% endif %}
{{ upload_avatar_form.as_p }} -

+

{% endblock %} diff --git a/avatar/templates/avatar/change.html b/avatar/templates/avatar/change.html index dc66b4d..9eab6f0 100644 --- a/avatar/templates/avatar/change.html +++ b/avatar/templates/avatar/change.html @@ -1,21 +1,21 @@ {% extends "avatar/base.html" %} -{% load avatar_tags %} +{% load i18n avatar_tags %} {% block content %} -

Your current avatar:

+

{% trans "Your current avatar: " %}

{% avatar user %} {% if not avatars %} -

You haven't uploaded an avatar yet. Please upload one now.

+

{% trans "You haven't uploaded an avatar yet. Please upload one now." %}

{% else %}
- +
{% endif %}
{{ upload_avatar_form.as_p }} -

+

{% endblock %} diff --git a/avatar/templates/avatar/confirm_delete.html b/avatar/templates/avatar/confirm_delete.html index eaaa820..a5bca79 100644 --- a/avatar/templates/avatar/confirm_delete.html +++ b/avatar/templates/avatar/confirm_delete.html @@ -1,15 +1,17 @@ {% extends "avatar/base.html" %} +{% load i18n %} {% block content %} -

Please select the avatars that you would like to delete.

+

{% trans "Please select the avatars that you would like to delete." %}

{% if not avatars %} -

You have no avatars to delete. Please upload one now.

+ {% url avatar_change as avatar_change_url %} +

{% blocktrans %}You have no avatars to delete. Please upload one now.{% endblocktrans %}

{% else %}
- +
{% endif %} {% endblock %}