change file extension to html.j2 for templates
This commit is contained in:
@@ -10,7 +10,7 @@ APP=.
|
|||||||
SRC=$(APP)/src
|
SRC=$(APP)/src
|
||||||
# Folders for Babel translation
|
# Folders for Babel translation
|
||||||
BABEL_INPUT_JINJA=$(SRC)/web/templates
|
BABEL_INPUT_JINJA=$(SRC)/web/templates
|
||||||
BABEL_INPUT= $(foreach dir,$(BABEL_INPUT_JINJA),$(wildcard $(dir)/*.html)) \
|
BABEL_INPUT= $(foreach dir,$(BABEL_INPUT_JINJA),$(wildcard $(dir)/*.html.j2)) \
|
||||||
|
|
||||||
BABEL_TRANSLATIONS=$(APP)/translations
|
BABEL_TRANSLATIONS=$(APP)/translations
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
[python: **.py]
|
[python: **.py]
|
||||||
[jinja2: web/templates/**.html]
|
[jinja2: web/templates/**.html]
|
||||||
|
[jinja2: web/templates/**.html.j2]
|
||||||
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: tsun-gen3-proxy 0.14.0\n"
|
"Project-Id-Version: tsun-gen3-proxy 0.14.0\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2025-04-18 20:46+0200\n"
|
"POT-Creation-Date: 2025-04-20 00:01+0200\n"
|
||||||
"PO-Revision-Date: 2025-04-18 16:24+0200\n"
|
"PO-Revision-Date: 2025-04-18 16:24+0200\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.17.0\n"
|
"Generated-By: Babel 2.17.0\n"
|
||||||
|
|
||||||
#: src/web/templates/index.html:5
|
#: src/web/templates/index.html.j2:5
|
||||||
msgid "My Dashboard"
|
msgid "My Dashboard"
|
||||||
msgstr "Mein Dashboard"
|
msgstr "Mein Dashboard"
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ SRC_FILES := $(wildcard $(SRC_PROXY)/*.py)\
|
|||||||
$(wildcard $(SRC_PROXY)/gen3/*.py)\
|
$(wildcard $(SRC_PROXY)/gen3/*.py)\
|
||||||
$(wildcard $(SRC_PROXY)/gen3plus/*.py)\
|
$(wildcard $(SRC_PROXY)/gen3plus/*.py)\
|
||||||
$(wildcard $(SRC_PROXY)/web/*.py)\
|
$(wildcard $(SRC_PROXY)/web/*.py)\
|
||||||
$(wildcard $(SRC_PROXY)/web/templates/*.html)\
|
$(wildcard $(SRC_PROXY)/web/templates/*.html.j2)\
|
||||||
$(wildcard $(SRC_PROXY)/web/static/css/*.css)\
|
$(wildcard $(SRC_PROXY)/web/static/css/*.css)\
|
||||||
$(wildcard $(SRC_PROXY)/web/static/font/*)\
|
$(wildcard $(SRC_PROXY)/web/static/font/*)\
|
||||||
$(wildcard $(SRC_PROXY)/web/static/font-awesome/*/*)\
|
$(wildcard $(SRC_PROXY)/web/static/font-awesome/*/*)\
|
||||||
|
|||||||
Reference in New Issue
Block a user