Fix translation string bugs

This commit is contained in:
ErikKalkoken
2020-02-29 15:55:42 +01:00
parent ad4ee9d822
commit 54a71630f1
3 changed files with 17 additions and 6 deletions

View File

@@ -2,7 +2,6 @@
{% load i18n %}
{% block page_title %}
{% blocktrans with service_name=view.service_name|title %}Delete {{ service_name }} Account?{% endblocktrans %}
{% endblock page_title %}
@@ -18,8 +17,8 @@
<form action="" method="post">
{% csrf_token %}
<p>
{% blocktrans trimmed %}
Are you sure you want to delete your {{ view.service_name }} account {{ object }}?
{% blocktrans trimmed with service_name=view.service_name|title %}
Are you sure you want to delete your {{ service_name }} account {{ object }}?
{% endblocktrans %}
</p>
<input class="btn btn-danger btn-block" type="submit" value="Confirm" />