diff options
Diffstat (limited to 'resources/update-locales.sh')
-rwxr-xr-x | resources/update-locales.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/resources/update-locales.sh b/resources/update-locales.sh deleted file mode 100755 index 6fe5fe541c2..00000000000 --- a/resources/update-locales.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/env bash -URL="https://raw.githubusercontent.com/transifex/transifex/master/transifex/languages/fixtures/all_languages.json" -CMDS="curl jq" - -for i in $CMDS -do - # command -v will return >0 when the $i is not found - command -v $i >/dev/null && continue || { echo "$i command not found."; exit 1; } -done - -curl $URL | jq '[.[] | {code: .fields.code, name: .fields.name}]' > locales.json |