1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Export JS translation files as static files

This commit is contained in:
Yohann D'ANELLO
2020-11-16 00:29:27 +01:00
parent 23243e09bb
commit b9d49d53f2
10 changed files with 156 additions and 15 deletions

View File

@ -39,7 +39,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<script src="{% static "js/konami.js" %}"></script>
{# Translation in javascript files #}
<script src="{% url "javascript-catalog" %}"></script>
<script src="{% static "js/jsi18n/jsi18n."|add:LANGUAGE_CODE|add:".js" %}"></script>
{# If extra ressources are needed for a form, load here #}
{% if form.media %}