Skip to content

Commit

Permalink
Don't get the .build/locale/ngeo.pot from Transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed May 16, 2022
1 parent 69715b1 commit a1dfb25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- run: |
sudo rm /etc/apt/sources.list.d/*.list
sudo apt update
sudo apt install g++-10 libgbm1 graphicsmagick fonts-liberation2
sudo apt install g++-10 libgbm1 graphicsmagick fonts-liberation2 gettext
- run: buildtools/set-version
- run: make .build/node_modules.timestamp
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,10 @@ transifex-init: .build/python-venv.timestamp \
$(PY_VENV_BIN)/tx pull --resource=ngeo.ngeo-$(TX_VERSION) --language=$* --force --mode=reviewed
$(TOUCHBACK_TXRC)

.build/locale/en/LC_MESSAGES/ngeo.po: .build/locale/ngeo.pot
mkdir -p $(dir $@)
msginit -i $< -o $@

locales/%/app.json: .tx/config $(HOME)/.transifexrc .build/python-venv.timestamp
mkdir -p $(dir $@)
$(PY_VENV_BIN)/tx pull --resource=ngeo.webcomponent-$(TX_VERSION) --language=$* --force --mode=reviewed
Expand Down

0 comments on commit a1dfb25

Please sign in to comment.