templates: add blocktrans trimmed where useful (#69422)

This commit is contained in:
Valentin Deniaud 2022-09-29 17:39:50 +02:00
parent 8b04e43c1a
commit efe91f30c0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{% block description %}
<p>
{% blocktrans %}
{% blocktrans trimmed %}
This API provides an access to <a href="https://www.okina.fr/">Okina</a> API.
{% endblocktrans %}
<ul>

View File

@ -22,7 +22,7 @@
<div class="body-schemas">
{% render_body_schemas body_schemas=endpoint.body_schemas %}
{% if endpoint.body_schemas|get:"application/json"|get:"unflatten" %}
<div class="pk-information">{% blocktrans %}
<div class="pk-information">{% blocktrans trimmed %}
Object parameters can be sent as flat elements, with keys and subkeys separated
by a / character, eg: <tt>{"element": {"child": "value"}}</tt> can
be sent as <tt>{"element/child": "value"}</tt>.