aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/base.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/base.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/base.html')
-rw-r--r--fatcat_scholar/templates/base.html20
1 files changed, 11 insertions, 9 deletions
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>