Skip to content

Commit 0fdbd05

Browse files
Samk13tmorrell
authored andcommitted
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 one will fix that.
1 parent 43cac21 commit 0fdbd05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

babel.ini

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# Copyright (C) 2019 CERN.
44
# Copyright (C) 2019 Northwestern University.
5+
# Copyright (C) 2024 KTH Royal Institute of Technology.
56
#
67
# Invenio-RDM-Records is free software; you can redistribute it and/or modify it
78
# under the terms of the MIT License; see LICENSE file for more details.
@@ -16,6 +17,9 @@ encoding = utf-8
1617
[jinja2: **/templates/**.html]
1718
encoding = utf-8
1819

20+
[jinja2: **/templates/**.jinja]
21+
encoding = utf-8
22+
1923
# Extraction from JavaScript files
2024

2125
[javascript: **.js]

0 commit comments

Comments
 (0)