From 6bc17d06683a598633dbe6bf9894de26bf7cb0af Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 16 Mar 2010 15:19:54 +0100 Subject: [PATCH] Marked a few strings for translation. --- avatar/templates/avatar/add.html | 8 ++++---- avatar/templates/avatar/change.html | 10 +++++----- avatar/templates/avatar/confirm_delete.html | 8 +++++--- 3 files changed, 14 insertions(+), 12 deletions(-) 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 %}