Commit a42ce378 authored by JC Brand's avatar JC Brand

Fall back to using python as xgettext language

if javascript is not supported. Fixes #573
parent cbdda26a
......@@ -62,9 +62,11 @@ serve: stamp-npm
########################################################################
## Translation machinery
GETTEXT = xgettext --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot converse.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=0.10.1 -c
.PHONY: pot
pot:
xgettext --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot converse.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=0.10.1 -c --language="javascript";
$(GETTEXT) --language="javascript" 2>&1 > /dev/null; test $$? -eq 0 && exit 0 || $(GETTEXT) --language="python" && exit $$?;
.PHONY: po
po:
......
# Changelog
## 0.10.2 (Unreleased)
- #573 xgettext build error: `'javascript' unknown`
## 0.10.1 (2016-02-06)
- #352 When the user has manually scrolled up in a chat window, don't scroll
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment