From 31b73340b8ddf93b22e9c871f7d301f1d394a797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 16 Apr 2020 17:57:05 +0200 Subject: [PATCH] Add italian, use the right branch, fix get apps.po --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 24f7a6ac8b3e..780ef027e62e 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ export GIT_REMOTE_NAME # i18n -L10N_LANGUAGES = fr de +L10N_LANGUAGES = fr de it L10N_PO_FILES = \ $(addprefix .build/locale/,$(addsuffix /LC_MESSAGES/ngeo.po, $(L10N_LANGUAGES))) \ $(addprefix .build/locale/,$(addsuffix /LC_MESSAGES/gmf.po, $(L10N_LANGUAGES))) \ @@ -426,16 +426,15 @@ transifex-init: .build/python-venv.timestamp \ $(PY_VENV_BIN)/tx pull -l $* --force --mode=reviewed $(TOUCHBACK_TXRC) +.PRECIOUS: .build/locale/%/LC_MESSAGES/apps.po .build/locale/%/LC_MESSAGES/apps.po: contribs/gmf/apps/.tx/config $(HOME)/.transifexrc .build/python-venv.timestamp - cd contribs/gmf/apps/ - $(PY_VENV_BIN)/tx pull -l $* --force --mode=reviewed - cd . + (cd contribs/gmf/apps/; ../../../$(PY_VENV_BIN)/tx pull -l $* --force --mode=reviewed) $(TOUCHBACK_TXRC) .PRECIOUS: .build/locale/%/LC_MESSAGES/demo.po .build/locale/%/LC_MESSAGES/demo.po: mkdir -p $(dir $@) - wget -O $@ https://raw.githubusercontent.com/camptocamp/demo_geomapfish/2.4/geoportal/demo_geoportal/locale/$*/LC_MESSAGES/demo_geoportal-client.po + wget -O $@ https://raw.githubusercontent.com/camptocamp/demo_geomapfish/prod-2-5/geoportal/geomapfish_geoportal/locale/$*/LC_MESSAGES/geomapfish_geoportal-client.po contribs/gmf/build/gmf-%.json: \ .build/locale/%/LC_MESSAGES/ngeo.po \