Skip to content

Commit

Permalink
Don't add location to pot
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jul 23, 2024
1 parent 5343fb0 commit b407acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poe.tasks]
run = "streamlit run app.py"
xgettext.shell = "xgettext -d messages -o package_build/locale/messages.pot app.py package_build/*.py --from-code UTF-8 --omit-header"
xgettext.shell = "xgettext -d messages -o package_build/locale/messages.pot app.py package_build/*.py --from-code UTF-8 --omit-header --no-location"
msgfmt = "find ./package_build/locale -name \\*.po -execdir msgfmt messages.po -o messages.mo \\;"

[tool.ruff]
Expand Down

0 comments on commit b407acc

Please sign in to comment.