aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-21 17:54:59 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-21 17:55:21 -0700
commit3ba3839ecd7924dc2f25295754d7a257c2542b23 (patch)
treed7246c44d8cf192da65eb9a14a2006bbed66feee /fatcat_scholar/templates/search.html
parentd12d03bd241d93ffc624747f9f60fdf7fbe18f14 (diff)
downloadfatcat-scholar-3ba3839ecd7924dc2f25295754d7a257c2542b23.tar.gz
fatcat-scholar-3ba3839ecd7924dc2f25295754d7a257c2542b23.zip
better translation marking; add some basic de and zh
Current translations are just from Google Translate
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r--fatcat_scholar/templates/search.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html
index 8d9fb7d..02e169b 100644
--- a/fatcat_scholar/templates/search.html
+++ b/fatcat_scholar/templates/search.html
@@ -5,7 +5,7 @@
<div class="tablet-only" style="margin-top: 1.0em;">
<details class="search_filters">
- <summary style="float: right;"><i class="filter icon"></i>Filters</summary>
+ <summary style="float: right;"><i class="filter icon"></i>{{ _("Filters") }}</summary>
<p>
{{ search_macros.query_option(query.time_options, query.filter_time) }}
{{ search_macros.query_option(query.type_options, query.filter_type) }}
@@ -55,9 +55,9 @@
<div class="content">
<div class="header">
{% if search_error.type == "backend" %}
- Backend Search Engine Error
+ {% trans %}Backend Search Engine Error{% endtrans %}
{% elif search_error.type == "query" %}
- Query Error
+ {% trans %}Search Query Error{% endtrans %}
{% endif %}
</div>
<p>Computer said: <code>{{ search_error.message }}</code>
@@ -75,7 +75,7 @@
<div class="ui placeholder segment" style="height: 100%;">
<div class="ui icon header">
<i class="search icon"></i>
- We didn't find any documents matching your query
+ {% trans %}We didn't find any documents matching your query{% endtrans %}
</div>
<div class="inline">
<a href="https://archive.org/search.php?sin=TXT&query={{ query.q|urlencode }}" class="ui button" style="margin: 0.5em;">Try archive.org</a>
@@ -88,7 +88,7 @@
<div class="ui placeholder segment" style="height: 100%;">
<div class="ui icon header">
<i class="search icon"></i>
- Enter a query in the box above to get started
+ {% trans %}Enter a query in the box above to get started{% endtrans %}
</div>
</div>
{% endif %}