Repo created
This commit is contained in:
parent
324070df30
commit
2d33a757bf
644 changed files with 99721 additions and 2 deletions
17
scripts/fetch-translations.sh
Executable file
17
scripts/fetch-translations.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
export TX_TOKEN=`awk '/token *=/ { print $3; }' <$HOME/.transifexrc`
|
||||
|
||||
cd `pwd $0`/..
|
||||
|
||||
tx pull -a -f --use-git-timestamps
|
||||
if find app/src -type d -name 'values-*_*' -exec false '{}' +
|
||||
then
|
||||
echo "No values-XX_RR directory found, good"
|
||||
else
|
||||
echo "Found values-XX_RR directory, update .tx/config mappings to values-XX-rRR!"
|
||||
exit 1
|
||||
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' \
|
||||
| scripts/rewrite-translators.rb >app/src/main/assets/translators.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue