Uses block trans

This commit is contained in:
Ross Chapman 2023-12-16 12:05:35 -08:00
parent a4172214d1
commit b728bb4323

View file

@ -210,12 +210,17 @@
</tbody> </tbody>
</table> </table>
{% else %} {% else %}
<p><em>{% if shelves_filter_query %} <p>
{% trans "We couldn't find any books that matched" %} "{{ shelves_filter_query }}" <em>
{% else %} {% if shelves_filter_query %}
{% trans "This shelf is empty." %} {% blocktrans trimmed %}
{% endif %} We couldn't find any books that matched {{ shelves_filter_query }}
</em></p> {% endblocktrans %}
{% else %}
{% trans "This shelf is empty." %}
{% endif %}
</em>
</p>
{% endif %} {% endif %}
</div> </div>