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] diff --git a/web/kbn_templates/base.j2 b/web/kbn_templates/base.j2 index e2e29e3..dc1fd58 100644 --- a/web/kbn_templates/base.j2 +++ b/web/kbn_templates/base.j2 @@ -1,7 +1,7 @@ {% macro breadcrumbs(history) %}