Merge "devstack: compile translation message catalogs"
This commit is contained in:
commit
c4bc8bde4b
@ -8,6 +8,11 @@ function install_trove_dashboard {
|
||||
|
||||
function configure_trove_dashboard {
|
||||
cp -a ${TROVE_DASHBOARD_DIR}/trove_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/
|
||||
# NOTE: If locale directory does not exist, compilemessages will fail,
|
||||
# so check for an existence of locale directory is required.
|
||||
if [ -d trove_dashboard/locale ]; then
|
||||
(cd trove_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
|
||||
fi
|
||||
}
|
||||
|
||||
# check for service enabled
|
||||
|
Loading…
Reference in New Issue
Block a user