From eabe736fc0379137d39baa303b0b695aa82439ad Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 12 Aug 2022 11:07:18 -0700 Subject: DEBUG: remove jinja2.i18n from SERP --- fatcat_scholar/templates/search.html | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'fatcat_scholar/templates/search.html') diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index 3adaf2f..2bccaaf 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -32,7 +32,7 @@
- {{ _("Filters") }} + {{ "Filters" }}
{{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} @@ -44,15 +44,9 @@ {% if hits %} {{ babel_numbers.format_decimal(hits.count_found, locale=locale) }} - {% trans trimmed count=hits.count_found %} Hit - {% pluralize %} Hits - {% endtrans %} - {% trans trimmed frac_sec=format_query_time(hits.query_time_ms) %} - in {{ frac_sec }}sec - {% endtrans %} {% else %}   @@ -74,17 +68,9 @@ {{ babel_numbers.format_decimal(hits.count_found, locale=locale) }} - {% trans trimmed count=hits.count_found %} - Hit - {% pluralize %} - Hits - {% endtrans %}
- {% trans trimmed frac_sec=format_query_time(hits.query_time_ms) %} - in {{ frac_sec }}sec - {% endtrans %}
@@ -106,15 +92,8 @@
- {% if search_error.type == "backend" %} - {% trans %}Backend Search Engine Error{% endtrans %} - {% elif search_error.type == "query" %} - {% trans %}Search Query Error{% endtrans %} - {% endif %}

Computer said: {{ search_error.message }} -

{% 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 %} @@ -145,25 +124,21 @@
- {% trans %}We didn't find any documents matching your query{% endtrans %}
{% if query.filter_type != "everything" %} {% endif %} {% if query.filter_time and query.filter_time != "all_time" %} {% endif %} {% if query.filter_availability != "everything" %} {% endif %} - {{ _("Start Over") }} + {{ "Start Over" }}
Try archive.org @@ -176,7 +151,6 @@
- {% trans %}Enter a query in the box above to get started{% endtrans %}
{% endif %} -- cgit v1.2.3