diff options
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 8d2567e..3f2826f 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -297,17 +297,17 @@ {% macro search_pagination(hits, top) %} {% if hits.offset > 0 %} <button class="text-button" form="search_form" type="submit" name="offset" value="{{ hits.offset - hits.limit }}" style="margin-right: 2em;"> - <a>« Previous</a> + <a>« {% trans %}Previous{% endtrans %}</a> </button> {% else %} - <span style="color:gray; margin-right: 2em;">« Previous</span> + <span style="color:gray; margin-right: 2em;">« {% trans %}Previous{% endtrans %}</span> {% endif %} <i>Showing results {{ hits.offset }} — {{ hits.offset + hits.limit }} out of {{ "{:,}".format(hits.count_found) }} results</i> {% if hits.offset + hits.limit < hits.count_found %} <button class="text-button" form="search_form" type="submit" name="offset" value="{{ hits.offset + hits.limit }}" style="margin-left: 2em;"> - <a>Next »</a> + <a>{% trans %}Next{% endtrans %} »</a> {% else %} - <span style="color:gray; margin-left: 2em;">Next »</span> + <span style="color:gray; margin-left: 2em;">{% trans %}Next{% endtrans %} »</span> {% endif %} </button> {% endmacro %} |