forked from mirrors/bookwyrm
Adds command to pull locale updates
This commit is contained in:
parent
2968145627
commit
77f29a621f
1 changed files with 11 additions and 0 deletions
11
bw-dev
11
bw-dev
|
@ -108,6 +108,17 @@ case "$CMD" in
|
||||||
compilemessages)
|
compilemessages)
|
||||||
runweb django-admin compilemessages --ignore venv $@
|
runweb django-admin compilemessages --ignore venv $@
|
||||||
;;
|
;;
|
||||||
|
update_locales)
|
||||||
|
git fetch origin l10n_main:l10n_main
|
||||||
|
git checkout l10n_main locale/de_DE
|
||||||
|
git checkout l10n_main locale/es_ES
|
||||||
|
git checkout l10n_main locale/fr_FR
|
||||||
|
git checkout l10n_main locale/lt_LT
|
||||||
|
git checkout l10n_main locale/pt_BR
|
||||||
|
git checkout l10n_main locale/zh_Hans
|
||||||
|
git checkout l10n_main locale/zh_Hant
|
||||||
|
runweb django-admin compilemessages --ignore venv
|
||||||
|
;;
|
||||||
build)
|
build)
|
||||||
docker-compose build
|
docker-compose build
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue