mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-20 09:18:19 +00:00
Missing brackets and correct blocktrans usage
This commit is contained in:
parent
09d857e6fb
commit
1e14d635bc
|
@ -1,4 +1,7 @@
|
|||
{% blocktrans %}{{{obj.title}} by {{obj.author_text}}{% endblocktrans %}
|
||||
{% load i18n %}
|
||||
{% blocktrans trimmed with book_title=obj.title book_author=obj.author_text %}
|
||||
‘{{ book_title }}’ by {{ book_author }}
|
||||
{% endblocktrans %}
|
||||
{{obj.description|default:""}}
|
||||
{% if obj.description %}{% trans "ISBN13:" %} {{item.isbn_13|default: ""}}{% endif %}
|
||||
{% if obj.description %}{% trans "OCLC Number:" %} {{item.oclc_number|default: ""}}{% endif %}
|
||||
|
|
|
@ -233,5 +233,5 @@ class RssShelfFeed(Feed):
|
|||
"""description of the shelf including the shelf name and user."""
|
||||
# if there's a description, lets add it. Not everyone puts a description in.
|
||||
if desc := obj.description:
|
||||
return _(f"{obj.user.name}’s {obj.name} shelf: {desc}"
|
||||
return _(f"Books added to {obj.user.name}’s {obj.name} shelf"
|
||||
return _(f"{obj.user.name}’s {obj.name} shelf: {desc}")
|
||||
return _(f"Books added to {obj.user.name}’s {obj.name} shelf")
|
||||
|
|
Loading…
Reference in a new issue