From a7512cec1bc9b963ef3b92176780176e1ad18bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Chevalier?= Date: Wed, 28 Jun 2023 17:50:55 +0200 Subject: [PATCH] Drop TB localization --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index 85602dd38..580da748a 100644 --- a/tasks.py +++ b/tasks.py @@ -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")