mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
extract comments for translators
Comments must be prefixed with "I18N:"
This commit is contained in:
parent
4fcce0ecb2
commit
2610b630a9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -71,7 +71,7 @@ build-translations: ## Build the translations
|
||||||
|
|
||||||
.PHONY: update-translations
|
.PHONY: update-translations
|
||||||
update-translations: ## Extract new translations from source code
|
update-translations: ## Extract new translations from source code
|
||||||
$(VENV)/bin/pybabel extract --strip-comments --omit-header --no-location --mapping-file ihatemoney/babel.cfg -o ihatemoney/messages.pot ihatemoney
|
$(VENV)/bin/pybabel extract --add-comments "I18N:" --strip-comments --omit-header --no-location --mapping-file ihatemoney/babel.cfg -o ihatemoney/messages.pot ihatemoney
|
||||||
$(VENV)/bin/pybabel update -i ihatemoney/messages.pot -d ihatemoney/translations/
|
$(VENV)/bin/pybabel update -i ihatemoney/messages.pot -d ihatemoney/translations/
|
||||||
|
|
||||||
.PHONY: create-database-revision
|
.PHONY: create-database-revision
|
||||||
|
|
Loading…
Reference in a new issue