Skip to content

Commit

Permalink
Uses block trans
Browse files Browse the repository at this point in the history
  • Loading branch information
rosschapman committed Dec 16, 2023
1 parent a417221 commit b728bb4
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions bookwyrm/templates/shelf/shelf.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,17 @@ <h2 class="title is-3">
</tbody>
</table>
{% else %}
<p><em>{% if shelves_filter_query %}
{% trans "We couldn't find any books that matched" %} "{{ shelves_filter_query }}"
{% else %}
{% trans "This shelf is empty." %}
{% endif %}
</em></p>
<p>
<em>
{% if shelves_filter_query %}
{% blocktrans trimmed %}
We couldn't find any books that matched {{ shelves_filter_query }}
{% endblocktrans %}
{% else %}
{% trans "This shelf is empty." %}
{% endif %}
</em>
</p>
{% endif %}

</div>
Expand Down

0 comments on commit b728bb4

Please sign in to comment.