mirror of
https://github.com/bitfireAT/davx5-ose.git
synced 2025-12-23 23:17:50 -05:00
Update translation fetching script to use relative paths
This commit is contained in:
@@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
export TX_TOKEN=`awk '/token *=/ { print $3; }' <$HOME/.transifexrc`
|
export TX_TOKEN=`awk '/token *=/ { print $3; }' <$HOME/.transifexrc`
|
||||||
|
|
||||||
(cd .. && tx pull -a -f --use-git-timestamps)
|
cd `pwd $0`/..
|
||||||
if find ../app/src -type d -name 'values-*_*' -exec false '{}' +
|
|
||||||
|
tx pull -a -f --use-git-timestamps
|
||||||
|
if find app/src -type d -name 'values-*_*' -exec false '{}' +
|
||||||
then
|
then
|
||||||
echo "No values-XX_RR directory found, good"
|
echo "No values-XX_RR directory found, good"
|
||||||
else
|
else
|
||||||
@@ -12,4 +14,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
curl -H "Authorization: Bearer $TX_TOKEN" 'https://rest.api.transifex.com/team_memberships?filter\[organization\]=o:bitfireAT&filter\[team\]=o:bitfireAT:t:davx5-team' \
|
curl -H "Authorization: Bearer $TX_TOKEN" 'https://rest.api.transifex.com/team_memberships?filter\[organization\]=o:bitfireAT&filter\[team\]=o:bitfireAT:t:davx5-team' \
|
||||||
| ./rewrite-translators.rb >../app/src/main/assets/translators.json
|
| scripts/rewrite-translators.rb >app/src/main/assets/translators.json
|
||||||
|
|||||||
Reference in New Issue
Block a user