Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Drop TB localization (#1758)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoChevalier authored Jul 25, 2023
1 parent 365735d commit 012040e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ def npm_install(ctx):
def makemessages(ctx):
"""Extract all template messages in .po files for localization"""
ctx.run("./translation-management.sh import")
manage(ctx, "makemessages --all --keep-pot --no-wrap --ignore=dockerpythonvenv/*")
manage(ctx, "makemessages -d djangojs --all --keep-pot --no-wrap --ignore=node_modules --ignore=dockerpythonvenv/*") # noqa
manage(ctx, "makemessages --all --keep-pot --no-wrap --ignore=dockerpythonvenv/* --ignore=donate/thunderbird/*")
manage(ctx, "makemessages -d djangojs --all --keep-pot --no-wrap --ignore=node_modules --ignore=dockerpythonvenv/* --ignore=donate/thunderbird/*") # noqa
os.replace("donate/locale/django.pot", "donate/locale/templates/LC_MESSAGES/django.pot")
os.replace("donate/locale/djangojs.pot", "donate/locale/templates/LC_MESSAGES/djangojs.pot")
ctx.run("./translation-management.sh export")
Expand Down

0 comments on commit 012040e

Please sign in to comment.