We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f229226 commit 3901e6eCopy full SHA for 3901e6e
scripts/fetch-translations.sh
@@ -2,8 +2,10 @@
2
3
export TX_TOKEN=`awk '/token *=/ { print $3; }' <$HOME/.transifexrc`
4
5
-(cd .. && tx pull -a -f --use-git-timestamps)
6
-if find ../app/src -type d -name 'values-*_*' -exec false '{}' +
+cd `pwd $0`/..
+
7
+tx pull -a -f --use-git-timestamps
8
+if find app/src -type d -name 'values-*_*' -exec false '{}' +
9
then
10
echo "No values-XX_RR directory found, good"
11
else
@@ -12,4 +14,4 @@ else
12
14
fi
13
15
16
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
17
+ | scripts/rewrite-translators.rb >app/src/main/assets/translators.json
0 commit comments