mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Finishes fav status translation strings
This commit is contained in:
parent
f76d661e07
commit
fc375bbab4
1 changed files with 60 additions and 9 deletions
|
@ -16,23 +16,74 @@
|
|||
{% with related_status.local_path as related_path %}
|
||||
|
||||
{% if related_status.status_type == 'Review' %}
|
||||
{% blocktrans trimmed %}
|
||||
{% if other_user_count == 0 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> liked your <a href="{{ related_path }}">review of <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% elif other_user_count == 1 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a>
|
||||
and
|
||||
<a href="{{ second_user_link }}">{{ second_user }}</a>
|
||||
liked your <a href="{{ related_path }}">review of <em>{{ book_title }}</em></a>
|
||||
|
||||
{% endblocktrans %}
|
||||
|
||||
{% else %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> and {{ other_user_count }} others liked your <a href="{{ related_path }}">review of <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% endif %}
|
||||
{% elif related_status.status_type == 'Comment' %}
|
||||
{% blocktrans trimmed %}
|
||||
{% if other_user_count == 0 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> liked your <a href="{{ related_path }}">comment on <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% elif other_user_count == 1 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a>
|
||||
and
|
||||
<a href="{{ second_user_link }}">{{ second_user }}</a>
|
||||
liked your <a href="{{ related_path }}">comment on <em>{{ book_title }}</em></a>
|
||||
|
||||
{% endblocktrans %}
|
||||
{% elif related_status.status_type == 'Quotation' %}
|
||||
|
||||
{% else %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
|
||||
liked your <a href="{{ related_path }}">quote from <em>{{ book_title }}</em></a>
|
||||
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> and {{ other_user_count }} others liked your <a href="{{ related_path }}">comment on <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% endif %}
|
||||
{% elif related_status.status_type == 'Quotation' %}
|
||||
{% if other_user_count == 0 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> liked your <a href="{{ related_path }}">quote from <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% elif other_user_count == 1 %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a>
|
||||
and
|
||||
<a href="{{ second_user_link }}">{{ second_user }}</a>
|
||||
liked your <a href="{{ related_path }}">quote from <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% else %}
|
||||
|
||||
{% blocktrans trimmed %}
|
||||
<a href="{{ related_user_link }}">{{ related_user }}</a> and {{ other_user_count }} others liked your <a href="{{ related_path }}">quote from <em>{{ book_title }}</em></a>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
{% if other_user_count == 0 %}
|
||||
|
|
Loading…
Reference in a new issue