Skip to content

Commit

Permalink
zaki / crowdin_v3_update (binary-com#6230)
Browse files Browse the repository at this point in the history
* update crowdin documentation and config for v3

* doc: fixed crowdin variable name
  • Loading branch information
zaki-hanafiah authored Oct 7, 2020
1 parent 19f5c6e commit b0284c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crowdin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project_identifier: 'binary-static'
api_key_env: CROWDIN_API_KEY
project_id: '224893'
api_token_env: 'CROWDIN_API_KEY'

files:
- source: /src/translations/messages.pot
Expand Down
4 changes: 2 additions & 2 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
### Initial setup:
* Please make sure you have done `npm install`.
* Install `Homebrew` by `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
* Install and follow the instructions here: https://support.crowdin.com/cli-tool-v2/#installation
* **Important:** Please use version 2 of the crowdin cli-tool (version 3 is not supported by our translation scripts yet)
* Install and follow the instructions here: https://support.crowdin.com/cli-tool/#installation
* **Important:** Please use version 3 of the crowdin cli-tool
* Get [Crowdin API Key](https://crowdin.com/project/binary-static/settings#api) and add this line to your _.bash_profile_: `export CROWDIN_API_KEY='put API Key here'`<br/>
**IMPORTANT!** This key gives full access to all your Crowdin project data. Treat this just like a password and never push it to any public repo.

Expand Down
2 changes: 1 addition & 1 deletion scripts/update_translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! [ -x "$(command -v crowdin)" ]; then
if [ -f /usr/local/bin/crowdin-cli.jar ]; then
alias crowdin="java -jar /usr/local/bin/crowdin-cli.jar"
else
echo ${YELLOW}"crowdin-cli not found. Please follow the instructions here: https://support.crowdin.com/cli-tool-v2/#installation"${RESET}
echo ${YELLOW}"crowdin-cli not found. Please follow the instructions here: https://support.crowdin.com/cli-tool/#installation"${RESET}
exit 1
fi
fi
Expand Down

0 comments on commit b0284c6

Please sign in to comment.