Skip to content

Commit

Permalink
Merge pull request #5731 from camptocamp/l10n
Browse files Browse the repository at this point in the history
Add italian, use the right branch
  • Loading branch information
sbrunner authored Apr 17, 2020
2 parents 446d385 + 31b7334 commit ab899b0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))) \
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit ab899b0

Please sign in to comment.