From ab3119031b28849fef979736838baaf3eea67a7f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 6 Oct 2021 16:22:30 -0700 Subject: [PATCH] Adds new locale command in bw-dev --- bw-dev | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bw-dev b/bw-dev index f103de205..c9c2115ce 100755 --- a/bw-dev +++ b/bw-dev @@ -105,6 +105,9 @@ case "$CMD" in collectstatic) runweb python manage.py collectstatic --no-input ;; + add_locale) + runweb django-admin makemessages --no-wrap --ignore=venv -l $@ + ;; makemessages) runweb django-admin makemessages --no-wrap --ignore=venv --all $@ ;; @@ -167,7 +170,8 @@ case "$CMD" in echo " test [path]" echo " pytest [path]" echo " collectstatic" - echo " makemessages [locale]" + echo " add_locale [locale]" + echo " makemessages" echo " compilemessages [locale]" echo " build" echo " clean"