Translate account deletion.

Mark all the strings in the new account deletion stuff for
translation.
This commit is contained in:
Elrond 2013-01-17 23:54:48 +01:00
parent 7d16a01bae
commit 7341cc8e34
2 changed files with 10 additions and 4 deletions

View File

@ -24,11 +24,16 @@
<form action="{{ request.urlgen('mediagoblin.edit.delete_account') }}"
method="POST" enctype="multipart/form-data">
<div class="form_box">
<h1>Really delete user '{{ user.username }}' and all related media/comments?
<h1>
{%- trans user_name=user.username -%}
Really delete user '{{ user_name }}' and all related media/comments?
{%- endtrans -%}
</h1>
<p class="delete_checkbox_box">
<input type="checkbox" name="confirmed"/>
<label for="confirmed">Yes, really delete my account</label>
<label for="confirmed">
{%- trans %}Yes, really delete my account{% endtrans -%}
</label>
</p>
<div class="form_submit_buttons">

View File

@ -54,7 +54,8 @@
</div>
</form>
<div class="delete">
<a href="{{request.urlgen('mediagoblin.edit.delete_account')
}}">Delete my account</a>
<a href="{{ request.urlgen('mediagoblin.edit.delete_account') }}">
{%- trans %}Delete my account{% endtrans -%}
</a>
</div>
{% endblock %}