summaryrefslogtreecommitdiff
path: root/lib/inx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inx')
-rw-r--r--lib/inx/utils.py6
1 files changed, 0 insertions, 6 deletions
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())