summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-18 02:41:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-18 02:41:40 +0300
commitd79309e498cdc1358c81367ce2a93a5731e517d1 (patch)
tree675f200a986dfacd7d80787aa08570ef418ffa0a /bin
parent688add1242be632837aad63832ebf7605f424079 (diff)
web_kbn: use i18n in j2 templates
Diffstat (limited to 'bin')
-rw-r--r--bin/web_kbn.py2
1 files changed, 1 insertions, 1 deletions
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]