Skip to content

Commit

Permalink
i18n: include jinja file encoding in babel.ini
Browse files Browse the repository at this point in the history
* Currently when you run `python setup.py extract_messages` it will Not include *.jinja template files.
This PR fix that.
  • Loading branch information
Samk13 authored and ntarocco committed Nov 15, 2024
1 parent 16192ab commit a942146
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions babel.ini
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -14,3 +15,6 @@ encoding = utf-8

[jinja2: **/templates/**.html]
encoding = utf-8

[jinja2: **/templates/**.jinja]
encoding = utf-8

0 comments on commit a942146

Please sign in to comment.