Fix the rule pattern for Horizon

The rule pattern for finding .pot files within Horizon is far too
locked down, and will not match anything. Correct it to use paths
that will match.

Change-Id: I7ca45dec0ea4067d8d88a6ac99f11cf9da4a8b35
This commit is contained in:
Steve Kowalik 2015-09-09 13:07:31 +10:00
parent 15eb32f30a
commit b8d6965fc5

@ -84,9 +84,9 @@ function setup_horizon {
-t PO --execute
/usr/local/jenkins/slave_scripts/create-zanata-xml.py -p $project \
-v master --srcdir . --txdir . -r 'horizon/*.pot' \
-v master --srcdir . --txdir . -r './horizon/locale/*.pot' \
'horizon/locale/{locale_with_underscore}/LC_MESSAGES/{filename}.po' \
-r 'openstack_dashboard/*.pot' \
-r './openstack_dashboard/locale/*.pot' \
'openstack_dashboard/locale/{locale_with_underscore}/LC_MESSAGES/{filename}.po' \
-e '.*/**' -f zanata.xml
}