From d79309e498cdc1358c81367ce2a93a5731e517d1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Feb 2024 02:41:40 +0300 Subject: web_kbn: use i18n in j2 templates --- bin/web_kbn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/web_kbn.py b/bin/web_kbn.py index 9a99ab3..bf17046 100644 --- a/bin/web_kbn.py +++ b/bin/web_kbn.py @@ -190,7 +190,7 @@ class WebSite(http.HTTPServer): ) env = aiohttp_jinja2.get_env(self.app) - def filter_lang(key, unit): + def filter_lang(key, unit='web_kbn'): strings = Translation(unit) return strings.get()[key] -- cgit v1.2.3