From 98f2f7e24abb28f352c6afceb50f53c3b71ee78a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 5 Oct 2020 13:22:48 -0700 Subject: web: mark more strings for translation --- fatcat_scholar/templates/search.html | 4 ++-- fatcat_scholar/templates/search_macros.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index 6d90e91..21d209f 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -76,8 +76,8 @@ {% endif %}

Computer said: {{ search_error.message }} -

Query parsing is currently very naive. Sometimes you can fix this - problem by adding quotes around terms or entire phrases. +

{% trans trimmed %}Query parsing is currently very naive. Sometimes you can fix this + problem by adding quotes around terms or entire phrases.{% endtrans %} {% elif hits and hits.results %} 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 %} {% else %} - « Previous + « {% trans %}Previous{% endtrans %} {% endif %} Showing results {{ hits.offset }} — {{ hits.offset + hits.limit }} out of {{ "{:,}".format(hits.count_found) }} results {% if hits.offset + hits.limit < hits.count_found %} {% endmacro %} -- cgit v1.2.3