Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint-fix:
venv/bin/ruff --fix

format:
venv/bin/ruff format
venv/bin/ruff format

requirements.txt: deps-top.txt recreate-venv
venv/bin/pip install -r deps-top.txt
Expand All @@ -40,16 +40,16 @@ test_single:
venv/bin/pytest tests/api/test_file_api.py

test_logging:
#--capture=no
#--capture=no
venv/bin/pytest --capture=sys --log-cli-level=DEBUG tests/base/test_logging.py

babel-update-po:
venv/bin/pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot app
venv/bin/pybabel extract -F babel.cfg -k lazy_gettext -k hardcode_text -o messages.pot app
venv/bin/pybabel update -i messages.pot -d app/translations

babel-update-mo: babel-update-po
venv/bin/pybabel compile -d app/translations

babel-translate-po:
venv/bin/python app/scripts/fill_zh_translations.py
venv/bin/python app/scripts/fill_en_translations.py
venv/bin/python app/scripts/fill_en_translations.py
Loading
Loading