From 00a4be2a3a26b0179598ec2f31e4490563a53622 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Nov 2020 12:03:55 -0800 Subject: i18n: add web interface support for 'hr' (Croatian) Thanks to @milotype for starting this new translation on weblate! --- fatcat_scholar/templates/base.html | 1 + fatcat_scholar/web.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 5f2fa62..8ac8096 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -165,6 +165,7 @@ Deutsch Español Français + Hrvatski Norwegian Bokmål Русский 中文 diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py index 996d353..6e3524d 100644 --- a/fatcat_scholar/web.py +++ b/fatcat_scholar/web.py @@ -22,7 +22,7 @@ from fatcat_scholar.search import do_fulltext_search, FulltextQuery, FulltextHit logger = logging.getLogger() -I18N_LANG_TRANSLATIONS = ["de", "zh", "ru", "ar", "fr", "es", "nb"] +I18N_LANG_TRANSLATIONS = ["de", "zh", "ru", "ar", "fr", "es", "nb", "hr"] I18N_LANG_OPTIONS = I18N_LANG_TRANSLATIONS + [ settings.I18N_LANG_DEFAULT, ] -- cgit v1.2.3