diff --git a/bookwyrm/templates/snippets/status/headers/generatednote.html b/bookwyrm/templates/snippets/status/headers/generatednote.html index 7fc635ab2..418080c68 100644 --- a/bookwyrm/templates/snippets/status/headers/generatednote.html +++ b/bookwyrm/templates/snippets/status/headers/generatednote.html @@ -1,7 +1,8 @@ {% load cache %} {# Three day cache #} -{% cache 259200 generated_note_header status.id %} +{% get_current_language as LANGUAGE_CODE %} +{% cache 259200 generated_note_header LANGUAGE_CODE status.id %} {% if status.content == 'wants to read' %} {% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %} {% elif status.content == 'finished reading' %}