From 65b2376c076ab2d22a3e9ce27e811814625276f7 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 27 Sep 2021 15:18:54 +0200 Subject: no translations in inx (#1358) --- lib/inx/utils.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/inx/utils.py b/lib/inx/utils.py index 944c265c..acee88ad 100644 --- a/lib/inx/utils.py +++ b/lib/inx/utils.py @@ -9,15 +9,11 @@ from os.path import dirname from jinja2 import Environment, FileSystemLoader -from ..i18n import translation as default_translation - _top_path = dirname(dirname(dirname(os.path.realpath(__file__)))) inx_path = os.path.join(_top_path, "inx") template_path = os.path.join(_top_path, "templates") version_path = _top_path -current_translation = default_translation - def build_environment(): env = Environment( @@ -26,8 +22,6 @@ def build_environment(): extensions=['jinja2.ext.i18n'] ) - env.install_gettext_translations(current_translation) - with open(os.path.join(version_path, 'LICENSE'), 'r') as license: env.globals["inkstitch_license"] = "".join(license.readlines()) -- cgit v1.2.3