mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 04:51:11 +00:00
Adds new locale command in bw-dev
This commit is contained in:
parent
f5b0a6ad2d
commit
ab3119031b
1 changed files with 5 additions and 1 deletions
6
bw-dev
6
bw-dev
|
@ -105,6 +105,9 @@ case "$CMD" in
|
||||||
collectstatic)
|
collectstatic)
|
||||||
runweb python manage.py collectstatic --no-input
|
runweb python manage.py collectstatic --no-input
|
||||||
;;
|
;;
|
||||||
|
add_locale)
|
||||||
|
runweb django-admin makemessages --no-wrap --ignore=venv -l $@
|
||||||
|
;;
|
||||||
makemessages)
|
makemessages)
|
||||||
runweb django-admin makemessages --no-wrap --ignore=venv --all $@
|
runweb django-admin makemessages --no-wrap --ignore=venv --all $@
|
||||||
;;
|
;;
|
||||||
|
@ -167,7 +170,8 @@ case "$CMD" in
|
||||||
echo " test [path]"
|
echo " test [path]"
|
||||||
echo " pytest [path]"
|
echo " pytest [path]"
|
||||||
echo " collectstatic"
|
echo " collectstatic"
|
||||||
echo " makemessages [locale]"
|
echo " add_locale [locale]"
|
||||||
|
echo " makemessages"
|
||||||
echo " compilemessages [locale]"
|
echo " compilemessages [locale]"
|
||||||
echo " build"
|
echo " build"
|
||||||
echo " clean"
|
echo " clean"
|
||||||
|
|
Loading…
Reference in a new issue