translate all read statuses
This fixes #1566 - "Already translated strings sometimes show up untranslated in UI" - add generatednote status header template - include the relevant template (to-read/reading/read) based on the status.content - remove GeneratedNote block from note status header template This is probably not the most correct way of resolving the problem, but it's simple and it works.
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
{% if status.content == 'wants to read' %}
|
||||
{% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %}
|
||||
{% endif %}
|
||||
|
||||
{% if status.content == 'finished reading' %}
|
||||
{% include 'snippets/status/headers/read.html' with book=status.mention_books.first %}
|
||||
{% endif %}
|
||||
|
||||
{% if status.content == 'started reading' %}
|
||||
{% include 'snippets/status/headers/reading.html' with book=status.mention_books.first %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user