From d11d0cd07ba53e7a4bd8402d6120f232ddc13a1f Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Tue, 28 Jan 2020 10:24:41 -0300 Subject: [PATCH] Makefile: powrap on pull --- Makefile | 7 ++++--- requirements.txt | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 42872c179..bf04a459d 100644 --- a/Makefile +++ b/Makefile @@ -80,12 +80,13 @@ push: fi -# pull: Download translations files from Transifex. For downloading new -# translation files, first run "tx-config" target to update the -# translation file mapping. +# pull: Download translations files from Transifex, and apply line wrapping. +# For downloading new translation files, first run "tx-config" target +# to update the translation file mapping. .PHONY: pull pull: venv $(VENV)/bin/tx pull --force --language=$(LANGUAGE) --parallel + $(VENV)/bin/powrap --quiet *.po **/*.po # tx-config: After running "pot", create a new Transifex config file by diff --git a/requirements.txt b/requirements.txt index 863cfbf49..f04463587 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ transifex-client sphinx-intl +powrap