mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Merge branch 'fix_translation_string_bugs' into 'master'
Fix translation string bugs See merge request allianceauth/allianceauth!1175
This commit is contained in:
commit
9c880eae8a
@ -15,7 +15,13 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
<h2>{% blocktrans %}{{ user }} has collected {{ n_fats }} link{{ n_fats|pluralize }} this month.{% endblocktrans %}</h2>
|
<h2>
|
||||||
|
{% blocktrans count links=n_fats %}
|
||||||
|
{{ user }} has collected one link this month.
|
||||||
|
{% plural %}
|
||||||
|
{{ user }} has collected {{ links }} links this month.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</h2>
|
||||||
<table class="table table-responsive">
|
<table class="table table-responsive">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-md-2 text-center">{% trans "Ship" %}</th>
|
<th class="col-md-2 text-center">{% trans "Ship" %}</th>
|
||||||
@ -29,7 +35,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% if created_fats %}
|
{% if created_fats %}
|
||||||
<h2>{% blocktrans %}{{ user }} has created {{ n_created_fats }} link{{ n_created_fats|pluralize }} this month.{% endblocktrans %}</h2>
|
<h2>
|
||||||
|
{% blocktrans count links=n_created_fats %}
|
||||||
|
{{ user }} has created one link this month.
|
||||||
|
{% plural %}
|
||||||
|
{{ user }} has created {{ links }} links this month.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</h2>
|
||||||
{% if created_fats %}
|
{% if created_fats %}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% block page_title %}
|
{% block page_title %}
|
||||||
{% blocktrans with service_name=view.service_name|title %}Delete {{ service_name }} Account?{% endblocktrans %}
|
{% blocktrans with service_name=view.service_name|title %}Delete {{ service_name }} Account?{% endblocktrans %}
|
||||||
{% endblock page_title %}
|
{% endblock page_title %}
|
||||||
@ -18,8 +17,8 @@
|
|||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<p>
|
<p>
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed with service_name=view.service_name|title %}
|
||||||
Are you sure you want to delete your {{ view.service_name }} account {{ object }}?
|
Are you sure you want to delete your {{ service_name }} account {{ object }}?
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<input class="btn btn-danger btn-block" type="submit" value="Confirm" />
|
<input class="btn btn-danger btn-block" type="submit" value="Confirm" />
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
{% if task_queue_length < 0 %}
|
{% if task_queue_length < 0 %}
|
||||||
{% trans "Error retrieving task queue length" %}
|
{% trans "Error retrieving task queue length" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% blocktrans count tasks=task_queue_length %}
|
{% blocktrans trimmed count tasks=task_queue_length %}
|
||||||
{{ tasks }} task
|
{{ tasks }} task
|
||||||
{% plural %}
|
{% plural %}
|
||||||
{{ tasks }} tasks
|
{{ tasks }} tasks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user