added IGNORE_BAD_LOCALISATION flag (nw)

This commit is contained in:
Miodrag Milanovic 2016-03-02 08:21:13 +01:00
parent 8682052f71
commit e74b578c67

View File

@ -97,6 +97,7 @@
# MSBUILD = 1
# USE_LIBUV = 1
# IGNORE_BAD_LOCALISATION=1
ifdef PREFIX_MAKEFILE
include $(PREFIX_MAKEFILE)
@ -1365,8 +1366,11 @@ endif
%.mo: %.po
@echo Converting translation $<...
ifdef IGNORE_BAD_LOCALISATION
$(SILENT)$(PYTHON) scripts/build/msgfmt.py --output-file $@ $< || exit 0
else
$(SILENT)$(PYTHON) scripts/build/msgfmt.py --output-file $@ $<
endif
#-------------------------------------------------
# Regression tests
#-------------------------------------------------