Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix edition description wording #10215

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions openlibrary/i18n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6569,6 +6569,13 @@ msgstr ""
msgid "First published in %s"
msgstr ""

#: type/edition/view.html type/work/view.html
#, python-format
msgid ""
"This work doesn't have a description yet. Can you <b><a "
"href='%(url)s'>add one</a></b>?"
msgstr ""

#: type/edition/view.html type/work/view.html
#, python-format
msgid ""
Expand Down
5 changes: 4 additions & 1 deletion openlibrary/templates/type/edition/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@
<div class="book-description">
<div class="book-description-content">
<p class="workHelp">
$:_("This edition doesn't have a description yet. Can you <b><a href='%(url)s'>add one</a></b>?", url=edition.url('/edit')+"#about/about")
$if page_type=="works":
$:_("This work doesn't have a description yet. Can you <b><a href='%(url)s'>add one</a></b>?", url=edition.url('/edit')+"#about/about")
$else:
$:_("This edition doesn't have a description yet. Can you <b><a href='%(url)s'>add one</a></b>?", url=edition.url('/edit')+"#edition/description")
</p>
</div>
</div>
Expand Down
Loading