From a9421461a53ab8c29266e24304b49e7cc61efe03 Mon Sep 17 00:00:00 2001 From: Sam Arbid Date: Mon, 4 Nov 2024 12:21:36 +0100 Subject: [PATCH] i18n: include jinja file encoding in babel.ini * Currently when you run `python setup.py extract_messages` it will Not include *.jinja template files. This PR fix that. --- babel.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/babel.ini b/babel.ini index 46724a39..010cc107 100644 --- a/babel.ini +++ b/babel.ini @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # # Copyright (C) 2022 Graz University of Technology. +# Copyright (C) 2024 KTH Royal Institute of Technology. # # Invenio-Requests is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -14,3 +15,6 @@ encoding = utf-8 [jinja2: **/templates/**.html] encoding = utf-8 + +[jinja2: **/templates/**.jinja] +encoding = utf-8