forked from nutomic/joinpeertube
Remove whitespaces from extracted HTML tags
This commit is contained in:
parent
af8336c82c
commit
a40a85b37b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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; \
|
||||||
|
|
Loading…
Reference in a new issue