summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/web.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-08-12 12:19:33 -0700
committerBryan Newbold <bnewbold@archive.org>2022-08-12 12:19:33 -0700
commitcc8a89d9d4a529af3eb87d50ed2ff36051e674f3 (patch)
treec5204e46997d5ac9e963b6ae5771dbe9f9651269 /fatcat_scholar/web.py
parentc9e78dd607bcfdd0bac5741b7e2d5fcf458d7341 (diff)
downloadfatcat-scholar-cc8a89d9d4a529af3eb87d50ed2ff36051e674f3.tar.gz
fatcat-scholar-cc8a89d9d4a529af3eb87d50ed2ff36051e674f3.zip
start moving I18N language options to config file
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r--fatcat_scholar/web.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 1e04400..73088d6 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -45,26 +45,6 @@ from fatcat_scholar.search import (
logger = logging.getLogger()
-I18N_LANG_TRANSLATIONS = [
- "ar",
- "de",
- "el",
- "es",
- "fa",
- "fr",
- "hr",
- "it",
- "ko",
- "nb",
- "nl",
- "pt",
- "ru",
- "zh",
-]
-I18N_LANG_OPTIONS = I18N_LANG_TRANSLATIONS + [
- settings.I18N_LANG_DEFAULT,
-]
-
class LangPrefix:
"""