No apparent need to use python as gettext langauage fallback

This commit is contained in:
JC Brand 2017-08-23 11:56:40 +02:00
parent 6c6b85347a
commit 6ba923223a
1 changed files with 2 additions and 2 deletions

View File

@ -61,11 +61,11 @@ serve_bg: dev
########################################################################
## Translation machinery
GETTEXT = xgettext --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot src/*.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=3.2.0-rc -c
GETTEXT = xgettext --language="JavaScript" --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot src/*.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=3.2.0-rc -c
.PHONY: pot
pot:
$(GETTEXT) --language="javascript" 2>&1 > /dev/null; test $$? -eq 0 && exit 0 || $(GETTEXT) --language="python" && exit $$?;
$(GETTEXT) 2>&1 > /dev/null; exit $$?;
.PHONY: po
po: