mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-01 14:01:35 +00:00
Fixes cache translation
This commit is contained in:
parent
9eb798e932
commit
98736925f7
1 changed files with 2 additions and 1 deletions
|
@ -3,8 +3,9 @@
|
||||||
{% load cache %}
|
{% load cache %}
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
|
|
||||||
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{# 6 month cache #}
|
{# 6 month cache #}
|
||||||
{% cache 15552000 titleby book.id %}
|
{% cache 15552000 titleby LANGUAGE_CODE book.id %}
|
||||||
|
|
||||||
{% if book.authors.exists %}
|
{% if book.authors.exists %}
|
||||||
{% blocktrans trimmed with path=book.local_path title=book|book_title %}
|
{% blocktrans trimmed with path=book.local_path title=book|book_title %}
|
||||||
|
|
Loading…
Reference in a new issue