From 7341cc8e34a86006ba73756d78edfd858f1e451d Mon Sep 17 00:00:00 2001 From: Elrond Date: Thu, 17 Jan 2013 23:54:48 +0100 Subject: [PATCH] Translate account deletion. Mark all the strings in the new account deletion stuff for translation. --- .../templates/mediagoblin/edit/delete_account.html | 9 +++++++-- mediagoblin/templates/mediagoblin/edit/edit_account.html | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/edit/delete_account.html b/mediagoblin/templates/mediagoblin/edit/delete_account.html index 6d56d77c..84d0b580 100644 --- a/mediagoblin/templates/mediagoblin/edit/delete_account.html +++ b/mediagoblin/templates/mediagoblin/edit/delete_account.html @@ -24,11 +24,16 @@
-

Really delete user '{{ user.username }}' and all related media/comments? +

+ {%- trans user_name=user.username -%} + Really delete user '{{ user_name }}' and all related media/comments? + {%- endtrans -%}

- +

diff --git a/mediagoblin/templates/mediagoblin/edit/edit_account.html b/mediagoblin/templates/mediagoblin/edit/edit_account.html index cfeb7281..c7a876e9 100644 --- a/mediagoblin/templates/mediagoblin/edit/edit_account.html +++ b/mediagoblin/templates/mediagoblin/edit/edit_account.html @@ -54,7 +54,8 @@
{% endblock %} -- 2.25.1