aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-05-18 11:30:04 -0700
committerBryan Newbold <bnewbold@archive.org>2021-05-18 11:30:04 -0700
commit98479486b5c55865f1f67637387010e72fe2ddb0 (patch)
tree5c89446e6c27b14ceb74613f39f60fd306f8c357
parent2a85615f4193e91619a2985a79177b8307cf3eac (diff)
downloadfatcat-scholar-98479486b5c55865f1f67637387010e72fe2ddb0.tar.gz
fatcat-scholar-98479486b5c55865f1f67637387010e72fe2ddb0.zip
enable Greek (el) translation (still partial)
-rw-r--r--fatcat_scholar/templates/base.html1
-rw-r--r--fatcat_scholar/web.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 51af546..8167c86 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -88,6 +88,7 @@
<a role="menuitem" class="item" href="/en/">English</a>
<a role="menuitem" class="item" href="/ar/">عَرَبِيّ</a>
<a role="menuitem" class="item" href="/de/">Deutsch</a>
+ <a role="menuitem" class="item" href="/el/">ελληνικά</a>
<a role="menuitem" class="item" href="/es/">Español</a>
<a role="menuitem" class="item" href="/fa/">فارسی</a>
<a role="menuitem" class="item" href="/fr/">Français</a>
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index f2ef331..e2ac81e 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -48,6 +48,7 @@ logger = logging.getLogger()
I18N_LANG_TRANSLATIONS = [
"ar",
"de",
+ "el",
"es",
"fa",
"fr",