aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/search.py42
-rw-r--r--fatcat_scholar/templates/base.html20
-rw-r--r--fatcat_scholar/templates/home.html6
-rw-r--r--fatcat_scholar/templates/search.html10
-rw-r--r--fatcat_scholar/templates/search_macros.html10
-rw-r--r--fatcat_scholar/translations/de/LC_MESSAGES/messages.mobin635 -> 2512 bytes
-rw-r--r--fatcat_scholar/translations/de/LC_MESSAGES/messages.po173
-rw-r--r--fatcat_scholar/translations/zh/LC_MESSAGES/messages.mobin621 -> 2298 bytes
-rw-r--r--fatcat_scholar/translations/zh/LC_MESSAGES/messages.po165
9 files changed, 371 insertions, 55 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 080266a..6842e65 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -5,6 +5,7 @@ Helpers to make elasticsearch queries.
import sys
import json
+from gettext import gettext
import datetime
import elasticsearch
from pydantic import BaseModel
@@ -13,6 +14,8 @@ from dataclasses import dataclass
from elasticsearch_dsl import Search, Q
from typing import List, Dict, Tuple, Optional, Any, Sequence
+# i18n note: the use of gettext below doesn't actually do the translation here,
+# it just ensures that the strings are caught by babel for translation later
class FulltextQuery(BaseModel):
q: Optional[str] = None
@@ -23,49 +26,50 @@ class FulltextQuery(BaseModel):
filter_availability: Optional[str] = None
sort_order: Optional[str] = None
time_options: Any = {
- "label": "Release Date",
+ "label": gettext("Release Date"),
"slug": "filter_time",
"default": "all_time",
"list": [
- {"label": "All Time", "slug": "all_time"},
- {"label": "Past Week", "slug": "past_week"},
- {"label": "Past Year", "slug": "past_year"},
- {"label": "Since 2000", "slug": "since_2000"},
- {"label": "Before 1925", "slug": "before_1925"},
+ {"label": gettext("All Time"), "slug": "all_time"},
+ {"label": gettext("Past Week"), "slug": "past_week"},
+ {"label": gettext("Past Year"), "slug": "past_year"},
+ {"label": gettext("Since 2000"), "slug": "since_2000"},
+ {"label": gettext("Before 1925"), "slug": "before_1925"},
],
}
type_options: Any = {
- "label": "Resource Type",
+ "label": gettext("Resource Type"),
"slug": "filter_type",
"default": "papers",
"list": [
- {"label": "Papers", "slug": "papers"},
- {"label": "Reports", "slug": "reports"},
- {"label": "Datasets", "slug": "datasets"},
- {"label": "Everything", "slug": "everything"},
+ {"label": gettext("Papers"), "slug": "papers"},
+ {"label": gettext("Reports"), "slug": "reports"},
+ {"label": gettext("Datasets"), "slug": "datasets"},
+ {"label": gettext("Everything"), "slug": "everything"},
],
}
availability_options: Any = {
- "label": "Availability",
+ "label": gettext("Availability"),
"slug": "filter_availability",
"default": "everything",
"list": [
- {"label": "Everything", "slug": "everything"},
- {"label": "Fulltext", "slug": "fulltext"},
- {"label": "Open Access", "slug": "oa"},
+ {"label": gettext("Everything"), "slug": "everything"},
+ {"label": gettext("Fulltext"), "slug": "fulltext"},
+ {"label": gettext("Open Access"), "slug": "oa"},
],
}
sort_options: Any = {
- "label": "Sort Order",
+ "label": gettext("Sort Order"),
"slug": "sort_order",
"default": "relevancy",
"list": [
- {"label": "All Time", "slug": "relevancy"},
- {"label": "Recent First", "slug": "time_desc"},
- {"label": "Oldest First", "slug": "time_asc"},
+ {"label": gettext("All Time"), "slug": "relevancy"},
+ {"label": gettext("Recent First"), "slug": "time_desc"},
+ {"label": gettext("Oldest First"), "slug": "time_asc"},
],
}
+
class FulltextHits(BaseModel):
count_returned: int
count_found: int
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 9c7aba8..b530c26 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -167,7 +167,7 @@
<div style="display: flex; width: 100%; justify-content: space-between; padding-top: 0.5em;">
<div></div>
<div>
- <a href="#" style="order: -1;">User Guide</a>
+ <a href="#" style="order: -1;">{{ _("User Guide") }}</a>
</div>
</div>
</div>
@@ -192,12 +192,14 @@
<div class="one wide column computer only"></div>
<div class="thirteen wide eleven wide computer column">
<h3>Internet Archive</h3>
- <p style="color: rgba(255, 255, 255, 0.5);">We are a 501(c)(3) non-profit, building a digital library of Internet sites and other cultural artifacts in digital form. Other projects include the <a href="https://web.archive.org">Wayback Machine</a>, <a href="https://archive.org">archive.org</a> <a href="https://openlibrary.org">openlibrary.org</a> and <a href="https://archive-it.org">archive-it.org</a>
+ <p style="color: rgba(255, 255, 255, 0.5);">
+ {% trans trimmed %}We are a 501(c)(3) non-profit, building a digital library of Internet sites and other cultural artifacts in digital form.{% endtrans %}
+ Other projects include <a href="https://web.archive.org">The Wayback Machine</a>, <a href="https://archive.org">archive.org</a> <a href="https://openlibrary.org">openlibrary.org</a> and <a href="https://archive-it.org">archive-it.org</a>
<div class="ui horizontal inverted link list">
- <a class="item" href="https://archive.org/about/">About Us</a>
- <a class="item" href="https://archive.org/about/contact.php">Contact Us</a>
- <a class="item" href="https://archive.org/about/terms.php">Policies</a>
- <a class="item" href="https://archive.org/donate">Donate</a>
+ <a class="item" href="https://archive.org/about/">{{ _("About Us") }}</a>
+ <a class="item" href="https://archive.org/about/contact.php">{{ _("Contact Us") }}</a>
+ <a class="item" href="https://archive.org/about/terms.php">{{ _("Policies") }}</a>
+ <a class="item" href="https://archive.org/donate">{{ _("Donate") }}</a>
</div>
</div>
</div>
@@ -210,7 +212,7 @@
<a href="#" class="item">Text and Data Mining</a>
<a href="#" class="item">Discussion Forum</a>
<a href="#" class="item">Statistics</a>
- <a href="#" class="item">Help</a>
+ <a href="/help" class="item">{{ _("Help") }}</a>
</div>
</div>
<div class="three wide column">
@@ -219,8 +221,8 @@
<a href="https://fatcat.wiki" class="item">Editable Catalog (Fatcat)</a>
<a href="https://guide.fatcat.wiki" class="item">Contribute</a>
<a href="/api/redoc" class="item">Search API</a>
- <a href="https://status.fatcat.wiki" class="item">Service Status</a>
- <a href="https://github.com/internetarchive/fatcat-scholar" class="item">Source Code</a>
+ <a href="https://status.fatcat.wiki" class="item">{{ _("Service Status") }}</a>
+ <a href="https://github.com/internetarchive/fatcat-scholar" class="item">{{ _("Source Code") }}</a>
</div>
</div>
</div>
diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html
index c6d9119..875c055 100644
--- a/fatcat_scholar/templates/home.html
+++ b/fatcat_scholar/templates/home.html
@@ -7,7 +7,7 @@
<div class="ui centered grid">
<div class="ui sixteen wide mobile twelve wide computer column">
<div style="width: 100%; text-align: center;">
- <h1>Search Inside Millions of Research Papers</h1>
+ <h1>{% trans %}Search Inside Millions of Research Papers{% endtrans %}</h1>
<br>
<form class="" id="fulltext_query" action="{{ lang_prefix }}/search") }}" method="get" role="search" aria-label="papers" itemprop="potentialAction" itemscope itemtype="https://schema.org/SearchAction">
<meta itemprop="target" content="https://{{ settings.SCHOLAR_DOMAIN }}/fulltext/search?q={q}"/>
@@ -21,8 +21,8 @@
</div>
<br>
<br>
- <p style="font-size: 1.1rem;">This fulltext search index includes over 25 million research articles and other documents preserved in the Internet Archive.
- <p style="font-size: 1.1rem;">The collection spans from digitized copies of eighteenth century journals though the latest Open Access conference proceedings and pre-prints crawled from the World Wide Web.
+ <p style="font-size: 1.1rem;">{% trans %}This fulltext search index includes over 25 million research articles and other documents preserved in the Internet Archive.{% endtrans %}
+ <p style="font-size: 1.1rem;">{% trans %}The collection spans from digitized copies of eighteenth century journals though the latest Open Access conference proceedings and pre-prints crawled from the World Wide Web.{% endtrans %}
</div>
</div>
</div>
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 %}
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index b1ccc69..ec5a73c 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -33,7 +33,7 @@
{% elif paper.biblio.release_type in ("book", "chapter", "dataset") %}
[{{ _(paper.biblio.release_type) }}]
{% elif not paper.biblio.release_type %}
- <span style="color: red;">[media?]</span>
+ <span style="color: red;">[{{ _("media?") }}]</span>
{% else %}
[{{ _(paper.biblio.release_type) }}]
{% endif %}
@@ -89,7 +89,7 @@
{% elif paper.biblio.release_stage and paper.biblio.release_stage != "published" %}
<b style="color: red;"><code>[{{ paper.biblio.release_stage }}]</code></b>
{% elif not paper.biblio.release_stage %}
- <b style="color: red;"><code>[unpublished?]</code></b>
+ <b style="color: red;"><code>[{{ _("unpublished?") }}]</code></b>
{% endif %}
{# ### ABSTRACT / QUERY HIGHLIGHT #}
@@ -132,7 +132,7 @@
<div style="margin-top: 0.2em;">
{# colors to use: olive, brown, grey, pink, red, etc #}
{% for tag in paper.tags %}
- <span class="ui label small">{{ tag }}</span>
+ <span class="ui label small">{{ _(tag) }}</span>
{% endfor %}
{# TODO: remove doc for ES 7.x-style lack of type #}
<a href="{{ settings.ELASTICSEARCH_BACKEND }}/_doc/{{ settings.ELASTICSEARCH_FULLTEXT_INDEX }}/{{ paper.key }}">
@@ -176,7 +176,7 @@
{% endmacro %}
{% macro query_option(options, selected) -%}
-<span style="color: rgba(0,0,0,0.4);">{{ options.label }}</span>
+<span style="color: rgba(0,0,0,0.4);">{{ _(options.label) }}</span>
<div class="ui link list" style="margin-top: 0.3em;">
{% if selected %}
<input form="search_form" type="hidden" name="{{ options.slug }}" value="{{ selected }}">
@@ -188,7 +188,7 @@
{% else %}
<span>
{% endif %}
- {{ opt.label }}
+ {{ _(opt.label) }}
</span>
</button>
<br>
diff --git a/fatcat_scholar/translations/de/LC_MESSAGES/messages.mo b/fatcat_scholar/translations/de/LC_MESSAGES/messages.mo
index 8abbad1..0488863 100644
--- a/fatcat_scholar/translations/de/LC_MESSAGES/messages.mo
+++ b/fatcat_scholar/translations/de/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/fatcat_scholar/translations/de/LC_MESSAGES/messages.po b/fatcat_scholar/translations/de/LC_MESSAGES/messages.po
index 6356808..dd18bd4 100644
--- a/fatcat_scholar/translations/de/LC_MESSAGES/messages.po
+++ b/fatcat_scholar/translations/de/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-05-12 14:16-0700\n"
+"POT-Creation-Date: 2020-05-21 17:53-0700\n"
"PO-Revision-Date: 2020-05-12 13:45-0700\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
@@ -16,13 +16,172 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 2.6.0\n"
+"Generated-By: Babel 2.8.0\n"
-#: fatcat_scholar/templates/home.html:8
-msgid "This is a longer paragraph, all of which should be translated."
-msgstr "Dies ist ein längerer Absatz, der alle übersetzt werden sollte"
+#: fatcat_scholar/search.py:29
+msgid "Release Date"
+msgstr "Veröffentlichungsdatum"
+
+#: fatcat_scholar/search.py:33 fatcat_scholar/search.py:66
+msgid "All Time"
+msgstr "alle Zeit"
+
+#: fatcat_scholar/search.py:34
+msgid "Past Week"
+msgstr "letzte Woche"
+
+#: fatcat_scholar/search.py:35
+msgid "Past Year"
+msgstr "vergangenes Jahr"
+
+#: fatcat_scholar/search.py:36
+msgid "Since 2000"
+msgstr "Seit 2000"
+
+#: fatcat_scholar/search.py:37
+msgid "Before 1925"
+msgstr "Vor 1925"
+
+#: fatcat_scholar/search.py:41
+msgid "Resource Type"
+msgstr "Ressourcentyp"
+
+#: fatcat_scholar/search.py:45
+msgid "Papers"
+msgstr "Papiere"
+
+#: fatcat_scholar/search.py:46
+msgid "Reports"
+msgstr "Berichte"
+
+#: fatcat_scholar/search.py:47
+msgid "Datasets"
+msgstr "Datensätze"
+
+#: fatcat_scholar/search.py:48 fatcat_scholar/search.py:56
+msgid "Everything"
+msgstr "Alles"
+
+#: fatcat_scholar/search.py:52
+msgid "Availability"
+msgstr "Verfügbarkeit"
+
+#: fatcat_scholar/search.py:57
+msgid "Fulltext"
+msgstr "Voller Text"
+
+#: fatcat_scholar/search.py:58
+msgid "Open Access"
+msgstr "Offener Zugang"
+
+#: fatcat_scholar/search.py:62
+msgid "Sort Order"
+msgstr "Sortierreihenfolge"
+
+#: fatcat_scholar/search.py:67
+msgid "Recent First"
+msgstr "Neueste zuerst"
+
+#: fatcat_scholar/search.py:68
+msgid "Oldest First"
+msgstr "Die ältesten zu erst"
+
+#: fatcat_scholar/templates/base.html:160 fatcat_scholar/templates/home.html:16
+msgid "by title, authors, identifiers..."
+msgstr "by title, authors, identifiers..."
+
+#: fatcat_scholar/templates/base.html:161 fatcat_scholar/templates/home.html:17
+msgid "Search"
+msgstr "Suche"
+
+#: fatcat_scholar/templates/base.html:170
+msgid "User Guide"
+msgstr "Benutzerhandbuch"
+
+#: fatcat_scholar/templates/base.html:196
+msgid ""
+"We are a 501(c)(3) non-profit, building a digital library of Internet "
+"sites and other cultural artifacts in digital form."
+msgstr ""
+"Wir sind eine gemeinnützige Organisation gemäß 501 (c) (3), die eine "
+"digitale Bibliothek mit Internetseiten und anderen kulturellen Artefakten"
+" in digitaler Form aufbaut"
+
+#: fatcat_scholar/templates/base.html:199
+msgid "About Us"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:200
+msgid "Contact Us"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:201
+msgid "Policies"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:202
+msgid "Donate"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:215
+msgid "Help"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:224
+msgid "Service Status"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:225
+msgid "Source Code"
+msgstr ""
#: fatcat_scholar/templates/home.html:10
-msgid "this is a quick"
-msgstr "das ist schnell"
+msgid "Search Inside Millions of Research Papers"
+msgstr "Suche in Millionen von Forschungsarbeiten"
+
+#: fatcat_scholar/templates/home.html:24
+msgid ""
+"This fulltext search index includes over 25 million research articles and"
+" other documents preserved in the Internet Archive."
+msgstr ""
+"Dieser Volltextsuchindex enthält über 25 Millionen Forschungsartikel und "
+"andere Dokumente, die im Internetarchiv aufbewahrt werden."
+
+#: fatcat_scholar/templates/home.html:25
+msgid ""
+"The collection spans from digitized copies of eighteenth century journals"
+" though the latest Open Access conference proceedings and pre-prints "
+"crawled from the World Wide Web."
+msgstr ""
+"Die Sammlung umfasst digitalisierte Exemplare von Zeitschriften aus dem "
+"18. Jahrhundert, wobei die neuesten Open Access-Konferenzberichte und "
+"Vordrucke aus dem World Wide Web stammen"
+
+#: fatcat_scholar/templates/search.html:8
+msgid "Filters"
+msgstr "Suchfilter"
+
+#: fatcat_scholar/templates/search.html:58
+msgid "Backend Search Engine Error"
+msgstr ""
+
+#: fatcat_scholar/templates/search.html:60
+msgid "Search Query Error"
+msgstr ""
+
+#: fatcat_scholar/templates/search.html:78
+msgid "We didn't find any documents matching your query"
+msgstr "Wir haben keine Dokumente gefunden, die Ihrer Anfrage entsprechen"
+
+#: fatcat_scholar/templates/search.html:91
+msgid "Enter a query in the box above to get started"
+msgstr ""
+
+#: fatcat_scholar/templates/search_macros.html:36
+msgid "media?"
+msgstr ""
+
+#: fatcat_scholar/templates/search_macros.html:92
+msgid "unpublished?"
+msgstr ""
diff --git a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo
index 16166b3..7ce3f35 100644
--- a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo
+++ b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po
index 2ffaacf..c297b7d 100644
--- a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po
+++ b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-05-12 14:16-0700\n"
+"POT-Creation-Date: 2020-05-21 17:53-0700\n"
"PO-Revision-Date: 2020-05-12 13:45-0700\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh\n"
@@ -16,13 +16,164 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 2.6.0\n"
+"Generated-By: Babel 2.8.0\n"
-#: fatcat_scholar/templates/home.html:8
-msgid "This is a longer paragraph, all of which should be translated."
-msgstr "这是一个较长的段落,所有段落均应翻译"
+#: fatcat_scholar/search.py:29
+msgid "Release Date"
+msgstr "发布日期"
+
+#: fatcat_scholar/search.py:33 fatcat_scholar/search.py:66
+msgid "All Time"
+msgstr "整天"
+
+#: fatcat_scholar/search.py:34
+msgid "Past Week"
+msgstr "上周"
+
+#: fatcat_scholar/search.py:35
+msgid "Past Year"
+msgstr "过去一年"
+
+#: fatcat_scholar/search.py:36
+msgid "Since 2000"
+msgstr "自2000年以来"
+
+#: fatcat_scholar/search.py:37
+msgid "Before 1925"
+msgstr "1925年之前"
+
+#: fatcat_scholar/search.py:41
+msgid "Resource Type"
+msgstr "资源类型"
+
+#: fatcat_scholar/search.py:45
+msgid "Papers"
+msgstr "文件"
+
+#: fatcat_scholar/search.py:46
+msgid "Reports"
+msgstr "报告书"
+
+#: fatcat_scholar/search.py:47
+msgid "Datasets"
+msgstr "数据集"
+
+#: fatcat_scholar/search.py:48 fatcat_scholar/search.py:56
+msgid "Everything"
+msgstr "一切"
+
+#: fatcat_scholar/search.py:52
+msgid "Availability"
+msgstr "可用性"
+
+#: fatcat_scholar/search.py:57
+msgid "Fulltext"
+msgstr "全文"
+
+#: fatcat_scholar/search.py:58
+msgid "Open Access"
+msgstr "开放存取"
+
+#: fatcat_scholar/search.py:62
+msgid "Sort Order"
+msgstr "排序"
+
+#: fatcat_scholar/search.py:67
+msgid "Recent First"
+msgstr "最近第一"
+
+#: fatcat_scholar/search.py:68
+msgid "Oldest First"
+msgstr "最早的优先"
+
+#: fatcat_scholar/templates/base.html:160 fatcat_scholar/templates/home.html:16
+msgid "by title, authors, identifiers..."
+msgstr "按标题,作者,标识符..."
+
+#: fatcat_scholar/templates/base.html:161 fatcat_scholar/templates/home.html:17
+msgid "Search"
+msgstr "搜索"
+
+#: fatcat_scholar/templates/base.html:170
+msgid "User Guide"
+msgstr "用户指南"
+
+#: fatcat_scholar/templates/base.html:196
+msgid ""
+"We are a 501(c)(3) non-profit, building a digital library of Internet "
+"sites and other cultural artifacts in digital form."
+msgstr "我们是501(c)(3)非营利组织,以数字形式建立了互联网站点和其他文化人工制品的数字图书馆"
+
+#: fatcat_scholar/templates/base.html:199
+msgid "About Us"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:200
+msgid "Contact Us"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:201
+msgid "Policies"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:202
+msgid "Donate"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:215
+msgid "Help"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:224
+msgid "Service Status"
+msgstr ""
+
+#: fatcat_scholar/templates/base.html:225
+msgid "Source Code"
+msgstr ""
#: fatcat_scholar/templates/home.html:10
-msgid "this is a quick"
-msgstr "这是一个快速"
+msgid "Search Inside Millions of Research Papers"
+msgstr "搜索数以百万计的研究论文"
+
+#: fatcat_scholar/templates/home.html:24
+msgid ""
+"This fulltext search index includes over 25 million research articles and"
+" other documents preserved in the Internet Archive."
+msgstr "全文检索索引包括超过2500万篇研究文章和Internet档案中保存的其他文档"
+
+#: fatcat_scholar/templates/home.html:25
+msgid ""
+"The collection spans from digitized copies of eighteenth century journals"
+" though the latest Open Access conference proceedings and pre-prints "
+"crawled from the World Wide Web."
+msgstr "该馆藏涵盖了18世纪期刊的数字化副本,但最新的Open Access会议记录和预印本却是从万维网上抓取的。"
+
+#: fatcat_scholar/templates/search.html:8
+msgid "Filters"
+msgstr "搜索过滤器"
+
+#: fatcat_scholar/templates/search.html:58
+msgid "Backend Search Engine Error"
+msgstr ""
+
+#: fatcat_scholar/templates/search.html:60
+msgid "Search Query Error"
+msgstr ""
+
+#: fatcat_scholar/templates/search.html:78
+msgid "We didn't find any documents matching your query"
+msgstr "找不到符合您查询条件的文件"
+
+#: fatcat_scholar/templates/search.html:91
+msgid "Enter a query in the box above to get started"
+msgstr ""
+
+#: fatcat_scholar/templates/search_macros.html:36
+msgid "media?"
+msgstr ""
+
+#: fatcat_scholar/templates/search_macros.html:92
+msgid "unpublished?"
+msgstr ""