diff --git a/bookwyrm/templates/discover/landing_layout.html b/bookwyrm/templates/discover/landing_layout.html index 3aa27e393..5cfa1fd39 100644 --- a/bookwyrm/templates/discover/landing_layout.html +++ b/bookwyrm/templates/discover/landing_layout.html @@ -54,11 +54,11 @@
by {% include 'snippets/authors.html' with book=book %}
+{% trans "by" %} {% include 'snippets/authors.html' with book=book %}
{% endif %} {% if book|book_description %}{{ book|book_description|to_markdown|safe|truncatewords_html:50 }}diff --git a/bookwyrm/templates/discover/small-book.html b/bookwyrm/templates/discover/small-book.html index 72108c309..6df277466 100644 --- a/bookwyrm/templates/discover/small-book.html +++ b/bookwyrm/templates/discover/small-book.html @@ -1,11 +1,12 @@ {% load bookwyrm_tags %} +{% load i18n %} {% if book %} {% include 'snippets/book_cover.html' with book=book %} {% include 'snippets/stars.html' with rating=book|rating:request.user %}
by {% include 'snippets/authors.html' with book=book %}
+{% trans "by" %} {% include 'snippets/authors.html' with book=book %}
{% endif %} {% endif %} diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 6e4458893..ee42b4f6e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -149,12 +149,12 @@