Fall back to using python as xgettext language
if javascript is not supported. Fixes #573
This commit is contained in:
parent
cbdda26a19
commit
a42ce378a1
4
Makefile
4
Makefile
@ -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:
|
||||
|
@ -1,5 +1,9 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user