From 47576c541ff9fe90540130afcfddd9bd7ea47a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Wed, 22 Mar 2023 19:29:28 +0100 Subject: [PATCH] Fixed some jinja translation with {% trans %} blocks and new lines. --- canaille/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/canaille/__init__.py b/canaille/__init__.py index 0af10f43..fac778aa 100644 --- a/canaille/__init__.py +++ b/canaille/__init__.py @@ -92,6 +92,7 @@ def setup_logging(app): def setup_jinja(app): app.jinja_env.filters["len"] = len + app.jinja_env.policies["ext.i18n.trimmed"] = True def setup_themer(app):