mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Added translation to description
The labels of a field are usually always translated. But this does not happen in the documentation.
This commit is contained in:
parent
718dfc6e9c
commit
96cfab973c
@ -131,7 +131,7 @@
|
|||||||
<td>{{ infos.dataType is defined ? infos.dataType : '' }}</td>
|
<td>{{ infos.dataType is defined ? infos.dataType : '' }}</td>
|
||||||
<td>{{ infos.required ? 'true' : 'false' }}</td>
|
<td>{{ infos.required ? 'true' : 'false' }}</td>
|
||||||
<td>{{ infos.format }}</td>
|
<td>{{ infos.format }}</td>
|
||||||
<td>{{ infos.description is defined ? infos.description : '' }}</td>
|
<td>{{ infos.description is defined ? infos.description|trans : '' }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user