Skip to content

Commit

Permalink
quickfix: localization: ensure placeholder text also marked as locali…
Browse files Browse the repository at this point in the history
…zed, fixes #685
  • Loading branch information
ikreymer committed Dec 23, 2021
1 parent c97a667 commit 0c4e406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywb/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4 class="display-4">
{% trans %}Search the {{ coll_title }} collection by url:{% endtrans %}
</label>
<input aria-label="url" aria-required="true" class="form-control form-control-lg" id="search-url"
name="search" placeholder="Enter a URL to search for"
name="search" placeholder="{{ _('Enter a URL to search for') }}"
title="{{ _('Enter a URL to search for') }}" type="search" required/>
<div class="invalid-feedback">
{% trans %}'Please enter a URL{% endtrans %}
Expand Down

0 comments on commit 0c4e406

Please sign in to comment.