mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-28 00:17:06 +01:00
11 lines
284 B
Bash
11 lines
284 B
Bash
|
# Delete old translation sources
|
||
|
find ../wagtail -iname *.po -iwholename */en/* -delete
|
||
|
|
||
|
# Run makemessages on each app
|
||
|
for d in $(find ../wagtail -iwholename */locale/* | sed 's|\(.*\)/locale.*|\1|' | sort -u);
|
||
|
do
|
||
|
pushd $d
|
||
|
django-admin makemessages --locale=en
|
||
|
popd
|
||
|
done
|