templates: add blocktrans trimmed where useful

This commit is contained in:
Valentin Deniaud 2022-09-27 17:46:21 +02:00
parent 6a8ebfcfd2
commit 48cc474526
16 changed files with 21 additions and 21 deletions

View File

@ -5,7 +5,7 @@
<p>{% trans "Hi," %}</p>
<p>
{% blocktrans %}
{% blocktrans trimmed %}
You have been notified because the status of event "{{ event }}" has changed.
{% endblocktrans %}
</p>

View File

@ -35,7 +35,7 @@
{% endfor %}
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This agenda doesn't have any open event configured.
{% endblocktrans %}
</div>

View File

@ -28,7 +28,7 @@
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This site doesn't have any category yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}

View File

@ -12,7 +12,7 @@
<div class="section">
<h3>
{% blocktrans with places=object.places booked_places=object.booked_places count remaining_places=object.remaining_places %}
{% blocktrans trimmed with places=object.places booked_places=object.booked_places count remaining_places=object.remaining_places %}
Bookings ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining place
{% plural %}
Bookings ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining places
@ -44,7 +44,7 @@
{% if object.waiting_list_places %}
<div class="section">
<h3>
{% blocktrans with places=object.waiting_list_places booked_places=object.booked_waiting_list_places count remaining_places=object.remaining_waiting_list_places %}
{% blocktrans trimmed with places=object.waiting_list_places booked_places=object.booked_waiting_list_places count remaining_places=object.remaining_waiting_list_places %}
Waiting List ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining place
{% plural %}
Waiting List ({{ booked_places }}/{{ places }}): {{ remaining_places }} remaining places

View File

@ -26,7 +26,7 @@
{% include "gadjo/pagination.html" %}
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This day doesn't have any event configured.
{% endblocktrans %}
</div>

View File

@ -32,7 +32,7 @@
{% include "gadjo/pagination.html" %}
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This month doesn't have any event configured.
{% endblocktrans %}
</div>

View File

@ -34,7 +34,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This agenda doesn't have any event yet. Click on the "New Event" button in
the top right of the page to add a first one.
{% endblocktrans %}

View File

@ -30,7 +30,7 @@
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This site doesn't have any events type yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}

View File

@ -46,7 +46,7 @@
{% endfor %}
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This site doesn't have any agenda yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}

View File

@ -65,7 +65,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This agenda doesn't have any meeting type yet. Click on the "New Meeting Type" button in
the top right of the page to add a first one.
{% endblocktrans %}
@ -133,7 +133,7 @@
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This agenda doesn't have any desk yet. Click on the "New Desk" button in
the top right of the page to add a first one.
{% endblocktrans %}
@ -158,7 +158,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This agenda doesn't have any resource yet. Click on the "Add resource" button in
the top right of the page to add a first one.
{% endblocktrans %}

View File

@ -47,7 +47,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This resource is not used yet.
{% endblocktrans %}
</div>

View File

@ -27,7 +27,7 @@
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This site doesn't have any resource yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}

View File

@ -40,7 +40,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This unavailability calendar is not used yet.
{% endblocktrans %}
</div>

View File

@ -29,7 +29,7 @@
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This site doesn't have any unavailability calendar yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}

View File

@ -40,7 +40,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
There is no unavailabilities yet. Click on the "Add Unavailabilty" button in
the top right of the page to add a first one.
{% endblocktrans %}

View File

@ -30,7 +30,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This virtual agenda doesn't include any agenda yet. Click on the "Include Agenda" button in
the top right of the page to include a first one.
{% endblocktrans %}
@ -54,7 +54,7 @@
</ul>
{% else %}
<div class="errornotice">
{% blocktrans %}
{% blocktrans trimmed %}
This virtual agenda doesn't have any meeting type.
It is probably because its included agendas have incompatible meeting types
and it makes this virtual agenda unusable.
@ -75,7 +75,7 @@
</ul>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
{% blocktrans trimmed %}
This virtual agenda doesn't have any excluded period yet. Click on the "Add Excluded Period" button in
the top right of the page to include a first one.
{% endblocktrans %}