Remove whitespaces from extracted HTML tags

This commit is contained in:
Chocobozzz 2019-12-10 17:29:38 +01:00
parent af8336c82c
commit a40a85b37b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ $(TEMPLATE_POT): $(GETTEXT_SOURCES)
# => `mkdir -p /tmp/`
mkdir -p $(dir $@)
# Extract gettext strings from templates files and create a POT dictionary template.
gettext-extract --quiet --attribute v-translate --output $@ $(GETTEXT_SOURCES)
gettext-extract --removeHTMLWhitespaces --quiet --attribute v-translate --output $@ $(GETTEXT_SOURCES)
# Generate .po files for each available language.
@for lang in $(LOCALES); do \
export PO_FILE=$(OUTPUT_DIR)/locale/$$lang/LC_MESSAGES/app.po; \