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

View file

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