Merge "Fix horizon-upstream-translation-update"
This commit is contained in:
commit
6e5ef766c5
@ -26,8 +26,10 @@ fi
|
|||||||
git config user.name "OpenStack Jenkins"
|
git config user.name "OpenStack Jenkins"
|
||||||
git config user.email "jenkins@openstack.org"
|
git config user.email "jenkins@openstack.org"
|
||||||
|
|
||||||
# initialize transifex client
|
# Initialize the transifex client, if there's no .tx directory
|
||||||
tx init --host=https://www.transifex.com
|
if [ ! -d .tx ] ; then
|
||||||
|
tx init --host=https://www.transifex.com
|
||||||
|
fi
|
||||||
# Horizon JavaScript Translations
|
# Horizon JavaScript Translations
|
||||||
tx set --auto-local -r ${PROJECT}.${PROJECT}-js-translations \
|
tx set --auto-local -r ${PROJECT}.${PROJECT}-js-translations \
|
||||||
"${PROJECT}/locale/<lang>/LC_MESSAGES/djangojs.po" --source-lang en \
|
"${PROJECT}/locale/<lang>/LC_MESSAGES/djangojs.po" --source-lang en \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user