diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-18 02:41:40 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-18 02:41:40 +0300 |
commit | d79309e498cdc1358c81367ce2a93a5731e517d1 (patch) | |
tree | 675f200a986dfacd7d80787aa08570ef418ffa0a /bin | |
parent | 688add1242be632837aad63832ebf7605f424079 (diff) |
web_kbn: use i18n in j2 templates
Diffstat (limited to 'bin')
-rw-r--r-- | bin/web_kbn.py | 2 |
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] |