Skip to content

Commit

Permalink
updated to support i18n translations
Browse files Browse the repository at this point in the history
Co-authored-by: jimchamp <28732543+jimchamp@users.noreply.github.com>
  • Loading branch information
dwrik and jimchamp authored Jul 23, 2024
1 parent 93fa180 commit 98c72bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/templates/account/reading_log.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$if len(docs) > 0:
$if key in readlog_keys:
<form method="GET" class="olform pagesearchbox">
$:render_template("search/searchbox", q=query_param('q'), placeholder='Search your reading log')
$:render_template("search/searchbox", q=query_param('q'), placeholder=_('Search your reading log'))
</form>
$if q:
<span class="search-results-stats">$ungettext('%(count)s hit', '%(count)s hits', doc_count, count=commify(doc_count))</span>
Expand Down

0 comments on commit 98c72bb

Please sign in to comment.